• 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!

Windows Config.php (lost account help)

Wartio

Any game ideas?
Joined
Apr 2, 2010
Messages
457
Reaction score
29
Location
Sweden
I seen some forums they saying about changing port/mail on config.php for make "Lost Account" in website to work
but i didnt understand anything what they meant so i wonder if anybody could explain for me?

Code:
// E-MAIL config
$config['site']['send_emails'] = 0; // is acc. maker configured to send e-mails?
$config['site']['mail_address'] = "[email protected]"; // e-mail address
$config['site']['smtp_enabled'] = "yes"; // send by smtp or mail function (set 0 if use mail function)
$config['site']['smtp_host'] = "smtp.gmail.com"; // address
$config['site']['smtp_port'] = 465; // port
$config['site']['smtp_auth'] = "yes"; // need authorization? (set 0 if not need auth)
$config['site']['smtp_user'] = "login"; // login
$config['site']['smtp_pass'] = "password"; // password

This is my config, i tryed to use my own "gmail account" and it worked but when i use "Lost Account" in website this comes up

PHP:
An error occorred while sending email! Try again or contact with admin.

so i wonder if anybody could explain what i should "Fill" in config.php to make the Lost Account work..

Sorry for my bad english!
 
Nop, where do i open it?, should i only open it like i did with 80 port etc.. ? and shouldn't i edit anything of that config.php i sended?, would be great if you could explain a bit more ;)
 
NOTE that must be a gmail account. Do you have it configurated this way?

LUA:
$config['site']['send_emails'] = 1; // is acc. maker configured to send e-mails?
$config['site']['mail_address'] = "[email protected]"; // e-mail address
$config['site']['smtp_enabled'] = "yes"; // send by smtp or mail function (set 0 if use mail function)
$config['site']['smtp_host'] = "ssl://smtp.gmail.com"; // address
$config['site']['smtp_port'] = 465; // port
$config['site']['smtp_auth'] = "true"; // need authorization? (set 0 if not need auth)
$config['site']['smtp_user'] = "[email protected]"; // login
$config['site']['smtp_pass'] = "gmail password here"; // password
 
Its fixed like u said now ;), but when i click on link "Change password" then it doesnt come up anything
its just a white page "unnamed" and no link

shall i maybe active any port like raggaer said?

cuz this mail came to me

Your account name and password!
You or someone else requested new password for your account on server Tibia with this e-mail.

Account name: (secret)

Password: You will set new password when you press on link.


Press on link to set new password. This link will work until next >new password request< in Lost Account Interface.

/?subtopic=lostaccount&action=checkcode&code=(secret)

or open page: /?subtopic=lostaccount&action=checkcode and in field "code" write (secret)


If you don't want to change password to your account just delete this e-mail.

It's automatic e-mail from OTS Lost Account System. Do not reply!

And to make it work i must "manually" write Tibia.hopto.org then i must paste the (link) that i got
 
Open index.php and just below <?PHP put this:

PHP:
error_reporting( E_ALL ); 
ini_set( 'display_errors', 1 );

Then look again, so you can see what's provocating the error.
 
Notice: Undefined index: sqliteDatabase in C:\xampp\htdocs\config-and-functions.php on line 30

Notice: Undefined variable: file_data in C:\xampp\htdocs\config-and-functions.php on line 456

Notice: Undefined index: account_login in C:\xampp\htdocs\index.php on line 37

Notice: Undefined index: password_login in C:\xampp\htdocs\index.php on line 38

Notice: Undefined variable: main_content in C:\xampp\htdocs\lostaccount.php on line 65

and this comes up too..
Notice: Undefined variable: news_content in C:\xampp\htdocs\layouts\tibiacom\layout.php on line 559
Notice: Undefined variable: p in C:\xampp\htdocs\layouts\tibiacom\layout.php on line 629

- - - Updated - - -

bump
 
Back
Top