Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing hostname in validation email #72

Open
inblackhole opened this issue Dec 26, 2011 · 3 comments
Open

Missing hostname in validation email #72

inblackhole opened this issue Dec 26, 2011 · 3 comments

Comments

@inblackhole
Copy link
Contributor

This is part of validation email

Click the following link in order to activate your account:
activate.php?code=StH1kgcUe3

Greetings,
TravianX

the hostname in activation link is missing.

See https://github.com/lini/Travianx/commit/356e069f5091fd1b0f94e9ac38459a6d7c574d1f#diff-12
in line 30
the domain input field is removed,
but the value is used by Mailer.php line 30

I am not sure the way to fix, add the domain back or fix Mailer.php ?

@bp220269
Copy link

hello

I have the follow line adapted in GameEngine/config.php
Server must be the same as Homepage

and than it works fine

////////////////////////////////////////////
// **** DOMAIN/SERVER SETTINGS **** //
////////////////////////////////////////////
define("DOMAIN", "");
define("HOMEPAGE", "http://??????/travx100/");
define("SERVER", "http://???????/travx100/");

@inblackhole
Copy link
Contributor Author

Yes, install script should be fixed.

@bp220269
Copy link

change line 239 define ("SERVER", "% DOMAIN%"); in define ("SERVER", "% HOMEPAGE%");
of install/data/constant_format.tpl

and it has fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants