[SOLVED] Error Date_default_timezone_set()

[SOLVED] Error Date_default_timezone_set()
Article
Quote    Download Post  
Post Error Date_default_timezone_set() 
 
Somebody help me with this error?

Code: [Download] [Hide] [Select]
[Icy Phoenix Debug] PHP Notice: in file /includes/emailer.php on line 231: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 'Europe/Berlin' for 'CEST/2.0/DST' instead
[Icy Phoenix Debug] PHP Notice: in file /includes/emailer.php on line 231: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 'Europe/Berlin' for 'CEST/2.0/DST' instead


I'm using Icy Phoenix     1.3.27.80



 
Aleixenandros - Profile PM  
Aleixenandros [ Sat 05 May, 2012 13:22 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


[SOLVED] Error Date_default_timezone_set()
Comments
Quote    Download Post  
Post Re: Error Date_default_timezone_set() 
 
Are you using Xampp or do you have it on a live server?

Can you tell us your php version?

I guess xampp and php 5.3.x
You can edit your php.ini file and put in the following line:
date.timezone = "America/Anchorage"
You can find valid time zone strings at http://nl3.php.net/manual/en/timezones.php



 
TheSteffen - Profile PM  
TheSteffen [ Sat 05 May, 2012 17:16 ]
Quote    Download Post  
Post Re: Error Date_default_timezone_set() 
 
I'm using a web server.

I've already solved, I edited the functions.php file and add the following line:

date_default_timezone_set ('Europe / Madrid');

Greetings!



 
Aleixenandros - Profile PM  
Aleixenandros [ Sat 05 May, 2012 17:23 ]
Quote    Download Post  
Post Re: Error Date_default_timezone_set() 
 
Yes, that should also solve it... thanks for your answer

What php version do you have?



 
TheSteffen - Profile PM  
TheSteffen [ Sat 05 May, 2012 17:35 ]
Quote    Download Post  
Post Re: [SOLVED] Error Date_default_timezone_set() 
 
My PHP Version is 5.3.10

You can see here:

h**p://***.x-tremeforos.es/phpinfo.php



 
Aleixenandros - Profile PM  
Aleixenandros [ Sat 05 May, 2012 18:00 ]
Quote    Download Post  
Post Re: Error Date_default_timezone_set() 
 
I remember having that problem when running PHP on windows. (Some reason Linux never complains about that)
Glad you figured it out though.



 
Hans - Profile PM  
Hans [ Wed 09 May, 2012 19:27 ]
Display posts from previous:    
HideWas this topic useful?
Post new topic  Reply to topic  Page 1 of 1
 
 




 
   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Design by DiDiDaDo

Generation Time: 0.1846s (PHP: 39% SQL: 61%)
SQL queries: 15 - Debug On - GZIP Enabled