This is not the first time I see this. You login to timetrex (how does it login if the database is down!?) then whatever you click you get a "DBError." Still not sure what the cause is, but here's how I reproduced it:
1) Turn on server, run a report, shut down.
2) Turn on server a few weeks later: DBError shown
3) Turn on all the debugs but really there is no database error, actually no error or indication of the problem.
4) Run this a few times and it suddenly no longer has any database error:
# cd /var/www/html/TimeTrex/maint
# for file in *php; do php $file; done
# for file in *php; do php $file; done
# for file in *php; do php $file; done
Can anyone explain why this is and why TimeTrex can not display the proper error?
Invalid DBError
Re: Invalid DBError
For starters you should never turn off the server TimeTrex is running on for any prolonged period, as it is unable to perform its regular maintenance and problems will start to arise.
Have you tried just waiting 10-15 minutes to see if it eventually starts working? Perhaps its taking a while for your database to start.
Have you tried just waiting 10-15 minutes to see if it eventually starts working? Perhaps its taking a while for your database to start.