Posts: 102
Threads: 10
Joined: Mar 2010
2020-04-02, 21:12:54
(This post was last modified: 2020-04-04, 03:08:15 by chefbyte.)
Getting this all over my pages?
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 /plugins/news_manager/inc/functions.php on line 18
Line states:
Code:
if ($all || $item->private != 'Y' && strtotime($item->date) < $now)
see peteberry.co.uk for examples
Pete
Chefbyte Services
Posts: 423
Threads: 15
Joined: Mar 2011
(2020-04-02, 21:12:54)chefbyte Wrote: Getting this all over my pages?
How did you resolve it
the last time?
Have you made any changes to your installation since then? If not, has your hosting provider made changes?
--
Nick.
Posts: 102
Threads: 10
Joined: Mar 2010
(2020-04-03, 01:03:12)hameau Wrote: (2020-04-02, 21:12:54)chefbyte Wrote: Getting this all over my pages?
How did you resolve it the last time?
Have you made any changes to your installation since then? If not, has your hosting provider made changes?
I did not solve it last time as i neglected the site for a long time due to illness.
Just changed the timezone in GS settings to GMT yet again and lo and behold it now works?
Case closed me thinks
Pete
Chefbyte Services
Posts: 102
Threads: 10
Joined: Mar 2010
(2020-04-04, 03:07:49)chefbyte Wrote: (2020-04-03, 01:03:12)hameau Wrote: (2020-04-02, 21:12:54)chefbyte Wrote: Getting this all over my pages?
How did you resolve it the last time?
Have you made any changes to your installation since then? If not, has your hosting provider made changes?
I did not solve it last time as i neglected the site for a long time due to illness.
Just changed the timezone in GS settings to GMT yet again and lo and behold it now works?
Case closed me thinks
Spoke too soon, its back this morning
Pete
Chefbyte Services
Posts: 423
Threads: 15
Joined: Mar 2011
2020-04-05, 01:00:11
(This post was last modified: 2020-04-05, 01:00:41 by hameau.)
(2020-04-04, 18:01:42)chefbyte Wrote: Just changed the timezone in GS settings to GMT yet again and lo and behold it now works?
Do you mean in gsconfig.php or the Settings page in the Admin interface?
(2020-04-04, 18:01:42)chefbyte Wrote: Spoke too soon, its back this morning
Looking in the Web Archive, the problem started in 2017 – it was fine in June, but broken in September.
A lot has happened since then and I'd recommend backing up the site and reinstalling with current versions of GS and plugins. If you really don't want to do that, you'll have to manually update (GS + plugins), but be extra careful about making sure that you have up-to-date versions of gsconfig.php and .htaccess (both in the site root directory).
--
Nick.