| Reseller Hosting Questions about your reseller hosting account. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
SMF SS
Seasoned Poster
Joined in Sep 2006
Lives in Canada
Hosted on dimenoc
81 posts
Gave thanks: 1
Thanked 0 times
|
I am on pass65 and last night I had to put in a support ticket for something and was told php was being upgraded. Now I am getting this error on my front page:
Strict Standards: strftime() [function.strftime]: 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 'America/New_York' for 'EDT/-4.0/DST' instead in This is what I get when I use the SSI feature of SMF for my front page. When I checked over at Simple Machines for a fix this is what I found: your php configuration doesn't set a timezone, is whats happening. SMF by default will use whatever php uses as a timezone. you should ask your host to specify the timezone in the php.ini Is this what is happening and can this be fixed or looked into. I can put in a ticket to the help desk cause all my info is on my other computer; which just crashed. Any help would be great.
__________________
Last edited by bigguy; April 9th, 2008 at 11:56 AM. |
|
|
|
|
|
#2 (permalink) |
|
URB4N 5K1LLZ
Super #1
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,656 posts
Gave thanks: 81
Thanked 128 times
|
Try using this php.ini file [MAJOR Changes] New servers installed with PHP5/MySQL5
Make sure to keep a back up of your original one, though, just in case. Hopefully it works. |
|
|
|
|
|
#6 (permalink) |
|
URB4N 5K1LLZ
Super #1
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,656 posts
Gave thanks: 81
Thanked 128 times
|
Hmm, not sure. For now, I would submit a ticket to the help desk and see if they can help you out. Sorry. =(
http://desk.surpasshosting.com/ |
|
|
|
| This user thanks Roxy for this great post! | bigguy (April 9th, 2008) |
|
|
#7 (permalink) |
|
SMF SS
Seasoned Poster
Joined in Sep 2006
Lives in Canada
Hosted on dimenoc
81 posts
Gave thanks: 1
Thanked 0 times
|
No need to be sorry. Thanks for all the help. I have the error bypassed for now but thatis only a quick fix. When I get my other computer running again I will submit a ticket. Thanks again.
__________________
|
|
|
|
|
|
#8 (permalink) |
|
Registered User
On a golden path...
Joined in Sep 2005
Lives in The Mountains
Hosted on Pass43
316 posts
Gave thanks: 15
Thanked 13 times
|
Or make a php.ini file and put this in it:
Code:
<?php
echo(date_default_timezone_set("Europe/Paris"));
?>
to get the correct name to substitue for "Europe/Paris" above. Then put this php.ini file in your root SMF folder, I believe. SnakeMan |
|
|
|
| This user thanks SnakeMan for this great post! | Roxy (April 9th, 2008) |