Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 5th December 2011, 02:18
nsansari nsansari is offline
Junior Member
Join Date: Mar 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default upgrade to time problems

I'm running Ubuntu server hardy.

Just upgraded to and all seems good except one problem with time. I'm getting following message at bottom of all pages on the control panel.

Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /usr/local/ispconfig/interface/lib/classes/session.inc.php on line 90

I also have open cart running on one of the websites and time seems to have been messed up on there as well. I've checked the time on the server at that is OK.

Any one have any idea ?

Thanks in advance
Reply With Quote
Sponsored Links
Old 5th December 2011, 05:32
pititis pititis is offline
Senior Member
Join Date: Dec 2010
Location: München
Posts: 364
Thanks: 39
Thanked 89 Times in 68 Posts


I think your date.timezone is empty in your php.ini

You must set it, example:

date.timezone = "Europe/Berlin"
More timezones here:


Reply With Quote
Old 7th December 2011, 00:36
nsansari nsansari is offline
Junior Member
Join Date: Mar 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks pititis, that has fixed the problem, that line was actually commented out, so just removed the comment and added GMT.

Now wonder why this opencart website has still got the wrong time, its showing as 2012, I guess thats a question for their forum.

Thanks again
Reply With Quote


Tags, time

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirect Problems in ISPConfig midcarolina General 0 27th November 2011 18:34
Server time sync problems CSsab Tips/Tricks/Mods 0 1st August 2011 18:43
Hacked server Captain Installation/Configuration 8 23rd December 2010 11:39
Problems installing LAMP - MySQL and PHP5 JosBR Server Operation 5 19th December 2009 22:00
Ubuntu 9.10 Upgrade - Now I have DNS problems DantePasquale General 4 15th December 2009 17:12

All times are GMT +2. The time now is 17:32.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.