Warning: base_url in timetrex.ini.php is incorrect

Ask your questions regarding TimeTrex installation here.
Locked
midcore
Posts: 5
Joined: Sun Mar 30, 2014 11:00 pm

Warning: base_url in timetrex.ini.php is incorrect

Post by midcore »

I have been working on this issue for a few days. No matter what I change the entry to I still can't proceed past the first page of the install. I have gone through all the posts I could find and can't seem to resolve this issue.

Warning: base_url in timetrex.ini.php is incorrect, perhaps it should be "/timetrex/interface/" instead.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Warning: base_url in timetrex.ini.php is incorrect

Post by shaunw »

Can you post a full uncropped screenshot showing the exact error message?
midcore
Posts: 5
Joined: Sun Mar 30, 2014 11:00 pm

Re: Warning: base_url in timetrex.ini.php is incorrect

Post by midcore »

Here's a screenshot of the installer page as well as a screenshot of the timetrex.ini.php file.

Thanks
Attachments
timetrex_ini.jpg
screenshot.jpg
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Warning: base_url in timetrex.ini.php is incorrect

Post by shaunw »

For some reason TimeTrex isn't able to connect to itself using the full URL, which you've blocked out so I can't actually tell for sure what it is.

If you enable debugging as described on step #5 (near the bottom) of the following post, then attach the log file here that may help.
http://forums.timetrex.com/viewtopic.php?f=6&t=89
midcore
Posts: 5
Joined: Sun Mar 30, 2014 11:00 pm

Re: Warning: base_url in timetrex.ini.php is incorrect

Post by midcore »

I apologize, I'm not quite sure why i blocked it out. The URL is timecard.midcoreoffice.com/timetrex. Attached is the logfile.

Thanks
Bernard Haines
Attachments
timetrex.log
(24.5 KiB) Downloaded 341 times
midcore
Posts: 5
Joined: Sun Mar 30, 2014 11:00 pm

Re: Warning: base_url in timetrex.ini.php is incorrect

Post by midcore »

Ok, so after digging through the logs myself, I figured out what was causing the issue. Hopefully this may help someone in the future. in the timetrex.ini.php file, I had to scroll down to [other] and change the hostname from localhost to my domain and it now seems to be working fine.

Thank you for the time you took to help with this issue.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Warning: base_url in timetrex.ini.php is incorrect

Post by shaunw »

It would appear that TimeTrex isn't able to determine your hostname, so you will need to define it manually in your timetrex.ini.php in the [other] section using a line like this:

Code: Select all

hostname = "timecard.midcoreoffice.com"
Once that is done it the system requirements check should succeed.
midcore
Posts: 5
Joined: Sun Mar 30, 2014 11:00 pm

Re: Warning: base_url in timetrex.ini.php is incorrect

Post by midcore »

Actually I may have spoke to soon...I can now get through the install, however when I get to initializing the database I get Internal Server Error where the progress bar should be located. Attached is a new log file
Attachments
timetrex2.log
(86.6 KiB) Downloaded 324 times
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Warning: base_url in timetrex.ini.php is incorrect

Post by shaunw »

I don't see any error in that log file, although it appears not all of the log is there as it ends before its finished. You may want to check your PHP, Apache and/or your MySQL error logs for more information.
Locked