• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

AAC Gesior Sendmail Problem

potinho

Active Member
Joined
Oct 11, 2009
Messages
399
Solutions
11
Reaction score
37
Location
Brazil
Hello guys, i have a Gesior running in my server, but when player select "Lost Account", website got error to send e-mail:

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Boundary has a deprecated constructor in C:\xampp\htdocs\classes\phpmailer.php on line 1525

Deprecated
: Methods with the same name as their class will not be constructors in a future version of PHP; SMTP has a deprecated constructor in C:\xampp\htdocs\classes\smtp.php on line 29

Here's my configs:


config.php
PHP:
<?PHP
$config['site']['show_health_information'] = 1; //Show health bar
$config['site']['show_mana_information'] = 1; //Show mana bar
$config['site']['show_exp_information'] = 1; //Show exp bar
$config['site']['number_of_advances'] = 5; // number of latest skill advances to show on character page

# Account Maker Config
$config['site']['serverPath'] = "hidden_path";
$config['site']['useServerConfigCache'] = false;
$towns_list = array(1 => 'Thais', 2 => 'Venore', 5 => 'Carlin');

$config['site']['outfit_images_url'] = 'http://outfit-images.ots.me/outfit.php';
$config['site']['item_images_url'] = '/images/items/';
$config['site']['item_images_extension'] = '.gif';
$config['site']['flag_images_url'] = 'http://flag-images.ots.me/';
$config['site']['flag_images_extension'] = '.png';
$config['site']['encryptionType'] = 'sha1';

# Create Account Options
$config['site']['one_email'] = false;
$config['site']['create_account_verify_mail'] = false;
$config['site']['verify_code'] = true;
$config['site']['email_days_to_change'] = 3;
$config['site']['newaccount_premdays'] = 10;
$config['site']['send_register_email'] = false;

# Create Character Options
$config['site']['newchar_vocations'] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
$config['site']['newchar_towns'] = array(11);
$config['site']['max_players_per_account'] = 7;


# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "hidden_gmail"; //Seu e-mail
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "smtp.gmail.com"; //Dominio da gmail
$config['site']['smtp_port'] = 587;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "hidden_gmail"; //Seu e-mail
$config['site']['smtp_pass'] = "hidden_password"; //Senha do seu e-mail

# PAGE: whoisonline.php
$config['site']['private-servlist.com_server_id'] = 1;
/*
Server id on 'private-servlist.com' to show Players Online Chart (whoisonline.php page), set 0 to disable Chart feature.
To use this feature you must register on 'private-servlist.com' and add your server.
Format: number, 0 [disable] or higher
*/

# PAGE: characters.php
$config['site']['quests'] = array();
$config['site']['show_skills_info'] = true;
$config['site']['show_vip_storage'] = 0;

# PAGE: accountmanagement.php
$config['site']['send_mail_when_change_password'] = true;
$config['site']['send_mail_when_generate_reckey'] = true;
$config['site']['generate_new_reckey'] = false;
$config['site']['generate_new_reckey_price'] = 500;

# PAGE: guilds.php
$config['site']['guild_need_level'] = 15;
$config['site']['guild_need_pacc'] = false;
$config['site']['guild_image_size_kb'] = 50;
$config['site']['guild_description_chars_limit'] = 2000;
$config['site']['guild_description_lines_limit'] = 6;
$config['site']['guild_motd_chars_limit'] = 250;

# PAGE: adminpanel.php
$config['site']['access_admin_panel'] = 3;
$config['site']['access_news'] = 3; // access level needed to edit news

# PAGE: latestnews.php
$config['site']['news_limit'] = 6;

# PAGE: killstatistics.php
$config['site']['last_deaths_limit'] = 40;

# PAGE: team.php
$config['site']['groups_support'] = array(2, 3, 4, 5, 6);

# PAGE: highscores.php
$config['site']['groups_hidden'] = array(4, 5, 6);
$config['site']['accounts_hidden'] = array(1);

# PAGE: shopsystem.php
$config['site']['shop_system'] = true;

# PAGE: lostaccount.php
$config['site']['email_lai_sec_interval'] = 180;

# Layout Config
$config['site']['layout'] = 'tibiacom';
$config['site']['vdarkborder'] = '#505050';
$config['site']['darkborder'] = '#D4C0A1';
$config['site']['lightborder'] = '#F1E0C6';
$config['site']['download_page'] = true;
$config['site']['serverinfo_page'] = true;
Post automatically merged:

Due size file, i'm attaching phpmailer and SMTP
 

Attachments

Solution
C:\xampp\htdocs\classes\phpmailer.php on line 1525
C:\xampp\htdocs\classes\smtp.php
on line 29

Try this:

Snavy

Bakasta
Senator
Joined
Apr 1, 2012
Messages
1,244
Solutions
71
Reaction score
555
Location
Hell
C:\xampp\htdocs\classes\phpmailer.php on line 1525
C:\xampp\htdocs\classes\smtp.php
on line 29

Try this:
 
Solution
Top