PHP Fatal error: Class 'InvoiceDistrictListFactory' not found in /srv/www/htdocs/timetrex/classes/modules/core/AJAX_Server.class.php on line 125, referer: http://xx.xx.xx.xx:xxxx/timetrex/interface/branch/EditBranch.php
(mysqlt): SET SESSION sql_mode='ansi'
(mysqlt): select session_id,user_id,ip_address,created_date,updated_date from authentication WHERE session_id = '7a641d77fd1c7ffd6ad235cc2fa0195c' AND ip_address = '127.0.0.1' AND updated_date >= 1168616630
(mysqlt): update authentication set updated_date = 1168631030 where session_id = '7a641d77fd1c7ffd6ad235cc2fa0195c'
(mysqlt): SET SESSION time_zone='America/Barbados'
(mysqlt): select * from station where company_id = '1' AND station_id = '7d96f6999bdd6b903e9ebcda59c5d5d1' AND deleted = 0
(mysqlt): select * from cron WHERE deleted = 0 ORDER BY last_run_date DESC LIMIT 1
(mysqlt): select d.severity_id as severity_id, count(*) as count from exception as a LEFT JOIN user_date as b ON a.user_date_id = b.id LEFT JOIN users as c ON b.user_id = c.id LEFT JOIN exception_policy as d ON a.exception_policy_id = d.id LEFT JOIN pay_period as e ON b.pay_period_id = e.id where b.user_id = '1' AND b.date_stamp < '2007-01-12 00:00:00' AND e.status_id = 10 AND NOT EXISTS ( select z.id from request as z where z.user_date_id = a.user_date_id AND z.status_id = 30 ) AND ( a.deleted = 0 AND b.deleted = 0 AND e.deleted=0) GROUP BY d.severity_id ORDER BY d.severity_id desc
(mysqlt): SET AUTOCOMMIT=0
(mysqlt): BEGIN
(mysqlt): update schedule_policy_id_seq set id=LAST_INSERT_ID(id+1);
/tmp/timetrex//ad/adodb_adf6e06cb3db94dec2da867242c18736.cache cache failure: /tmp/timetrex//ad/adodb_adf6e06cb3db94dec2da867242c18736.cache file/URL not found (see sql below)
(mysqlt): select id,company_id,name,meal_policy_id,over_time_policy_id,absence_policy_id,start_stop_window,created_date,created_by,updated_date,updated_by from schedule_policy 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 71, file: EditSchedulePolicy.php
Debug Buffer
============================================================================
Memory Usage: 5859008
----------------------------------------------------------------------------
DEBUG [135]: [Function](): URI: /timetrex/interface/policy/EditSchedulePolicy.php
DEBUG [137]: [Function](): Production: 1
DEBUG [92]: TTDate::setTimeZone(): Setting TimeZone: PST8PDT
DEBUG [444]: Authentication::Check(): Session Name: SessionID
DEBUG [450]: Authentication::Check(): Session ID: 7a641d77fd1c7ffd6ad235cc2fa0195c
DEBUG [301]: Validator::stripNonAlphaNumeric(): Alpha Numeric String:7a641d77fd1c7ffd6ad235cc2fa0195c
DEBUG [78]: Authentication::getIdle(): Idle Seconds Allowed: 14400
DEBUG [301]: Validator::stripNonAlphaNumeric(): Alpha Numeric String:7a641d77fd1c7ffd6ad235cc2fa0195c
DEBUG [62]: [Function](): User Authenticated: superuser
DEBUG [1696]: UserFactory::isInformationComplete(): User Information is Complete:
DEBUG [92]: TTDate::setTimeZone(): Setting TimeZone: America/Barbados
DEBUG [108]: TTDate::setDateFormat(): Setting Default Date Format: d-m-Y
DEBUG [122]: TTDate::setTimeFormat(): Setting Default Time Format: g:i A
DEBUG [136]: TTDate::setTimeUnitFormat(): Setting Default Time Unit Format: 10
DEBUG [1696]: UserFactory::isInformationComplete(): User Information is Complete:
DEBUG [954]: UserPreferenceFactory::isPreferencesComplete(): User Preferences IS Complete:
DEBUG [105]: [Function](): Station ID Cookie found! 7d96f6999bdd6b903e9ebcda59c5d5d1
DEBUG [196]: [Function](): UnRead Messages: 0
DEBUG [160]: TTDate::parseTimeUnit(): Time Unit Format: 10
DEBUG [60]: [Function](): Submit!
DEBUG [90]: SchedulePolicyFactory::setCompany(): Company ID: 1
DEBUG [144]: Validator::isLength(): Value: SCC Length: 3 Min: 2 Max: 50
DEBUG [106]: Validator::isNumeric(): Value:1800
DEBUG [737]: Factory::isValid(): Calling Validate()
DEBUG [720]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 0 Trans Off: 0
DEBUG [766]: Factory::Save(): Calling preSave()
DEBUG [737]: Factory::isValid(): Calling Validate()
DEBUG [256]: Validator::isDate(): Raw Date: 1168631030 Converted Value: 1168631030
DEBUG [256]: Validator::isDate(): Raw Date: 1168631030 Converted Value: 1168631030
DEBUG [796]: Factory::Save(): Insert ID: 11
DEBUG [702]: Factory::getInsertQuery(): Insert
DEBUG [256]: Validator::isDate(): Raw Date: 1168631030 Converted Value: 1168631030
============================================================================
I'm not seeing any actual error there, beside the fact that it couldn't save the policy. I tried to replicate this issue on our end without any luck.
The only thing I can think of is to try to disable caching in timetrex.ini.php to see if that makes a difference. Also try to enable MySQL query logging to see if there is a query error occurring somewhere that TimeTrex isn't reporting.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!