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

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

I'm running Ubuntu server hardy.


Just upgraded to 3.0.4.1 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
  #2  
Old 5th December 2011, 04:32
pititis pititis is offline
Senior Member
 
Join Date: Dec 2010
Location: München
Posts: 364
Thanks: 39
Thanked 90 Times in 68 Posts
Default

Hi,

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

You must set it, example:

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

http://php.net/manual/en/timezones.php

Cheers
Reply With Quote
  #3  
Old 6th December 2011, 23:36
nsansari nsansari is offline
Junior Member
 
Join Date: Mar 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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
Reply

Bookmarks

Tags
3.0.4.1, 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 3.0.4.1 midcarolina General 0 27th November 2011 17:34
Server time sync problems CSsab Tips/Tricks/Mods 0 1st August 2011 17:43
Hacked server Captain Installation/Configuration 8 23rd December 2010 10:39
Problems installing LAMP - MySQL and PHP5 JosBR Server Operation 5 19th December 2009 21:00
Ubuntu 9.10 Upgrade - Now I have DNS problems DantePasquale General 4 15th December 2009 16:12


All times are GMT +2. The time now is 12:18.


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