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, 1:15 PM   #10 (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 am using the php.ini file that Roxy linked to. Were would I put it in that file.
__________________
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, 1:35 PM   #11 (permalink)
Registered User
Comfy Contributor
 
SnakeMan's Avatar
 
Joined in Sep 2005
Lives in The Mountains
Hosted on Pass43
282 posts
Gave thanks: 13
Thanked 12 times
Just copy the code from my post into notepad and then save the file as php.ini.

Then upload it to your SMF root folder.
SnakeMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9th, 2008, 1:41 PM   #12 (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, I did that and no change.
__________________
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, 2:22 PM   #13 (permalink)
Registered User
Comfy Contributor
 
SnakeMan's Avatar
 
Joined in Sep 2005
Lives in The Mountains
Hosted on Pass43
282 posts
Gave thanks: 13
Thanked 12 times
My code was wrong... use this:

Code:
[php]
echo(date_default_timezone_set("Europe/Paris"));
Then go here: PHP: List of timezones in the group America - Manual to get the correct name to substitue for "Europe/Paris" above.

Then save the file as php.ini and upload it to your SMF root folder.

Sorry for the confusion in my previous post. I believe this should do the trick for you.

SnakeMan
SnakeMan is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9th, 2008, 2:50 PM   #14 (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 I just tried that as well and it still did not work.
__________________
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, 10:49 PM   #15 (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
Anyone else have any ideas.
__________________
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 10th, 2008, 12:25 AM   #16 (permalink)
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
934 posts
Gave thanks: 2
Thanked 94 times
date_default_timezone_get() & date_default_timezone_set() are for use in individual scripts only.

To set a default value for your virtual server by using a php.ini file in your public_html directory, use:
Code:
 
date.timezone = "America/New_York"
for Eastern time.

America/Chicago for Central time,
America/Denver for Mountain time, &
America/Vancouver for Pacific time.
etc. from the list.

These are all for PHP 5.1.0 and above.
__________________
Where would you be if you were at the highest court in the land (US)?
cowboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 10th, 2008, 12:54 AM   #17 (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
Thanks I will give that a shot tonight or tomorrow and post back.
__________________
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 14th, 2008, 2:58 PM   #18 (permalink)
Registered User
Comfy Contributor
 
robinson.jason's Avatar
 
Joined in Jun 2006
Lives in Idaho
Hosted on PASS61
192 posts
Gave thanks: 16
Thanked 2 times
It sounds like PHP debug is turned on so that errors are displayed. The quick fix is to turn off debug mode, but that doesn't solve the problem of the server not knowing what time zone it is in.
robinson.jason 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