geting a network timeout with 5.1 on new install of timetrex

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Locked
yuu
Posts: 2
Joined: Sat Sep 29, 2012 11:18 pm

geting a network timeout with 5.1 on new install of timetrex

Post by yuu »

Everytime that I go to company, company settings i get processing, downloading, then it hangs and goes to network timeout. It has never done this before with v.5.0.8. I had to uninstall and rerun from scratch as the update corrupted files. Everything else seems to be working fine except accessing the company settings. What can I do to repair this and fix this issue? Thank you
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: geting a network timeout with 5.1 on new install of time

Post by shaunw »

I'm not seeing this issue on our test systems here. Can you please enable debugging (verbosity level of 10) in TimeTrex as described in the link below and email a copy of the log file to support@timetrex.com referencing this topic:

http://forums.timetrex.com/viewtopic.php?f=6&t=89
macbeth
Posts: 198
Joined: Wed Feb 25, 2009 1:06 pm

Re: geting a network timeout with 5.1 on new install of time

Post by macbeth »

I'm having this problem too, works fine with the old interface, but not since upgrading to 5.1 with the new interface. My issue is with trying to open reports, though, thanks
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: geting a network timeout with 5.1 on new install of time

Post by shaunw »

Please enable logging as described in the above post so we can get more information to go on.
mbernardo
Posts: 17
Joined: Wed Nov 14, 2012 6:40 pm
Location: Oshawa, ON
Contact:

Re: geting a network timeout with 5.1 on new install of time

Post by mbernardo »

Sorry about my last post. I did not enable debugging. Now I have more useful information in the log file. See below:

Code: Select all

