End of year and verification?
Posted: Tue Dec 30, 2008 10:37 am
I have been running Timetrex locally to use as a very basic contractor time sheet for over a year.
My time sheets are printed weekly. Today, without changing timetrex (or having other administrtators change it) when you go to print the time sheet, it prints this week and the next two weeks as well. These weeks are blank and have never been filled in. I also cannot click on the "verify" button in the corner.
I have no specific steps that I was doing, I just came in today (long weekend) and started updating my time. Some of the diagnostic steps I have done have been:
1: Updated my timetrex from the version from June of this year to the one published in december (2.2.17).
2: Restored my database from several different time frames, upgraded them, and examined this week. I see the same results, regardless of data entered into the week of 21 december 2008
3: deleted my timetrex database entirely and created a new database,added in some default configurations. (same results)
4. What version of PHP you are using.
5.2.6
5. What operating system you are running.
XP SP2
6. What web server you are using.
XAMP Apache 2.2.11
On the debug settings I see:
Debug Buffer
============================================================================
Memory Usage: 16792088
----------------------------------------------------------------------------
DEBUG [111]: TTDate::setTimeZone(): Setting TimeZone: US/Eastern
DEBUG [539]: Authentication::Check(): Session Name: SessionID
DEBUG [545]: Authentication::Check(): Session ID: f4196417a0ce64ef168bee972913f738
DEBUG [403]: Validator::stripNonAlphaNumeric(): Alpha Numeric String:f4196417a0ce64ef168bee972913f738
DEBUG [82]: Authentication::getIdle(): Idle Seconds Allowed: 14400
DEBUG [403]: Validator::stripNonAlphaNumeric(): Alpha Numeric String:f4196417a0ce64ef168bee972913f738
DEBUG [70]: [Function](): User Authenticated: craigw Created Date: 1230657322
DEBUG [1987]: UserFactory::isInformationComplete(): User Information is Complete:
DEBUG [106]: TTDate::setTimeZone(): TimeZone already set to: US/Eastern
DEBUG [139]: TTDate::setDateFormat(): Setting Default Date Format: d-M-y
DEBUG [153]: TTDate::setTimeFormat(): Setting Default Time Format: g:i A
DEBUG [167]: TTDate::setTimeUnitFormat(): Setting Default Time Unit Format: 10
DEBUG [108]: [Function](): Locale Cookie: en_US
DEBUG [291]: TTi18n::getLanguageFromLocale(): Locale: en_US
DEBUG [116]: [Function](): User Preference Language matches cookie!
DEBUG [322]: TTi18n::setLocale(): Generated/Passed In Locale:
DEBUG [256]: TTi18n::generateLocale(): Array of Locales to try in order: en_US,en
DEBUG [207]: TTi18n::tryLocale(): Found valid windows locale: English_United States.1252 Linux locale: en_US
DEBUG [215]: TTi18n::tryLocale(): Found valid locale: en_US
DEBUG [328]: TTi18n::setLocale(): Attempting to set Locale(s) to: en_US Category: 0 Current Locale:
DEBUG [331]: TTi18n::setLocale(): Setting currency/numeric Locale to: en_US
DEBUG [344]: TTi18n::setLocale(): Setting translator locale to: en_US
DEBUG [361]: TTi18n::setLocale(): Set Master Locale To: en_US
DEBUG [1987]: UserFactory::isInformationComplete(): User Information is Complete:
DEBUG [1145]: UserPreferenceFactory::isPreferencesComplete(): User Preferences IS Complete:
DEBUG [142]: [Function](): Station ID Cookie found! 8fbaabfe46e9a219a16109a84acf6f86
DEBUG [248]: [Function](): UnRead Messages: 0
DEBUG [118]: [Function](): Found Default Filter!
DEBUG [356]: FastTree::getAllChildren(): Getting Root ID: 0
DEBUG [178]: [Function](): Viewing all users timesheet
DEBUG [380]: TTDate::parseDateTime(): String: 1230008400 Date Format: d-M-y
DEBUG [473]: TTDate::parseDateTime(): NO Custom Parse Format detected!
DEBUG [476]: TTDate::parseDateTime(): Parsing Date: 1230008400
DEBUG [149]: Validator::isLength(): Value: Default Length: 7 Min: 1 Max: 100
DEBUG [149]: Validator::isLength(): Value: /timetrex/interface/timesheet/ViewUserTimeSheet.php Length: 51 Min: 1 Max: 250
DEBUG [743]: Factory::isValid(): Calling Validate()
DEBUG [726]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 0 Trans Off: 0
DEBUG [772]: Factory::Save(): Calling preSave()
DEBUG [174]: UserGenericDataFactory::preSave(): Removing Default Flag From: 1
DEBUG [743]: Factory::isValid(): Calling Validate()
DEBUG [726]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [772]: Factory::Save(): Calling preSave()
DEBUG [743]: Factory::isValid(): Calling Validate()
DEBUG [815]: Factory::Save(): Updating...
DEBUG [640]: Factory::getUpdateQuery(): Update
DEBUG [358]: Validator::isDate(): Raw Date: 1230658297 Converted Value: 1230658297
DEBUG [671]: Factory::getUpdateQuery(): Data changed, set updated date:
DEBUG [736]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 2
DEBUG [743]: Factory::isValid(): Calling Validate()
DEBUG [815]: Factory::Save(): Updating...
DEBUG [640]: Factory::getUpdateQuery(): Update
DEBUG [358]: Validator::isDate(): Raw Date: 1230658297 Converted Value: 1230658297
DEBUG [671]: Factory::getUpdateQuery(): Data changed, set updated date:
DEBUG [736]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [295]: [Function](): Pay Period ID: 0
DEBUG [307]: [Function](): Action:
DEBUG [52]: BreadCrumb::setCrumb(): Dropping Bread Crumb: My Timesheet URL: /timetrex/interface/timesheet/ViewUserTimeSheet.php
DEBUG [425]: [Function](): Default Action:
DEBUG [1187]: TTDate::getBeginWeekEpoch(): Epoch: 23-Dec-08 12:00 AM Retval: 21-Dec-08 12:00 AM Start Day of Week: 0 Offset: 2
DEBUG [1187]: TTDate::getBeginWeekEpoch(): Epoch: 23-Dec-08 12:00 PM Retval: 21-Dec-08 12:00 AM Start Day of Week: 0 Offset: 2
DEBUG [430]: [Function](): Start Date: 21-Dec-08 12:00 AM End Date: 27-Dec-08 11:59 PM
DEBUG [1354]: TTDate::getCalendarArray(): Start Day Of Week: 0
DEBUG [1356]: TTDate::getCalendarArray(): Raw Start Date: 21-Dec-08 12:00 AM Raw End Date: 27-Dec-08 11:59 PM
DEBUG [1187]: TTDate::getBeginWeekEpoch(): Epoch: 21-Dec-08 12:00 AM Retval: 21-Dec-08 12:00 AM Start Day of Week: 0 Offset: 0
DEBUG [1187]: TTDate::getBeginWeekEpoch(): Epoch: 27-Dec-08 12:00 PM Retval: 21-Dec-08 12:00 AM Start Day of Week: 0 Offset: 6
DEBUG [1367]: TTDate::getCalendarArray(): Cal Start Date: 21-Dec-08 12:00 AM Cal End Date: 27-Dec-08 11:59 PM
DEBUG [625]: [Function](): No Punch Count: 4 Max: 14
DEBUG [625]: [Function](): No Punch Count: 4 Max: 14
DEBUG [625]: [Function](): No Punch Count: 4 Max: 14
DEBUG [625]: [Function](): No Punch Count: 4 Max: 14
DEBUG [625]: [Function](): No Punch Count: 11 Max: 14
DEBUG [625]: [Function](): No Punch Count: 18 Max: 14
DEBUG [629]: [Function](): Stopping Loop at: 5
DEBUG [639]: [Function](): Popping Off Last TWO Row: 5
DEBUG [39]: TimeSheetFormatArrayByDate(): Group Array While Loop:
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 0 Max No Punch Count: 7 Type ID: 100 ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 2 Max: 7
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 1 Max No Punch Count: 7 Type ID: 200 ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 6 Max: 7
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 2 Max No Punch Count: 7 Type ID: ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 7 Max: 7
DEBUG [83]: TimeSheetFormatArrayByDate(): Stopping Loop at: 2
DEBUG [874]: [Function](): Formatting Branch Array By Date:
DEBUG [39]: TimeSheetFormatArrayByDate(): Group Array While Loop:
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 0 Max No Punch Count: 7 Type ID: 3 ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 6 Max: 7
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 1 Max No Punch Count: 7 Type ID: ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 7 Max: 7
DEBUG [83]: TimeSheetFormatArrayByDate(): Stopping Loop at: 1
DEBUG [39]: TimeSheetFormatArrayByDate(): Group Array While Loop:
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 0 Max No Punch Count: 7 Type ID: 1 ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 6 Max: 7
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 1 Max No Punch Count: 7 Type ID: ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 7 Max: 7
DEBUG [83]: TimeSheetFormatArrayByDate(): Stopping Loop at: 1
DEBUG [1276]: UserDateTotalListFactory::getWorkedTimeSumByUserIDAndPayPeriodId(): Total: 28800
DEBUG [1282]: [Function](): Worked Total Time: 28800
DEBUG [1356]: UserDateTotalListFactory::getPaidAbsenceTimeSumByUserIDAndPayPeriodId(): Total:
DEBUG [1285]: [Function](): Paid Absence Total Time:
DEBUG [1438]: UserDateTotalListFactory::getDockAbsenceTimeSumByUserIDAndPayPeriodId(): Total:
DEBUG [1288]: [Function](): Dock Absence Total Time:
DEBUG [1297]: [Function](): Type ID: 20 OverTime Policy ID: 0 Total Time: 28800
DEBUG [1360]: [Function](): Pay Period Object NOT Found!
DEBUG [1365]: [Function](): Pay Period Schedule Found!
DEBUG [1521]: CompanyFactory::getLogoFileName(): Logo File Name: C:\xampp\htdocs\TimeTrex\classes\modules\core\..\..\..\\interface\images\timetrex_logo_wbg_small2.jpg
(I highlighted the pay period object not found, which may be the problem?)
I see no error file getting generated and the isn't helpful.
My time sheets are printed weekly. Today, without changing timetrex (or having other administrtators change it) when you go to print the time sheet, it prints this week and the next two weeks as well. These weeks are blank and have never been filled in. I also cannot click on the "verify" button in the corner.
I have no specific steps that I was doing, I just came in today (long weekend) and started updating my time. Some of the diagnostic steps I have done have been:
1: Updated my timetrex from the version from June of this year to the one published in december (2.2.17).
2: Restored my database from several different time frames, upgraded them, and examined this week. I see the same results, regardless of data entered into the week of 21 december 2008
3: deleted my timetrex database entirely and created a new database,added in some default configurations. (same results)
4. What version of PHP you are using.
5.2.6
5. What operating system you are running.
XP SP2
6. What web server you are using.
XAMP Apache 2.2.11
On the debug settings I see:
Debug Buffer
============================================================================
Memory Usage: 16792088
----------------------------------------------------------------------------
DEBUG [111]: TTDate::setTimeZone(): Setting TimeZone: US/Eastern
DEBUG [539]: Authentication::Check(): Session Name: SessionID
DEBUG [545]: Authentication::Check(): Session ID: f4196417a0ce64ef168bee972913f738
DEBUG [403]: Validator::stripNonAlphaNumeric(): Alpha Numeric String:f4196417a0ce64ef168bee972913f738
DEBUG [82]: Authentication::getIdle(): Idle Seconds Allowed: 14400
DEBUG [403]: Validator::stripNonAlphaNumeric(): Alpha Numeric String:f4196417a0ce64ef168bee972913f738
DEBUG [70]: [Function](): User Authenticated: craigw Created Date: 1230657322
DEBUG [1987]: UserFactory::isInformationComplete(): User Information is Complete:
DEBUG [106]: TTDate::setTimeZone(): TimeZone already set to: US/Eastern
DEBUG [139]: TTDate::setDateFormat(): Setting Default Date Format: d-M-y
DEBUG [153]: TTDate::setTimeFormat(): Setting Default Time Format: g:i A
DEBUG [167]: TTDate::setTimeUnitFormat(): Setting Default Time Unit Format: 10
DEBUG [108]: [Function](): Locale Cookie: en_US
DEBUG [291]: TTi18n::getLanguageFromLocale(): Locale: en_US
DEBUG [116]: [Function](): User Preference Language matches cookie!
DEBUG [322]: TTi18n::setLocale(): Generated/Passed In Locale:
DEBUG [256]: TTi18n::generateLocale(): Array of Locales to try in order: en_US,en
DEBUG [207]: TTi18n::tryLocale(): Found valid windows locale: English_United States.1252 Linux locale: en_US
DEBUG [215]: TTi18n::tryLocale(): Found valid locale: en_US
DEBUG [328]: TTi18n::setLocale(): Attempting to set Locale(s) to: en_US Category: 0 Current Locale:
DEBUG [331]: TTi18n::setLocale(): Setting currency/numeric Locale to: en_US
DEBUG [344]: TTi18n::setLocale(): Setting translator locale to: en_US
DEBUG [361]: TTi18n::setLocale(): Set Master Locale To: en_US
DEBUG [1987]: UserFactory::isInformationComplete(): User Information is Complete:
DEBUG [1145]: UserPreferenceFactory::isPreferencesComplete(): User Preferences IS Complete:
DEBUG [142]: [Function](): Station ID Cookie found! 8fbaabfe46e9a219a16109a84acf6f86
DEBUG [248]: [Function](): UnRead Messages: 0
DEBUG [118]: [Function](): Found Default Filter!
DEBUG [356]: FastTree::getAllChildren(): Getting Root ID: 0
DEBUG [178]: [Function](): Viewing all users timesheet
DEBUG [380]: TTDate::parseDateTime(): String: 1230008400 Date Format: d-M-y
DEBUG [473]: TTDate::parseDateTime(): NO Custom Parse Format detected!
DEBUG [476]: TTDate::parseDateTime(): Parsing Date: 1230008400
DEBUG [149]: Validator::isLength(): Value: Default Length: 7 Min: 1 Max: 100
DEBUG [149]: Validator::isLength(): Value: /timetrex/interface/timesheet/ViewUserTimeSheet.php Length: 51 Min: 1 Max: 250
DEBUG [743]: Factory::isValid(): Calling Validate()
DEBUG [726]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 0 Trans Off: 0
DEBUG [772]: Factory::Save(): Calling preSave()
DEBUG [174]: UserGenericDataFactory::preSave(): Removing Default Flag From: 1
DEBUG [743]: Factory::isValid(): Calling Validate()
DEBUG [726]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [772]: Factory::Save(): Calling preSave()
DEBUG [743]: Factory::isValid(): Calling Validate()
DEBUG [815]: Factory::Save(): Updating...
DEBUG [640]: Factory::getUpdateQuery(): Update
DEBUG [358]: Validator::isDate(): Raw Date: 1230658297 Converted Value: 1230658297
DEBUG [671]: Factory::getUpdateQuery(): Data changed, set updated date:
DEBUG [736]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 2
DEBUG [743]: Factory::isValid(): Calling Validate()
DEBUG [815]: Factory::Save(): Updating...
DEBUG [640]: Factory::getUpdateQuery(): Update
DEBUG [358]: Validator::isDate(): Raw Date: 1230658297 Converted Value: 1230658297
DEBUG [671]: Factory::getUpdateQuery(): Data changed, set updated date:
DEBUG [736]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [295]: [Function](): Pay Period ID: 0
DEBUG [307]: [Function](): Action:
DEBUG [52]: BreadCrumb::setCrumb(): Dropping Bread Crumb: My Timesheet URL: /timetrex/interface/timesheet/ViewUserTimeSheet.php
DEBUG [425]: [Function](): Default Action:
DEBUG [1187]: TTDate::getBeginWeekEpoch(): Epoch: 23-Dec-08 12:00 AM Retval: 21-Dec-08 12:00 AM Start Day of Week: 0 Offset: 2
DEBUG [1187]: TTDate::getBeginWeekEpoch(): Epoch: 23-Dec-08 12:00 PM Retval: 21-Dec-08 12:00 AM Start Day of Week: 0 Offset: 2
DEBUG [430]: [Function](): Start Date: 21-Dec-08 12:00 AM End Date: 27-Dec-08 11:59 PM
DEBUG [1354]: TTDate::getCalendarArray(): Start Day Of Week: 0
DEBUG [1356]: TTDate::getCalendarArray(): Raw Start Date: 21-Dec-08 12:00 AM Raw End Date: 27-Dec-08 11:59 PM
DEBUG [1187]: TTDate::getBeginWeekEpoch(): Epoch: 21-Dec-08 12:00 AM Retval: 21-Dec-08 12:00 AM Start Day of Week: 0 Offset: 0
DEBUG [1187]: TTDate::getBeginWeekEpoch(): Epoch: 27-Dec-08 12:00 PM Retval: 21-Dec-08 12:00 AM Start Day of Week: 0 Offset: 6
DEBUG [1367]: TTDate::getCalendarArray(): Cal Start Date: 21-Dec-08 12:00 AM Cal End Date: 27-Dec-08 11:59 PM
DEBUG [625]: [Function](): No Punch Count: 4 Max: 14
DEBUG [625]: [Function](): No Punch Count: 4 Max: 14
DEBUG [625]: [Function](): No Punch Count: 4 Max: 14
DEBUG [625]: [Function](): No Punch Count: 4 Max: 14
DEBUG [625]: [Function](): No Punch Count: 11 Max: 14
DEBUG [625]: [Function](): No Punch Count: 18 Max: 14
DEBUG [629]: [Function](): Stopping Loop at: 5
DEBUG [639]: [Function](): Popping Off Last TWO Row: 5
DEBUG [39]: TimeSheetFormatArrayByDate(): Group Array While Loop:
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 0 Max No Punch Count: 7 Type ID: 100 ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 2 Max: 7
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 1 Max No Punch Count: 7 Type ID: 200 ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 6 Max: 7
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 2 Max No Punch Count: 7 Type ID: ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 7 Max: 7
DEBUG [83]: TimeSheetFormatArrayByDate(): Stopping Loop at: 2
DEBUG [874]: [Function](): Formatting Branch Array By Date:
DEBUG [39]: TimeSheetFormatArrayByDate(): Group Array While Loop:
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 0 Max No Punch Count: 7 Type ID: 3 ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 6 Max: 7
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 1 Max No Punch Count: 7 Type ID: ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 7 Max: 7
DEBUG [83]: TimeSheetFormatArrayByDate(): Stopping Loop at: 1
DEBUG [39]: TimeSheetFormatArrayByDate(): Group Array While Loop:
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 0 Max No Punch Count: 7 Type ID: 1 ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 6 Max: 7
DEBUG [53]: TimeSheetFormatArrayByDate(): While Loop: 1 Max No Punch Count: 7 Type ID: ...
DEBUG [81]: TimeSheetFormatArrayByDate(): No Punch Count: 7 Max: 7
DEBUG [83]: TimeSheetFormatArrayByDate(): Stopping Loop at: 1
DEBUG [1276]: UserDateTotalListFactory::getWorkedTimeSumByUserIDAndPayPeriodId(): Total: 28800
DEBUG [1282]: [Function](): Worked Total Time: 28800
DEBUG [1356]: UserDateTotalListFactory::getPaidAbsenceTimeSumByUserIDAndPayPeriodId(): Total:
DEBUG [1285]: [Function](): Paid Absence Total Time:
DEBUG [1438]: UserDateTotalListFactory::getDockAbsenceTimeSumByUserIDAndPayPeriodId(): Total:
DEBUG [1288]: [Function](): Dock Absence Total Time:
DEBUG [1297]: [Function](): Type ID: 20 OverTime Policy ID: 0 Total Time: 28800
DEBUG [1360]: [Function](): Pay Period Object NOT Found!
DEBUG [1365]: [Function](): Pay Period Schedule Found!
DEBUG [1521]: CompanyFactory::getLogoFileName(): Logo File Name: C:\xampp\htdocs\TimeTrex\classes\modules\core\..\..\..\\interface\images\timetrex_logo_wbg_small2.jpg
(I highlighted the pay period object not found, which may be the problem?)
I see no error file getting generated and the isn't helpful.