strtotime error

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-12-2009, 07:24 PM
New Pligger
 
Join Date: Nov 2009
Posts: 1
Hi,
I had Pligg! running on a local server and it was not used for a couple of months. When I checked recently, I got a pagefull of this warning across multiple files wherever strtotime() is called.


Warning: strtotime() [function.strtotime]: 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 had to select 'UTC' because your platform doesn't provide functionality for the guessing algorithm in /space/netsite-pligg/libs/utils.php on line 76


Does anybody know how to fix this problem or to turn off the warning?
Reply With Quote
  #2 (permalink)  
Old 11-13-2009, 12:29 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
What version of Pligg are you running? 1.0.2 we turned off PHP error message reporting. You may also benefit from setting Admin > Configure > Misc > Timezone offset

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
Reply

Tags
strtotime, warning, warnings turn off

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Syntax error in pligg.tpl and home page error kryandro Questions and Comments 4 12-15-2010 08:27 AM
Internal server error pligger2 Questions and Comments 1 10-19-2007 06:11 AM
Pligg 9.5 Beta: 500 Internal Server Error!!!! Genghis Questions and Comments 0 05-02-2007 04:10 AM
Got This Parse Error on c_ file on line 141 endph Questions and Comments 0 02-14-2007 07:44 PM
error when upgrade to 226 mhpligg Questions and Comments 2 09-12-2006 04:40 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development