Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UTC problem I can't solve
#1
Hi,

I have a getsimple 3.3.7 installation, previously it was installed in vestacp using centos 6, now I installed vestacp in CENTOS 7 X86_64 and I noticed that since I installed it in the new operating system I have the errorlog.txt in /data/other/logs which has become 600MB in a few days,

The repeted error is the following:
PHP 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/admin/web/mysite.tld/public_html/plugins/news_manager/inc/functions.php on line 25

Line 25 in /home/admin/web/mysite.tld/public_html/plugins/news_manager/inc/functions.php is the following:

if ($all || $item->private != 'Y' && strtotime($item->date) < $now)

I tried to change this line by placing my UTC here and there but the error still remain.

Does anybody knows how to modify that line?

I thank you in advance

P.S. newsmanager version is 3.2.2
Reply


Messages In This Thread
UTC problem I can't solve - by Harry77 - 2015-12-11, 02:42:45
RE: UTC problem I can't solve - by Carlos - 2015-12-11, 03:55:07
RE: UTC problem I can't solve - by Harry77 - 2015-12-11, 17:35:23
RE: UTC problem I can't solve - by shawn_a - 2015-12-11, 22:47:19
RE: UTC problem I can't solve - by Harry77 - 2015-12-12, 13:36:50



Users browsing this thread: 2 Guest(s)