Time trex maintenance and time zone issues

Topics brought up by the TimeTrex open source community.
Locked
saqib
Posts: 3
Joined: Fri Mar 05, 2010 4:44 am

Time trex maintenance and time zone issues

Post by saqib »

I m new to timetrex . I have installed timetrex at fallowing location for testing purpose
its a linux based webhosting:
http://albertapayroll.com/projects/timetrex/

I have found these two warnings

WARNING: TimeTrex was unable to set your time zone. Please contact your TimeTrex administrator immediately. For more information please click here.
WARNING: TimeTrex maintenance jobs have not run in the last 48hours. Please contact your TimeTrex administrator immediately.

my question is that is these warnings are critical and wt would be there impact ... and wt is the procedure to eliminate these issues. Plz suggest me the detailed steps which i have to fallow to eliminate these warnings

saqib
saqib
Posts: 3
Joined: Fri Mar 05, 2010 4:44 am

Re: Time trex maintenance and time zone issues

Post by saqib »

thank you shaunw:

When i turned on the debugging mode and every thing it states these errors

Debug Buffer
============================================================================
Memory Usage: 7503008 Buffer Size: 13
----------------------------------------------------------------------------
DEBUG [130]: TTDate::setTimeZone(): Setting TimeZone: America/Chicago
DEBUG [80]: [Function](): Bypassing Authentication
DEBUG [419]: TTi18n::chooseBestLocale(): Choosing Best Locale...
DEBUG [427]: TTi18n::chooseBestLocale(): Using Language from cookie: en_US
DEBUG [334]: TTi18n::setLocale(): Generated/Passed In Locale: en_US
DEBUG [270]: TTi18n::generateLocale(): Array of Locales to try in order for "en_US": en_US,en_US.UTF-8,en,en.UTF-8
DEBUG [228]: TTi18n::tryLocale(): Found valid locale: en_US
DEBUG [340]: TTi18n::setLocale(): Attempting to set Locale(s) to: en_US Category: 6 Current Locale:
DEBUG [343]: TTi18n::setLocale(): Setting currency/numeric Locale to: en_US
DEBUG [356]: TTi18n::setLocale(): Setting translator to normalized locale: en_US
DEBUG [376]: TTi18n::setLocale(): Set Master Locale To: en_US
DEBUG [492]: TTi18n::chooseBestLocale(): Using Locale: en_US
DEBUG [305]: TTi18n::getLanguageFromLocale(): Locale: en_US
============================================================================

============================================================================
PROFILER OUTPUT
============================================================================
Calls Time Routine
-----------------------------------------------------------------------------
1 9.1202 ms (10.61 %) Main
13 29.0060 ms (33.76 %) __autoload
1 46.9301 ms (54.62 %) unprofiled

0.8657 ms (1.01 %) Missed
============================================================================
85.9220 ms (100.00 %) OVERALL TIME
============================================================================


but still the warning r same
WARNING: TimeTrex was unable to set your time zone. Please contact your TimeTrex administrator immediately. For more information please click here.
WARNING: TimeTrex maintenance jobs have not run in the last 48hours. Please contact your TimeTrex administrator immediately.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Re: Time trex maintenance and time zone issues

Post by shaunw »

Please follow all the instructions provided at the FAQ entry I previously pointed you to, without that information there isn't much we can do to help you.


You might want to try this FAQ entry as well:
http://forums.timetrex.com/viewtopic.php?f=6&t=40
saqib
Posts: 3
Joined: Fri Mar 05, 2010 4:44 am

Re: Time trex maintenance and time zone issues

Post by saqib »

thanks
timezone problem is solved but wht about this warning

WARNING: TimeTrex maintenance jobs have not run in the last 48hours. Please contact your TimeTrex administrator immediately.

plz help
Nox
Posts: 65
Joined: Tue Nov 04, 2008 1:20 pm

Re: Time trex maintenance and time zone issues

Post by Nox »

you need to create a maintenance job in your crontab. I would link the place I got this information, but I don't remember where I got it.

schedule the job using the apache2 user's crontab:
* * * * * php /var/www/timetrex/classes/modules/core/../../../maint/cron.php > /dev/null 2>&1
Locked