DEBUG [L0438] [37ms]:   <b>TTi18n::chooseBestLocale()</b>: Choosing Best Locale...<br>
DEBUG [L0513] [37ms]:   <b>TTi18n::chooseBestLocale()</b>: Unable to find and set a locale.<br>
DEBUG [L0353] [45ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: AddPayPeriod Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [46ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 12:00 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [46ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [47ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: AddUserDate Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [47ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 12:15 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [47ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [48ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: calcExceptions Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [48ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 12:30 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [48ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [49ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: AddRecurringPayStubAmendment Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [49ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 12:45 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [49ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [49ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: AddRecurringHoliday Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [50ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 12:55 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [50ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [50ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: UserCount Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [51ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 1:15 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [51ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [52ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: AddRecurringScheduleShift Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [52ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 14-Nov-12 8:50 PM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [52ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [53ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: CheckForUpdate Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [53ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 2:29 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [53ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [53ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: AddAccrualPolicyTime Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [53ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 1:30 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [54ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [54ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: UpdateCurrencyRates Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [54ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 1:45 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [54ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [55ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: TimeClockSync Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:48 PM EST<br>
DEBUG [L0238] [55ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 14-Nov-12 8:48 PM EST Based on Current Epoch: 14-Nov-12 8:48 PM EST<br>
DEBUG [L0260] [55ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is SCHEDULED TO RUN NOW!<br>
DEBUG [L1355] [55ms]:   <b>Misc::getSystemLoad()</b>:  Load Average: 0.07<br>
DEBUG [L1373] [55ms]:   <b>Misc::isSystemLoadValid()</b>:  Load average within valid limits: Current: 0.07 Max: 9999<br>
DEBUG [L0391] [56ms]:   <b>CronJobFactory::Execute()</b>: Job is NOT currently running, running now...<br>
DEBUG [L1381] [56ms]:   <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [L1436] [56ms]:   <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [L1485] [56ms]:   <b>Factory::Save()</b>:  Updating...<br>
DEBUG [L1352] [59ms]:   <b>Factory::getUpdateQuery()</b>: Data changed, set updated date: <br>
DEBUG [L1522] [60ms]:   <b>Factory::Save()</b>: Calling postSave()<br>
DEBUG [L0147] [60ms]:   <b>Factory::removeCache()</b>: Attempting to remove cache: 11<br>
DEBUG [L0153] [60ms]:   <b>Factory::removeCache()</b>: Removing cache: 11 Group Id: cron<br>
DEBUG [L1391] [60ms]:   <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [L0412] [139ms]:  <b>CronJobFactory::Execute()</b>: WARNING: File does not exist, skipping: /var/www/clients/client1/web19/web/maint/TimeClockSync.php<br>
DEBUG [L1381] [139ms]:  <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [L1436] [139ms]:  <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [L1485] [139ms]:  <b>Factory::Save()</b>:  Updating...<br>
DEBUG [L1352] [140ms]:  <b>Factory::getUpdateQuery()</b>: Data changed, set updated date: <br>
DEBUG [L1522] [140ms]:  <b>Factory::Save()</b>: Calling postSave()<br>
DEBUG [L0147] [140ms]:  <b>Factory::removeCache()</b>: Attempting to remove cache: 11<br>
DEBUG [L0153] [140ms]:  <b>Factory::removeCache()</b>: Removing cache: 11 Group Id: cron<br>
DEBUG [L1391] [140ms]:  <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [L0353] [181ms]:  <b>CronJobFactory::isScheduledToRun()</b>:  Name: MiscDaily Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [182ms]:  <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 1:55 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [182ms]:  <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [182ms]:  <b>CronJobFactory::isScheduledToRun()</b>:  Name: MiscWeekly Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [185ms]:  <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 18-Nov-12 1:55 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [185ms]:  <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [186ms]:  <b>CronJobFactory::isScheduledToRun()</b>:  Name: calcQuickExceptions Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:38 PM EST<br>
DEBUG [L0238] [186ms]:  <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 14-Nov-12 8:52 PM EST Based on Current Epoch: 14-Nov-12 8:38 PM EST<br>
DEBUG [L0264] [186ms]:  <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [186ms]:  <b>CronJobFactory::isScheduledToRun()</b>:  Name: GeoCode Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [187ms]:  <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 2:15 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [187ms]:  <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [188ms]:  <b>CronJobFactory::isScheduledToRun()</b>:  Name: ScheduledReport Current Epoch: 14-Nov-12 8:48 PM EST Last Run Date: 14-Nov-12 8:46 PM EST<br>
DEBUG [L0238] [188ms]:  <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 14-Nov-12 9:00 PM EST Based on Current Epoch: 14-Nov-12 8:46 PM EST<br>
DEBUG [L0264] [188ms]:  <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0076] [188ms]:  <b>[Function]()</b>: CRON: Jobs Executed: 1 of 16<br>
---------------[ 14-Nov-2012 20:48:01 -0500 (PID: 16324) ]---------------

---------------[ 14-Nov-2012 20:49:01 -0500 (PID: 16406) ]---------------
DEBUG [L0390] [4ms]:    <b>[Function]()</b>: Version: 5.1.0 Edition: 10 Production: 1 Demo Mode: 0<br>
DEBUG [L0167] [32ms]:   <b>TTDate::setTimeZone()</b>: Setting TimeZone: America/New_York<br>
DEBUG [L0542] [34ms]:   <b>Install::checkPHPVersion()</b>: Comparing with Version: 5.3.10-1ubuntu3.4<br>
DEBUG [L0542] [36ms]:   <b>Install::checkPHPVersion()</b>: Comparing with Version: 5.3.10-1ubuntu3.4<br>
DEBUG [L0438] [38ms]:   <b>TTi18n::chooseBestLocale()</b>: Choosing Best Locale...<br>
DEBUG [L0513] [38ms]:   <b>TTi18n::chooseBestLocale()</b>: Unable to find and set a locale.<br>
DEBUG [L0353] [46ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: AddPayPeriod Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [47ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 12:00 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [47ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [47ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: AddUserDate Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [48ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 12:15 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [48ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [48ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: calcExceptions Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [49ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 12:30 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [49ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [49ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: AddRecurringPayStubAmendment Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [50ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 12:45 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [50ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [50ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: AddRecurringHoliday Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [51ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 12:55 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [51ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [51ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: UserCount Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [52ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 1:15 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [52ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [52ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: AddRecurringScheduleShift Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [53ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 14-Nov-12 8:50 PM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [53ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [53ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: CheckForUpdate Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [53ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 2:29 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [53ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [54ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: AddAccrualPolicyTime Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [54ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 1:30 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [54ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [54ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: UpdateCurrencyRates Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [55ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 1:45 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [55ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [55ms]:   <b>CronJobFactory::isScheduledToRun()</b>:  Name: TimeClockSync Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:49 PM EST<br>
DEBUG [L0238] [56ms]:   <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 14-Nov-12 8:49 PM EST Based on Current Epoch: 14-Nov-12 8:49 PM EST<br>
DEBUG [L0260] [56ms]:   <b>Cron::isScheduledToRun()</b>:   JOB is SCHEDULED TO RUN NOW!<br>
DEBUG [L1355] [56ms]:   <b>Misc::getSystemLoad()</b>:  Load Average: 0.06<br>
DEBUG [L1373] [56ms]:   <b>Misc::isSystemLoadValid()</b>:  Load average within valid limits: Current: 0.06 Max: 9999<br>
DEBUG [L0391] [56ms]:   <b>CronJobFactory::Execute()</b>: Job is NOT currently running, running now...<br>
DEBUG [L1381] [56ms]:   <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [L1436] [57ms]:   <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [L1485] [57ms]:   <b>Factory::Save()</b>:  Updating...<br>
DEBUG [L1352] [60ms]:   <b>Factory::getUpdateQuery()</b>: Data changed, set updated date: <br>
DEBUG [L1522] [60ms]:   <b>Factory::Save()</b>: Calling postSave()<br>
DEBUG [L0147] [60ms]:   <b>Factory::removeCache()</b>: Attempting to remove cache: 11<br>
DEBUG [L0153] [60ms]:   <b>Factory::removeCache()</b>: Removing cache: 11 Group Id: cron<br>
DEBUG [L1391] [60ms]:   <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [L0412] [115ms]:  <b>CronJobFactory::Execute()</b>: WARNING: File does not exist, skipping: /var/www/clients/client1/web19/web/maint/TimeClockSync.php<br>
DEBUG [L1381] [115ms]:  <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [L1436] [115ms]:  <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [L1485] [115ms]:  <b>Factory::Save()</b>:  Updating...<br>
DEBUG [L1352] [116ms]:  <b>Factory::getUpdateQuery()</b>: Data changed, set updated date: <br>
DEBUG [L1522] [116ms]:  <b>Factory::Save()</b>: Calling postSave()<br>
DEBUG [L0147] [116ms]:  <b>Factory::removeCache()</b>: Attempting to remove cache: 11<br>
DEBUG [L0153] [116ms]:  <b>Factory::removeCache()</b>: Removing cache: 11 Group Id: cron<br>
DEBUG [L1391] [116ms]:  <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [L0353] [167ms]:  <b>CronJobFactory::isScheduledToRun()</b>:  Name: MiscDaily Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [167ms]:  <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 1:55 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [167ms]:  <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [168ms]:  <b>CronJobFactory::isScheduledToRun()</b>:  Name: MiscWeekly Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [171ms]:  <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 18-Nov-12 1:55 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [171ms]:  <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [171ms]:  <b>CronJobFactory::isScheduledToRun()</b>:  Name: calcQuickExceptions Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:38 PM EST<br>
DEBUG [L0238] [171ms]:  <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 14-Nov-12 8:52 PM EST Based on Current Epoch: 14-Nov-12 8:38 PM EST<br>
DEBUG [L0264] [171ms]:  <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [172ms]:  <b>CronJobFactory::isScheduledToRun()</b>:  Name: GeoCode Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0238] [173ms]:  <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 15-Nov-12 2:15 AM EST Based on Current Epoch: 14-Nov-12 8:27 PM EST<br>
DEBUG [L0264] [173ms]:  <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0353] [173ms]:  <b>CronJobFactory::isScheduledToRun()</b>:  Name: ScheduledReport Current Epoch: 14-Nov-12 8:49 PM EST Last Run Date: 14-Nov-12 8:46 PM EST<br>
DEBUG [L0238] [173ms]:  <b>Cron::getNextScheduleDate()</b>:  Next Scheduled Date: 14-Nov-12 9:00 PM EST Based on Current Epoch: 14-Nov-12 8:46 PM EST<br>
DEBUG [L0264] [173ms]:  <b>Cron::isScheduledToRun()</b>:   JOB is NOT scheduled to run right now...<br>
DEBUG [L0076] [173ms]:  <b>[Function]()</b>: CRON: Jobs Executed: 1 of 16<br>
---------------[ 14-Nov-2012 20:49:01 -0500 (PID: 16406) ]---------------
mbernardo
Posts: 17
Joined: Wed Nov 14, 2012 6:40 pm
Location: Oshawa, ON
Contact:

Re: geting a network timeout with 5.1 on new install of time

Post by mbernardo »

shaunw wrote:Please enable logging as described in the above post so we can get more information to go on.
Hi shawnw, do you have a clue why this is happening? When I click on Company Info, why is it 'downloading' something? The site and database are both local to me.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: geting a network timeout with 5.1 on new install of time

Post by shaunw »

Could you attach a screenshot of the problem?
rferran
Posts: 1
Joined: Fri Nov 16, 2012 5:43 pm

Re: geting a network timeout with 5.1 on new install of time

Post by rferran »

I also have this issue wherein when I login to timetrex with an admin account, then go to company > company information and black box pops up which says "Processing" then "Downloading" then eventually says "Network Timeout". I need this functionality so I can authenticate via LDAP.

I am running Ubuntu Server 12.04.
Apache 2.2.22
PHP 5.3.10
Mysql 5.5.28
I installed timetrex 5.1 via the ZIP file source code.

Here is a screent shot:

Image

I can also provide the log information but it is thousands of lines and I cannot begin to know which lines are relevant.
Thanks for your help.
mbernardo
Posts: 17
Joined: Wed Nov 14, 2012 6:40 pm
Location: Oshawa, ON
Contact:

Re: geting a network timeout with 5.1 on new install of time

Post by mbernardo »

shaunw wrote:Could you attach a screenshot of the problem?
See attached.
Attachments
Screen Shot 2012-11-17 at 12.57.32 PM.png
Screen Shot 2012-11-17 at 12.57.26 PM.png
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: geting a network timeout with 5.1 on new install of time

Post by shaunw »

mbernado: Please provide information about your system as described here: http://forums.timetrex.com/viewtopic.php?f=6&t=89
mbernardo
Posts: 17
Joined: Wed Nov 14, 2012 6:40 pm
Location: Oshawa, ON
Contact:

Re: geting a network timeout with 5.1 on new install of time

Post by mbernardo »

1. When I go to Company Information, I get a popup with the word "Downloading...". A few seconds later, it changes to "Network Timeout."

2. See #1. Screenshots already provided in this thread.

3. Version 5.1.

4. Ubuntu Server 12.04.

5. Manual .zip file.

5.1. PHP: Version 5.3.10-1ubuntu3.4
5.2. MySQL: Version 5.5.28-0ubuntu0.12.04.2
5.3. Web Server: Apache/2.2.22 (Ubuntu)
5.4. Yes. Here are the most recent error messages:

Code: Select all

From: /var/log/apache2/error.log

[Mon Nov 19 05:48:23 2012] [error] [client 66.249.74.226] File does not exist: /var/www/timetrex.deer-creek.ca/web/interface/flex/ui.swf.swf
[Mon Nov 19 05:48:23 2012] [error] [client 66.249.74.226] File does not exist: /var/www/timetrex.deer-creek.ca/web/error

Code: Select all

From: $document_root/log/errors.log

[Mon Nov 19 20:40:12 2012] [error] [client 216.58.15.218] PHP Warning:  var_dump(): Couldn't fetch mysqli_result in /var/www/clients/client1/web19/web/classes/modules/core/Debug.class.php on line 283, referer: http://timetrex.deer-creek.ca/interface/flex/ui.swf?v=5.1.0-1351528789
[Mon Nov 19 20:40:12 2012] [error] [client 216.58.15.218] PHP Warning:  var_dump(): Couldn't fetch mysqli_result in /var/www/clients/client1/web19/web/classes/modules/core/Debug.class.php on line 283, referer: http://timetrex.deer-creek.ca/interface/flex/ui.swf?v=5.1.0-1351528789
[Mon Nov 19 20:40:12 2012] [error] [client 216.58.15.218] PHP Warning:  var_dump(): Property access is not allowed yet in /var/www/clients/client1/web19/web/classes/modules/core/Debug.class.php on line 283, referer: http://timetrex.deer-creek.ca/interface/flex/ui.swf?v=5.1.0-1351528789
[Mon Nov 19 20:40:12 2012] [error] [client 216.58.15.218] PHP Warning:  var_dump(): Couldn't fetch mysqli_result in /var/www/clients/client1/web19/web/classes/modules/core/Debug.class.php on line 283, referer: http://timetrex.deer-creek.ca/interface/flex/ui.swf?v=5.1.0-1351528789
[Mon Nov 19 20:40:12 2012] [error] [client 216.58.15.218] PHP Warning:  var_dump(): Property access is not allowed yet in /var/www/clients/client1/web19/web/classes/modules/core/Debug.class.php on line 283, referer: http://timetrex.deer-creek.ca/interface/flex/ui.swf?v=5.1.0-1351528789
[Mon Nov 19 20:40:12 2012] [error] [client 216.58.15.218] PHP Warning:  var_dump(): Couldn't fetch mysqli_result in /var/www/clients/client1/web19/web/classes/modules/core/Debug.class.php on line 283, referer: http://timetrex.deer-creek.ca/interface/flex/ui.swf?v=5.1.0-1351528789
[Mon Nov 19 20:40:12 2012] [error] [client 216.58.15.218] PHP Warning:  var_dump(): Couldn't fetch mysqli_result in /var/www/clients/client1/web19/web/classes/modules/core/Debug.class.php on line 283, referer: http://timetrex.deer-creek.ca/interface/flex/ui.swf?v=5.1.0-1351528789
[Mon Nov 19 20:40:12 2012] [error] [client 216.58.15.218] PHP Warning:  var_dump(): Property access is not allowed yet in /var/www/clients/client1/web19/web/classes/modules/core/Debug.class.php on line 283, referer: http://timetrex.deer-creek.ca/interface/flex/ui.swf?v=5.1.0-1351528789
[Mon Nov 19 20:40:12 2012] [error] [client 216.58.15.218] PHP Warning:  var_dump(): Couldn't fetch mysqli_result in /var/www/clients/client1/web19/web/classes/modules/core/Debug.class.php on line 283, referer: http://timetrex.deer-creek.ca/interface/flex/ui.swf?v=5.1.0-1351528789
[Mon Nov 19 20:40:12 2012] [error] [client 216.58.15.218] PHP Warning:  var_dump(): Property access is not allowed yet in /var/www/clients/client1/web19/web/classes/modules/core/Debug.class.php on line 283, referer: http://timetrex.deer-creek.ca/interface/flex/ui.swf?v=5.1.0-1351528789
5.5. When verbosity level is set to 11, the javascript progress bar gets stuck. So I set verbose to 10 to allow me to get to the part where the error occurs, then set it to 11. I cleared timetrex.log first, then clicked on Company Information. The log file is attached.
Attachments
timetrex-2012-11-19.log.gz
(129.57 KiB) Downloaded 296 times
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: geting a network timeout with 5.1 on new install of time

Post by shaunw »

Okay, I'm able to replicate the issue on our end now, it has to do with MySQL's complete lack of ability to handle even moderately complex queries. We should have a work around in the next version of TimeTrex.
mbernardo
Posts: 17
Joined: Wed Nov 14, 2012 6:40 pm
Location: Oshawa, ON
Contact:

Re: geting a network timeout with 5.1 on new install of time

Post by mbernardo »

Thanks.
mbernardo
Posts: 17
Joined: Wed Nov 14, 2012 6:40 pm
Location: Oshawa, ON
Contact:

Re: geting a network timeout with 5.1 on new install of time

Post by mbernardo »

@shaunw:
If I re-installed TimeTrex using Postgres, do you suspect this problem would go away?
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: geting a network timeout with 5.1 on new install of time

Post by shaunw »

The problem doesn't exist in PostgreSQL and we highly recommend using PostgreSQL instead of MySQL whenever possible.
mbernardo
Posts: 17
Joined: Wed Nov 14, 2012 6:40 pm
Location: Oshawa, ON
Contact:

Re: geting a network timeout with 5.1 on new install of time

Post by mbernardo »

shaunw wrote:The problem doesn't exist in PostgreSQL and we highly recommend using PostgreSQL instead of MySQL whenever possible.
I reinstalled TimeTrex and chose PostgreSQL as the database provider. The problem no longer exists for me.
pribis
Posts: 86
Joined: Mon Apr 19, 2010 10:33 am

Re: geting a network timeout with 5.1 on new install of time

Post by pribis »

I have installed 7.0.1 and converted my db from mysql to postgres. I did it because of this problem. It is happening right now still. I cleared my cache but still nothing.

This has been a problem with the flex interface for a while. One of the reasons for never switching. But now it seems that the flex interface is what is going to be supported and the old one deprecated. So to go through all the frustration of converting my data only to have the problem still exist (a problem that I am told doesn't exist) is mystifying.

I turned debugging on. What a disaster. Getting a lot of 'relation "cron" does not exist' as well as other relationships. Probably a result of the conversion. But on top of that, the timetrex log file went to 30G in about 10 minutes! Filled my entire drive up. That was no fun.


[edit]

AND to top it off, I just went to the mysql installation of timetrex and tried to flex interface and it works fine. Grrrrr.
Locked