Author Topic: Warning: strtotime() [function.strtotime]:  (Read 3141 times)

Offline willsam2u

  • Full Member
  • *****
  • Posts: 39
  • Karma: +0/-0
Warning: strtotime() [function.strtotime]:
« on: November 23, 2011, 09:32:43 PM »
phpEnter Web Hosting
Thnks 4 ur CMS
Plz help me
problem in each news

Warning: strtotime() [function.strtotime]: 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 'America/Denver' for 'MST/-7.0/no DST' instead in /................../libs/plugins/shared.make_timestamp.php on line 34

Warning: strftime() [function.strftime]: 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 'America/Denver' for 'MST/-7.0/no DST' instead in ............/libs/plugins/modifier.date_format.php on line 55

Warning: strtotime() [function.strtotime]: 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 'America/Denver' for 'MST/-7.0/no DST' instead in /................./libs/plugins/modifier.timeAgo.php on line 28

Warning: strtotime() [function.strtotime]: 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 'America/Denver' for 'MST/-7.0/no DST' instead in ............libs/plugins/modifier.timeAgo.php on line 28
« Last Edit: January 01, 1970, 03:00:00 AM by Guest »

Offline willsam2u

  • Full Member
  • *****
  • Posts: 39
  • Karma: +0/-0
Re: Warning: strtotime() [function.strtotime]:
« Reply #1 on: November 24, 2011, 08:48:06 PM »
Some one Help me
« Last Edit: January 01, 1970, 03:00:00 AM by Guest »

Offline Michael

  • Full Member
  • *****
  • Posts: 115
  • Karma: +0/-0
Re: Warning: strtotime() [function.strtotime]:
« Reply #2 on: November 24, 2011, 09:28:28 PM »
news.php

Replace this code

Code: [Select]
error_reporting(E_ERROR | E_WARNING | E_PARSE);
with:

Code: [Select]
error_reporting(E_ERROR | E_PARSE);
 ;)
« Last Edit: January 01, 1970, 03:00:00 AM by Guest »

Offline willsam2u

  • Full Member
  • *****
  • Posts: 39
  • Karma: +0/-0
Re: Warning: strtotime() [function.strtotime]:
« Reply #3 on: November 26, 2011, 01:30:53 PM »
Thank u so much
« Last Edit: January 01, 1970, 03:00:00 AM by Guest »

Offline kpshyam

  • Jr. Member
  • *****
  • Posts: 11
  • Karma: +0/-0
Re: Warning: strtotime() [function.strtotime]:
« Reply #4 on: May 01, 2019, 12:04:52 PM »
I am getting the following Warning Message frequently on my website, in fact, this is happening not always but it is intermittent.  Please help me out to resolve this issue.  Thank you.

Warning: strtotime(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/eshorein/public_html/delhimalayalam/libs/plugins/shared.make_timestamp.php on line 37

Warning: strftime(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/eshorein/public_html/delhimalayalam/libs/plugins/modifier.date_format.php on line 55

Offline alexa

  • Administrator
  • Full Member
  • *****
  • Posts: 259
  • Karma: +0/-0
Re: Warning: strtotime() [function.strtotime]:
« Reply #5 on: May 01, 2019, 07:12:50 PM »
Try to put this code in settings.php:

Code: [Select]
date_default_timezone_set('America/New_York');