icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Reseller Hosting » Strict standards error

Reseller Hosting Questions about your reseller hosting account.

Reply
 
LinkBack Thread Tools Search this Thread
Old April 9th, 2008, 11:55 AM   #1 (permalink)
SMF SS
Seasoned Poster
 
bigguy's Avatar
 
Joined in Sep 2006
Lives in Canada
Hosted on dimenoc
81 posts
Gave thanks: 1
Thanked 0 times
Exclamation Strict standards error

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.
__________________
For any help with SMF why not try this out
SMF Helper

Last edited by bigguy; April 9th, 2008 at 11:56 AM.
bigguy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9th, 2008, 11:59 AM   #2 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
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.
__________________
Roxanne


Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9th, 2008, 12:10 PM   #3 (permalink)
SMF SS
Seasoned Poster
 
bigguy's Avatar
 
Joined in Sep 2006
Lives in Canada
Hosted on dimenoc
81 posts
Gave thanks: 1
Thanked 0 times
I don't have an original one.....where does this go in my public_html directory. Sorry for the stupid question.
__________________
For any help with SMF why not try this out
SMF Helper
bigguy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9th, 2008, 12:28 PM   #4 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,656 posts
Gave thanks: 81
Thanked 128 times
Where the files for your SMF are located and no worries, its not a stupid question. =)
__________________
Roxanne


Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9th, 2008, 12:34 PM   #5 (permalink)
SMF SS
Seasoned Poster
 
bigguy's Avatar
 
Joined in Sep 2006
Lives in Canada
Hosted on dimenoc
81 posts
Gave thanks: 1
Thanked 0 times
Ok, that didn't do anything. Is there something in it I have to set. ??? Is there a place to set a timezone. ???
__________________
For any help with SMF why not try this out
SMF Helper
bigguy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9th, 2008, 12:44 PM   #6 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
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/
__________________
Roxanne


Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
This user thanks Roxy for this great post!
bigguy (April 9th, 2008)
Old April 9th, 2008, 12:51 PM   #7 (permalink)
SMF SS
Seasoned Poster
 
bigguy's Avatar
 
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.
__________________
For any help with SMF why not try this out
SMF Helper
bigguy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9th, 2008, 12:51 PM   #8 (permalink)
Registered User
On a golden path...
 
SnakeMan's Avatar
 
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"));
?>
Just go here: PHP: List of Supported Timezones - Manual
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
SnakeMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
This user thanks SnakeMan for this great post!
Roxy (April 9th, 2008)
Old April 9th, 2008, 12:54 PM   #9 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,656 posts
Gave thanks: 81
Thanked 128 times
Thanks SnakeMan! Hopefully that can fix it.
__________________
Roxanne


Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On