Pay Periods not generating

General support regarding TimeTrex, such as
configuring policies/taxes or processing payroll.
Locked
bad8174
Posts: 29
Joined: Tue Aug 28, 2007 2:03 pm

Pay Periods not generating

Post by bad8174 »

Im running TimeTrex on a Win 2k3 Standard R2 O/S
PHP ver = 5.2.4.4
Apache = 2.0.59.200
TimeTrex = 2.2.5

The maint. jobs say they are completing, howeverthe pay periods have never generated properly. We have weekly pay periods that begin on Sunday. I have included a sample from the first log file for Saturday.


DEBUG [428]: <b>CronJobFactory::isScheduledToRun()</b>: JOB is SCHEDULED TO RUN NOW!<br>
DEBUG [546]: <b>CronJobFactory::Execute()</b>: Job is NOT currently running, running now...<br>
DEBUG [94]: <b>Validator::inArrayKey()</b>: Key: 20<br>
DEBUG [722]: <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [768]: <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [811]: <b>Factory::Save()</b>: Updating...<br>
DEBUG [636]: <b>Factory::getUpdateQuery()</b>: Update<br>
DEBUG [354]: <b>Validator::isDate()</b>: Raw Date: 1211605200 Converted Value: 1211605200<br>
DEBUG [667]: <b>Factory::getUpdateQuery()</b>: Data changed, set updated date: <br>
DEBUG [849]: <b>Factory::Save()</b>: Calling postSave()<br>
DEBUG [65]: <b>Factory::removeCache()</b>: Attempting to remove cache: 1<br>
DEBUG [71]: <b>Factory::removeCache()</b>: Removing cache: 1 Group Id: cron<br>
DEBUG [732]: <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [559]: <b>CronJobFactory::Execute()</b>: Command: ""C:\Program Files\TimeTrex\php\php-win.exe" "C:\Program Files\TimeTrex\timetrex\maint\AddPayPeriod.php""<br>
DEBUG [562] Array: <b>CronJobFactory::Execute()</b>: Command RetCode: -1 Output:
<pre>
Array
(
)
</pre><br>
DEBUG [106]: <b>Validator::isNumeric()</b>: Value:1<br>
DEBUG [94]: <b>Validator::inArrayKey()</b>: Key: 500<br>
DEBUG [145]: <b>Validator::isLength()</b>: Value: cron Length: 4 Min: 2 Max: 250<br>
DEBUG [145]: <b>Validator::isLength()</b>: Value: Executing Cron Job: 1 Command: ""C:\Program Files\TimeTrex\php\php-win.exe" "C:\Program Files\TimeTrex\timetrex\maint\AddPayPeriod.php"" Return Code: -1 Length: 153 Min: 2 Max: 2000<br>
DEBUG [722]: <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [768]: <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [354]: <b>Validator::isDate()</b>: Raw Date: 1211605200 Converted Value: 1211605200<br>
DEBUG [798]: <b>Factory::Save()</b>: Insert ID: 1033634<br>
DEBUG [704]: <b>Factory::getInsertQuery()</b>: Insert<br>
DEBUG [732]: <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [94]: <b>Validator::inArrayKey()</b>: Key: 10<br>
DEBUG [354]: <b>Validator::isDate()</b>: Raw Date: 1211605200 Converted Value: 1211605200<br>
DEBUG [722]: <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [768]: <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [811]: <b>Factory::Save()</b>: Updating...<br>
DEBUG [636]: <b>Factory::getUpdateQuery()</b>: Update<br>
DEBUG [354]: <b>Validator::isDate()</b>: Raw Date: 1211605200 Converted Value: 1211605200<br>
DEBUG [667]: <b>Factory::getUpdateQuery()</b>: Data changed, set updated date: <br>
DEBUG [849]: <b>Factory::Save()</b>: Calling postSave()<br>
DEBUG [65]: <b>Factory::removeCache()</b>: Attempting to remove cache: 1<br>
DEBUG [71]: <b>Factory::removeCache()</b>: Removing cache: 1 Group Id: cron<br>
DEBUG [732]: <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [425]: <b>CronJobFactory::isScheduledToRun()</b>: Name: TimeClockSync Previous Scheduled Date: Sat, 24 May 2008 00:00:00 -0500(1211605200) Last Run Time: Fri, 23 May 2008 23:59:00 -0500 Current Epoch: 1211605200<br>
DEBUG [428]: <b>CronJobFactory::isScheduledToRun()</b>: JOB is SCHEDULED TO RUN NOW!<br>
DEBUG [546]: <b>CronJobFactory::Execute()</b>: Job is NOT currently running, running now...<br>
DEBUG [94]: <b>Validator::inArrayKey()</b>: Key: 20<br>
DEBUG [722]: <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [768]: <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [811]: <b>Factory::Save()</b>: Updating...<br>
DEBUG [636]: <b>Factory::getUpdateQuery()</b>: Update<br>
DEBUG [354]: <b>Validator::isDate()</b>: Raw Date: 1211605200 Converted Value: 1211605200<br>
DEBUG [667]: <b>Factory::getUpdateQuery()</b>: Data changed, set updated date: <br>
DEBUG [849]: <b>Factory::Save()</b>: Calling postSave()<br>
DEBUG [65]: <b>Factory::removeCache()</b>: Attempting to remove cache: 11<br>
DEBUG [71]: <b>Factory::removeCache()</b>: Removing cache: 11 Group Id: cron<br>
DEBUG [732]: <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [566]: <b>CronJobFactory::Execute()</b>: WARNING: File does not exist, skipping: C:\Program Files\TimeTrex\timetrex\maint\TimeClockSync.php<br>
DEBUG [94]: <b>Validator::inArrayKey()</b>: Key: 10<br>
DEBUG [354]: <b>Validator::isDate()</b>: Raw Date: 1211605200 Converted Value: 1211605200<br>
DEBUG [722]: <b>Factory::StartTransaction()</b>: StartTransaction(): Transaction Count: 0 Trans Off: 0<br>
DEBUG [768]: <b>Factory::Save()</b>: Calling preSave()<br>
DEBUG [811]: <b>Factory::Save()</b>: Updating...<br>
DEBUG [636]: <b>Factory::getUpdateQuery()</b>: Update<br>
DEBUG [354]: <b>Validator::isDate()</b>: Raw Date: 1211605200 Converted Value: 1211605200<br>
DEBUG [667]: <b>Factory::getUpdateQuery()</b>: Data changed, set updated date: <br>
DEBUG [849]: <b>Factory::Save()</b>: Calling postSave()<br>
DEBUG [65]: <b>Factory::removeCache()</b>: Attempting to remove cache: 11<br>
DEBUG [71]: <b>Factory::removeCache()</b>: Removing cache: 11 Group Id: cron<br>
DEBUG [732]: <b>Factory::CommitTransaction()</b>: CommitTransaction(): Transaction Count: 1 Trans Off: 1<br>
DEBUG [51]: <b>[Function]()</b>: CRON: Jobs Executed: 2 of 11<br>
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Please see this FAQ entry:
http://forums.timetrex.com/viewtopic.php?t=733

I would also recommend upgrading the latest version of TimeTrex.
Locked