When adding Title get undergoing maintenance page

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Locked
lstoumbos
Posts: 80
Joined: Wed Jan 10, 2007 7:41 am

When adding Title get undergoing maintenance page

Post by lstoumbos »

Here is the log. I added a couple of debug lines.

---------------[ Tue, 16 Jan 2007 10:36:15 -0500 (PID: 2740) ]---------------
DEBUG [135]: <b>[Function]()</b>: URI: /interface/users/EditUserTitle.php<br>
DEBUG [137]: <b>[Function]()</b>: Production: 1<br>
DEBUG [92]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: PST8PDT<br>
DEBUG [444]: <b>Authentication::Check()</b>: Session Name: SessionID<br>
DEBUG [450]: <b>Authentication::Check()</b>: Session ID: 64a2c1ad5fb9b603d2ad1d0ae6580158<br>
DEBUG [301]: <b>Validator::stripNonAlphaNumeric()</b>: Alpha Numeric String:64a2c1ad5fb9b603d2ad1d0ae6580158<br>
DEBUG [78]: <b>Authentication::getIdle()</b>: Idle Seconds Allowed: 14400<br>
DEBUG [301]: <b>Validator::stripNonAlphaNumeric()</b>: Alpha Numeric String:64a2c1ad5fb9b603d2ad1d0ae6580158<br>
DEBUG [62]: <b>[Function]()</b>: User Authenticated: admin<br>
DEBUG [1696]: <b>UserFactory::isInformationComplete()</b>: User Information is Complete: <br>
DEBUG [92]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: America/Detroit<br>
DEBUG [108]: <b>TTDate::setDateFormat()</b>: Setting Default Date Format: d-M-y<br>
DEBUG [122]: <b>TTDate::setTimeFormat()</b>: Setting Default Time Format: g:i A<br>
DEBUG [136]: <b>TTDate::setTimeUnitFormat()</b>: Setting Default Time Unit Format: 10<br>
DEBUG [1696]: <b>UserFactory::isInformationComplete()</b>: User Information is Complete: <br>
DEBUG [954]: <b>UserPreferenceFactory::isPreferencesComplete()</b>: User Preferences IS Complete: <br>
DEBUG [105]: <b>[Function]()</b>: Station ID Cookie found! 7dcbc658f447ad65f01fa0d8b9fceafe<br>
DEBUG [196]: <b>[Function]()</b>: UnRead Messages: 0<br>
DEBUG [56]: <b>[Function]()</b>: Submit!<br>
DEBUG [144]: <b>Validator::isLength()</b>: Value: CEO Length: 3 Min: 2 Max: 100<br>
DEBUG [70] Array: <b>UserTitleFactory::isUniqueName()</b>: Unique Name: CEO
<pre>
bool(false)
</pre><br>
DEBUG [720]: <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [256]: <b>Validator::isDate()</b>: Raw Date: 1168961775 Converted Value: 1168961775<br>
DEBUG [256]: <b>Validator::isDate()</b>: Raw Date: 1168961775 Converted Value: 1168961775<br>
DEBUG [796]: <b>Factory::Save()</b>: Insert ID: 0<br>
DEBUG [702]: <b>Factory::getInsertQuery()</b>: Insert<br>
DEBUG [256]: <b>Validator::isDate()</b>: Raw Date: 1168961775 Converted Value: 1168961775<br>
---------------[ Tue, 16 Jan 2007 10:36:15 -0500 (PID: 2740) ]---------------
---------------[ Tue, 16 Jan 2007 07:36:15 -0800 (PID: 6463) ]---------------
DEBUG [135]: <b>[Function]()</b>: URI: /interface/DownForMaintenance.php<br>
DEBUG [137]: <b>[Function]()</b>: Production: 1<br>
DEBUG [92]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: PST8PDT<br>
DEBUG [49]: <b>[Function]()</b>: Bypassing Authentication<br>
---------------[ Tue, 16 Jan 2007 07:36:15 -0800 (PID: 6463) ]---------------
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

lstoumbos
Posts: 80
Joined: Wed Jan 10, 2007 7:41 am

Post by lstoumbos »

Using version 1.4.1

Heres what happened. Somehow the original Company was added and so was a second during installation. It appears that somehow this cause a conflict. When I was entering information on the installation page after the company information page I hit enter and it went back to the company information page and re-entered all the information again.

Everything else worked fine from what I could see.

I reloaded the database since I didn't have anything in there really.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

So the problem started occurring before you reloaded the database or after? Is it still happening?
lstoumbos
Posts: 80
Joined: Wed Jan 10, 2007 7:41 am

Post by lstoumbos »

Surprise I reloaded the entire program and it still does the same thing. Also the Exception Policies won't allow me to add any policies as well. I get the Undergoing Maintenance screen again for both.
lstoumbos
Posts: 80
Joined: Wed Jan 10, 2007 7:41 am

Post by lstoumbos »

Some more information

/tmp/timetrex//d5/adodb_d5202780248ecb41b40292034aeb1501.cache cache failure: /tmp/timetrex//d5/adodb_d5202780248ecb41b40292034aeb1501.cache file/URL not found (see sql below)

--------------------------------------------------------------------------------
(mysqlt): select id,company_id,name,created_date,created_by,updated_date,updated_by from exception_policy_control where id = -1
--------------------------------------------------------------------------------
FailTrans was called

ADOConnection.FailTrans() % line 32, file: Exception.class.php
DBError.__construct(Object:ADODB_Exception) % line 626, file: Factory.class.php
Factory.getEmptyRecordSet() % line 707, file: Factory.class.php
Factory.getInsertQuery() % line 801, file: Factory.class.php
Factory.Save() % line 79, file: EditExceptionPolicyControl.php
lstoumbos
Posts: 80
Joined: Wed Jan 10, 2007 7:41 am

Post by lstoumbos »

I fiexed it. I seen that it was missing some cache files so I logged out and then ran the command "rm -f -R /tmp/timetrex/*" and that fixed it.

Thank you for the reply
Locked