In the confirmation emails that are sent out to new users, the location of the web server is at "localhost", i.e. http://localhost:8080/mantis/verify.php ... 3ghfjh3454
I thought to solve this I had to change the host name ( $g_hostname ) in the config file from "localhost" to the IP, however, doing that creates a #400 error -
Database connection failed. Error received from database was #1130: Host 'pc-name' is not allowed to connect to this MySQL server.
I'm stuck. Do I amend a different file in order to have the IP in the link sent out in confirmation emails?
Thanks,
Seb
Web server location
Moderators: Developer, Contributor
Web server location
Last edited by Seb on 20 Apr 2005, 11:26, edited 1 time in total.
You probably need to change the setting of the $g_path configuration variable. Typically this is automatically set in config_defaults_inc.php. However, if it is not set correctly, then you need to override it in config_inc.php.
The $g_path should be set to something like 'http://www.example.com/mantis/'.
Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect
The $g_path should be set to something like 'http://www.example.com/mantis/'.
Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect