I Am Getting A Warning Date(): It Is Not Safe To Rely On The System's Timezone

 
Please log in or Create an account to post or reply to topics.
 
Tim - PicturesPro.com
admin
Mon Dec 23, 13
1:01 PM
This error can be caused by the hosting company upgrading PHP on the server but not setting the time zone. Either contact your hosting company with the error so they can fix it or do the following:

1) Download the setup.php file from your Photo Cart to your computer and open it in a text editor.
2) Add the following line of code right after the <?php at the beginning of the file.

date_default_timezone_set('America/Los_Angeles');

3) Save and re-upload the file to your Photo Cart folder overwriting the existing one.
Edited Mon Dec 23, 13 3:09 PM by Tim - PicturesPro.com
 
 
 
 
 
Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com
jeri hoag
Mon Jan 18, 16
1:36 PM
Tim, can you please tell me where I find the setup.php file to download it? I've searched for it and can't find it. I had you install Photo Cart for me so could that be why I can't find it?

Thanks!
Tim - PicturesPro.com
admin
Mon Jan 18, 16
2:23 PM
You will need to either connect to your website with a FTP program like Filezilla and download the file from your website or you can log into your hosting control and go to the File Manager and then edit that file from there.
 
 
 
 
 
Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com
Kristen Morgan
Mon Jan 18, 16
4:17 PM
I made the correction above, but that has only fixed the error on the home page. Now I am still getting the error on all of my other pages and it says to correct line 33, 43, 52, 72, 79...
Tim - PicturesPro.com
admin
Tue Jan 19, 16
7:28 AM
If you are still getting the error, then you haven't added that line of code at the beginning of the setup.php file after the <?php
Edited Tue Jan 19, 16 7:29 AM by Tim - PicturesPro.com
 
 
 
 
 
Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com
jeri hoag
Tue Jan 19, 16
1:23 PM
Having no coding experience I had no idea where to look after going to the file manager. I was finally able to get someone from bluehost to help me though and so it's all fixed finally. Thanks so much for your help, Tim. Much appreciated.
Ruth Colby
Sun Feb 19, 17
9:09 PM
I'm getting the same error all over my website, I followed the above mentioned instructions, but it's not fixing my problem. Any other ideas??
Kori Henry
Tue Jun 06, 17
3:54 PM
All of my website keeps going blank. Bluehost says that the PHP for PhotoCart is out of date and has advised me to start trying to move to a more current site. I can't get Sylist to work for me like photocart always has. Can we not pay for continued support and PHP updates?
Tim - PicturesPro.com
admin
Thu Jun 08, 17
6:29 AM
Looks like you are using Photo Cart 5. So if your pages are blank, see this:
https://www.picturespro.com/support-forum/photo-cart/?t=10475-all-of-a-sudden-my-photo-cart-pages-are-blank
 
 
 
 
 
Tim Grissett, DIA - PicturesPro.com || My Email Address: info@picturespro.com

Loading more pages
Sign up for email promotions.
Your information is safe with us and won't be shared.
Thank you for signing up!
 
©2003 - 2017 Grissett, LLC. All Rights Reserved.
Loading More Photos
Scroll To Top
Close Window
Loading
Close