Page 1 of 1

Error message after Update to version 12.7.2 on Win10

Posted: Thu Apr 29, 2021 11:13 am
by dhananjay
Got the following message at the top of the TimeTrex screen AFTER updating to version 12.7.2 on Win10 AND after being able to login
WARNING: Hostname specified in TimeTrex config file does not match the accessed URL. Please contact your TimeTrex administrator immediately.
during the installation I got no error messages. I've attached the most recent .log file from C:\TimeTrex\log

Re: Error message after Update to version 12.7.2 on Win10

Posted: Thu Apr 29, 2021 11:54 am
by shaunw
In your timetrex.ini.php file, there is a "hostname" setting that must match the hostname in URL that you use to access TimeTrex.

For example if you access TimeTrex in your browser with:

Code: Select all

http://mycompany.com:8085/timetrex/interface
The hostname setting should be:

Code: Select all

hostname = mycompany.com
Once those two match, that warning message will go away.

Re: Error message after Update to version 12.7.2 on Win10

Posted: Thu Apr 29, 2021 5:29 pm
by dhananjay
I usually access with the URL https://localhost:8085

can I continue to use the installation as is without making that change? Is it more of just a warning then?

Re: Error message after Update to version 12.7.2 on Win10

Posted: Fri Apr 30, 2021 7:50 am
by shaunw
In that case you should use this setting:

Code: Select all

hostname = localhost
You can continue to run TimeTrex without that setting, but some functions won't work.