hello,
i've been using timetrex for 2 months now and today i have a problem with saving my punches (in/out)
this occurs with primary account and with other accounts as well.
please someone help me, what can i do.
The save button simply doesn't respond to clicks.
i can do all the other staff thou, like adding an employee or something else.
i can't save punches
Re: i can't save punches
It appears that a incompatibility with some TimeTrex installations was introduced with v9.0.10, we are currently in the process of releasing v9.0.11 which will resolve it, we appreciate your patience and will post more information here once its available.
Re: i can't save punches
TimeTrex v9.0.10 mistakenly introduced an incompatibility with a small percentage of installations that would prevent punches from being saved. v9.0.11 has been released to correct this issue, so to force an immediate upgrade, please run the following command on your TimeTrex server:
c:\timetrex\php\php.exe c:\timetrex\timetrex\tools\unattended_upgrade.php -f
We are continuing to investigate how this incompatibility made it through our quality assurance testing and we can assure you that we will take all necessary steps to prevent this from happening again in the future.
We sincerely apologize for any inconvenience this has caused, if you have any questions please feel free to contact us.
c:\timetrex\php\php.exe c:\timetrex\timetrex\tools\unattended_upgrade.php -f
We are continuing to investigate how this incompatibility made it through our quality assurance testing and we can assure you that we will take all necessary steps to prevent this from happening again in the future.
We sincerely apologize for any inconvenience this has caused, if you have any questions please feel free to contact us.
-
- Posts: 4
- Joined: Mon Apr 11, 2016 6:21 am
Re: i can't save punches
I get a message saying that 9.10 is the latest version wont go to 11
Re: i can't save punches
Same error when running the upgrade on a Linux Community Edition installation (if that makes any difference). Thanks for the quick fix.
Re: i can't save punches
The new version may still be propagating to all of our mirror servers still, please give it another try, it should start working any minute now.
-
- Posts: 4
- Joined: Mon Apr 11, 2016 6:21 am
Re: i can't save punches
worked now thanks
Re: i can't save punches
I still have one user that cannot save punches after I updated to 9.0.11. Put the system into Debug and captured the following.
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): PHP ERROR - NOTICE(8): Undefined index: File: /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php Line: 2326
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #0.Debug::backTrace() /var/www/html/timetrex/classes/modules/core/Debug.class.php:365
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #1.Debug::ErrorHandler(8, Undefined index: , /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php, 2326, Array(8)) /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.ph
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): p:2326
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #2.CalculatePolicy->calculateOverTimePolicyForTriggerTime(1460610000, Array(9), ) /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php:2580
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #3.CalculatePolicy->calculateOverTimePolicy(1460610000, Array(1), 21600) /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php:8194
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #4.CalculatePolicy->_calculate(1460610000) /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php:8278
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #5.CalculatePolicy->calculate() /var/www/html/timetrex/classes/modules/core/UserDateTotalFactory.class.php:1466
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #6.UserDateTotalFactory::reCalculateDay(Object(UserListFactory), Array(2), 1, ) /var/www/html/timetrex/classes/modules/punch/PunchControlFactory.class.php:1996
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #7.PunchControlFactory->postSave(Array(0)) /var/www/html/timetrex/classes/modules/core/Factory.class.php:1890
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #8.Factory->Save(1, 1) /var/www/html/timetrex/classes/modules/api/punch/APIPunch.class.php:585
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #9.APIPunch->setPunch(Array(1), , ) N/A:N/A
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #10.call_user_func_array(Array(2), Array(3)) /var/www/html/timetrex/api/json/api.php:153
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #11.authenticatedInvokeService(APIPunch, setPunch, Array(3), c8c7a150-b115-38ec-352b-edd813f8cacd, Object(Authentication), Object(APIAuthentication)) /var/www/html/timetrex/api/json/api.php:273
DEBUG [L2326] [00743ms]: Debug::ErrorHandler():
DEBUG [L2326] [00743ms]: Debug::Shutdown(): PHP ERROR - FATAL(1): Call to a member function getStartTimeStamp() on a non-object File: /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php Line: 2326
DEBUG [L0072] [00743ms]: ProgressBar::error(): error: 'c8c7a150-b115-38ec-352b-edd813f8cacd Key: c8c7a150-b115-38ec-352b-edd813f8cacd(1460397441.2831) Message: ERROR: Operation cannot be completed.
DEBUG [L0180] [00743ms]: Debug::Text(): Detected PHP errors (2), emailing log...
DEBUG [L0180] [00743ms]: Debug::Text(): ---------------[ 11-Apr-2016 12:57:21 -0500 [1460397441.2833] (PID: 24864) ]---------------
DEBUG [L0220] [00864ms] Array: TTMail::Send(): Attempting to send email To:
string(19) "errors@timetrex.com"
Any help would be appreciated. Thanks.
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): PHP ERROR - NOTICE(8): Undefined index: File: /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php Line: 2326
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #0.Debug::backTrace() /var/www/html/timetrex/classes/modules/core/Debug.class.php:365
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #1.Debug::ErrorHandler(8, Undefined index: , /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php, 2326, Array(8)) /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.ph
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): p:2326
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #2.CalculatePolicy->calculateOverTimePolicyForTriggerTime(1460610000, Array(9), ) /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php:2580
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #3.CalculatePolicy->calculateOverTimePolicy(1460610000, Array(1), 21600) /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php:8194
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #4.CalculatePolicy->_calculate(1460610000) /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php:8278
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #5.CalculatePolicy->calculate() /var/www/html/timetrex/classes/modules/core/UserDateTotalFactory.class.php:1466
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #6.UserDateTotalFactory::reCalculateDay(Object(UserListFactory), Array(2), 1, ) /var/www/html/timetrex/classes/modules/punch/PunchControlFactory.class.php:1996
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #7.PunchControlFactory->postSave(Array(0)) /var/www/html/timetrex/classes/modules/core/Factory.class.php:1890
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #8.Factory->Save(1, 1) /var/www/html/timetrex/classes/modules/api/punch/APIPunch.class.php:585
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #9.APIPunch->setPunch(Array(1), , ) N/A:N/A
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #10.call_user_func_array(Array(2), Array(3)) /var/www/html/timetrex/api/json/api.php:153
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #11.authenticatedInvokeService(APIPunch, setPunch, Array(3), c8c7a150-b115-38ec-352b-edd813f8cacd, Object(Authentication), Object(APIAuthentication)) /var/www/html/timetrex/api/json/api.php:273
DEBUG [L2326] [00743ms]: Debug::ErrorHandler():
DEBUG [L2326] [00743ms]: Debug::Shutdown(): PHP ERROR - FATAL(1): Call to a member function getStartTimeStamp() on a non-object File: /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php Line: 2326
DEBUG [L0072] [00743ms]: ProgressBar::error(): error: 'c8c7a150-b115-38ec-352b-edd813f8cacd Key: c8c7a150-b115-38ec-352b-edd813f8cacd(1460397441.2831) Message: ERROR: Operation cannot be completed.
DEBUG [L0180] [00743ms]: Debug::Text(): Detected PHP errors (2), emailing log...
DEBUG [L0180] [00743ms]: Debug::Text(): ---------------[ 11-Apr-2016 12:57:21 -0500 [1460397441.2833] (PID: 24864) ]---------------
DEBUG [L0220] [00864ms] Array: TTMail::Send(): Attempting to send email To:
string(19) "errors@timetrex.com"
Any help would be appreciated. Thanks.
Re: i can't save punches
Looks like there is another related issue that wasn't addressed in the original fix, but it should be now, so if you just run the same command (mentioned above), that should upgrade you to v9.0.12 and fix the above mentioned issue too.ljmartin wrote:I still have one user that cannot save punches after I updated to 9.0.11. Put the system into Debug and captured the following.
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): PHP ERROR - NOTICE(8): Undefined index: File: /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php Line: 2326
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #0.Debug::backTrace() /var/www/html/timetrex/classes/modules/core/Debug.class.php:365
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #1.Debug::ErrorHandler(8, Undefined index: , /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php, 2326, Array(8)) /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.ph
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): p:2326
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #2.CalculatePolicy->calculateOverTimePolicyForTriggerTime(1460610000, Array(9), ) /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php:2580
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #3.CalculatePolicy->calculateOverTimePolicy(1460610000, Array(1), 21600) /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php:8194
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #4.CalculatePolicy->_calculate(1460610000) /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php:8278
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #5.CalculatePolicy->calculate() /var/www/html/timetrex/classes/modules/core/UserDateTotalFactory.class.php:1466
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #6.UserDateTotalFactory::reCalculateDay(Object(UserListFactory), Array(2), 1, ) /var/www/html/timetrex/classes/modules/punch/PunchControlFactory.class.php:1996
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #7.PunchControlFactory->postSave(Array(0)) /var/www/html/timetrex/classes/modules/core/Factory.class.php:1890
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #8.Factory->Save(1, 1) /var/www/html/timetrex/classes/modules/api/punch/APIPunch.class.php:585
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #9.APIPunch->setPunch(Array(1), , ) N/A:N/A
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #10.call_user_func_array(Array(2), Array(3)) /var/www/html/timetrex/api/json/api.php:153
DEBUG [L2326] [00743ms]: Debug::ErrorHandler(): #11.authenticatedInvokeService(APIPunch, setPunch, Array(3), c8c7a150-b115-38ec-352b-edd813f8cacd, Object(Authentication), Object(APIAuthentication)) /var/www/html/timetrex/api/json/api.php:273
DEBUG [L2326] [00743ms]: Debug::ErrorHandler():
DEBUG [L2326] [00743ms]: Debug::Shutdown(): PHP ERROR - FATAL(1): Call to a member function getStartTimeStamp() on a non-object File: /var/www/html/timetrex/classes/modules/core/CalculatePolicy.class.php Line: 2326
DEBUG [L0072] [00743ms]: ProgressBar::error(): error: 'c8c7a150-b115-38ec-352b-edd813f8cacd Key: c8c7a150-b115-38ec-352b-edd813f8cacd(1460397441.2831) Message: ERROR: Operation cannot be completed.
DEBUG [L0180] [00743ms]: Debug::Text(): Detected PHP errors (2), emailing log...
DEBUG [L0180] [00743ms]: Debug::Text(): ---------------[ 11-Apr-2016 12:57:21 -0500 [1460397441.2833] (PID: 24864) ]---------------
DEBUG [L0220] [00864ms] Array: TTMail::Send(): Attempting to send email To:
string(19) "errors@timetrex.com"
Any help would be appreciated. Thanks.
-
- Posts: 3
- Joined: Mon Apr 11, 2016 1:06 am
Re: i can't save punches
shaunw wrote:TimeTrex v9.0.10 mistakenly introduced an incompatibility with a small percentage of installations that would prevent punches from being saved. v9.0.11 has been released to correct this issue, so to force an immediate upgrade, please run the following command on your TimeTrex server:
c:\timetrex\php\php.exe c:\timetrex\timetrex\tools\unattended_upgrade.php -f
We are continuing to investigate how this incompatibility made it through our quality assurance testing and we can assure you that we will take all necessary steps to prevent this from happening again in the future.
We sincerely apologize for any inconvenience this has caused, if you have any questions please feel free to contact us.
hp.exe won't open because php5ts.dll file is missing, i tried to download this file and put it into php folder but no difference.
please help.
Re: i can't save punches
You have something seriously wrong with your TimeTrex installation then, I would recommend downloading the full installer from our website again and installing it over top of your existing installation. That should repair any missing files and get you running again.gdevdariani wrote:shaunw wrote:TimeTrex v9.0.10 mistakenly introduced an incompatibility with a small percentage of installations that would prevent punches from being saved. v9.0.11 has been released to correct this issue, so to force an immediate upgrade, please run the following command on your TimeTrex server:
c:\timetrex\php\php.exe c:\timetrex\timetrex\tools\unattended_upgrade.php -f
We are continuing to investigate how this incompatibility made it through our quality assurance testing and we can assure you that we will take all necessary steps to prevent this from happening again in the future.
We sincerely apologize for any inconvenience this has caused, if you have any questions please feel free to contact us.
hp.exe won't open because php5ts.dll file is missing, i tried to download this file and put it into php folder but no difference.
please help.