Date warning

Post Reply
Brett
Posts: 31
Joined: Wed Dec 18, 2013 10:21 pm

Date warning

Post by Brett »

Is there a fix for this without editing php.ini?

Warning: date(): 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/New_York' for 'EST/-5.0/no DST' instead in /home/admin/sites/public_html/tube/scj/includes/libs/rot_functions.php on line 0 Warning: date(): 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/New_York' for 'EST/-5.0/no DST' instead in /home/admin/sites/public_html/tube/scj/includes/libs/rot_functions.php on line 0 Warning: date(): 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/New_York' for 'EST/-5.0/no DST' instead in /home/admin/sites/public_html/tube/scj/includes/libs/rot_functions.php on line 0 Warning: date(): 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/New_York' for 'EST/-5.0/no DST' instead in /home/admin/sites/public_html/tube/scj/includes/libs/rot_functions.php on line 0 Warning: date(): 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/New_York' for 'EST/-5.0/no DST' instead in /home/admin/sites/public_html/tube/scj/includes/libs/rot_functions.php on line 0 Warning: date(): 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/New_York' for 'EST/-5.0/no DST' instead in /home/admin/sites/public_html/tube/scj/includes/libs/rot_functions.php on line 0 Warning: date(): 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/New_York' for 'EST/-5.0/no DST' instead in /home/admin/sites/public_html/tube/scj/includes/libs/rot_functions.php on line 0 Warning: date(): 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/New_York' for 'EST/-5.0/no DST' instead in /home/admin/sites/public_html/tube/scj/includes/libs/rot_functions.php on line 0
admin
Site Admin
Posts: 37995
Joined: Wed Sep 10, 2008 11:43 am

Re: Date warning

Post by admin »

Try update.
Don't forget to run script update
Brett
Posts: 31
Joined: Wed Dec 18, 2013 10:21 pm

Re: Date warning

Post by Brett »

I have the newest version.
Brett
Posts: 31
Joined: Wed Dec 18, 2013 10:21 pm

Re: Date warning

Post by Brett »

What do I tell the host to fix this?
admin
Site Admin
Posts: 37995
Joined: Wed Sep 10, 2008 11:43 am

Re: Date warning

Post by admin »

How do you know that it's the latest version ?
Don't forget to run script update
Brett
Posts: 31
Joined: Wed Dec 18, 2013 10:21 pm

Re: Date warning

Post by Brett »

It's a fresh install and I don't see any messages about updates.
admin
Site Admin
Posts: 37995
Joined: Wed Sep 10, 2008 11:43 am

Re: Date warning

Post by admin »

I see.
So when you open "home" screen do you see 'your last update section' ?
Don't forget to run script update
Brett
Posts: 31
Joined: Wed Dec 18, 2013 10:21 pm

Re: Date warning

Post by Brett »

Ok you were right. I was on update 49. I had the host update to 50 but now there are more problems. Still getting those date errors.The category thumbs on the main page are missing. The categories css isn't loading. I'll pm you the url so you can look.
Brett
Posts: 31
Joined: Wed Dec 18, 2013 10:21 pm

Re: Date warning

Post by Brett »

I deleted the cache and the pages are all working correctly again.

The date warning at the top of every page is still there though.
admin
Site Admin
Posts: 37995
Joined: Wed Sep 10, 2008 11:43 am

Re: Date warning

Post by admin »

Sorry, in this case I guess we have to " You are *required* to use the date.timezone "
Don't forget to run script update
Post Reply