Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

PurplRose
Starting Member

USA
23 Posts

Pre-sales questions only
(More Details...)

Posted - 08/15/2020 :  17:34:07  
This is something new for me. I getting on a just set up cart.

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.

Where do I go to fix this issue?

Karen

ITZAP
Ecommerce Template Guru

Australia
1018 Posts

Posted - 08/15/2020 :  19:15:04  
Karen, I find the easiest way to set the correct local Timezone is to open your includes.php configuration file and, near the very top, add an entry like this:

date_default_timezone_set('America/New_York');

The full list of PHP Timezones you can enter are listed here >>

Gary

PurplRose
Starting Member

USA
23 Posts

Pre-sales questions only
(More Details...)

Posted - 08/15/2020 :  19:36:51  
I added it I still getting an error. Here is the full error.


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/racediecast/public_html/vsadmin/inc/incloginfunctions.php on line 51

and
Ecommerce Plus PHP v7.1.10

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/racediecast/public_html/vsadmin/inc/incloginfunctions.php on line 108

dbdave
ECT Moderator

USA
10468 Posts

Posted - 08/15/2020 :  20:42:13  
Hi, this does come up from time to time and this thread has some good suggestions - https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=109335

Another thread - https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=109548

And another - https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=108738

Please check the syntax and make sure the file is being uploaded to the correct location on the server.

Please post back to let us know if it's working.

Thanks,
David

PurplRose
Starting Member

USA
23 Posts

Pre-sales questions only
(More Details...)

Posted - 08/16/2020 :  06:34:37  
I check out my includes.php page just now. And found I had put date_default_timezone_set(' America/Chicago'); once I close up the spaces, it worked.

Thanks for the replys

K

PurplRose
Starting Member

USA
23 Posts

Pre-sales questions only
(More Details...)

Posted - 08/16/2020 :  06:43:11  
I check out my includes.php page just now. And found I had put date_default_timezone_set(' America/Chicago'); once I close up the spaces, it worked.

Thanks for the quick reply

K

dbdave
ECT Moderator

USA
10468 Posts

Posted - 08/16/2020 :  06:44:06  
Thanks for the reply.

David
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000