0
I have discovered that the timestamps on the logins displayed in the admin area are exactly 5 hours behind our current time.
My Joomla server time is set to Detroit and my hosting company sets the server to central standard time, so I can't figure out the 5 hour difference.
Do you have any ideas?
My Joomla server time is set to Detroit and my hosting company sets the server to central standard time, so I can't figure out the 5 hour difference.
Do you have any ideas?
Responses (9)
-
Accepted Answer
0hello,
this means your server is located 5hours behind your location. in other words, your server's timestamp is 5hours behind of you. the stats record each entry based on the server's timestamp (of course!)
when you say "your joomla server time" is set to Detroit, you mean this is a joomla parameter? the timestamp used is always the server one, so... really the first thing I can say is: your server timestamp is not what your hosting company says it is.. is that possible?
by the way: the timestamp is actually recorded by the MySQL system (not PHP). with this I mean that maybe the PHP settings are set to central standard time, but it could be that the MySQL settings are setted differently (5hours behind). could you check this?
thanks!
Germi -
Accepted Answer
0If you host server provider allows you to set a personalized php.ini file, you have to set here the correct timezone managment (which is absentee at most of the mutual hosting providers using Plesk, CPanel...)
If you can't do that properly, the solution consists in adding at the end of
/includes/defines.php
and
/administrator/includes/defines.php
the following line :
date_default_timezone_set( 'Europe/Paris' ) ;
(that's for me, for you, set your own timezone, here is the official list
www.php.net/manual/fr/timezones.php )
Hope I understood correctly the subject and hope that can help ?! -
Accepted Answer
-
Accepted Answer
0After an hour with a tech support person at my hosting company yesterday, he said that the php server and the mysql server were set to CST time and that he can't manually adjust them. He tried using the htaccess file as I had but it didn't work any better for him than it did me. He had no explanation for the 5 hour difference when there is only a 1 hour difference between EST and CST. He even checked my joomla settings and confirmed my setting were correct.
I guess I am stuck manually adjusting the time. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »