Attention

If your Photo Cart is suddenly getting a 500 error or only displaying a blank page then you or your hosting company has updated the PHP (programming language) to PHP 7 which Photo Cart is not compatible with (and will not be compatible with) mainly because of the removal of the my_sql functions which are replaced with my_sqli functions. 

You would need to have the PHP version downgraded to 5.6 in order for Photo Cart to work. If downgrading the PHP doesn't work then you may have to update Photo Cart to the last version of 7. Download Photo Cart 7 upgrade files. Upgrade instructions.

Photo Cart was retired in 2015. Check out Sytist.

Please log in or Create an account to post or reply to topics.
You will still receive notifications of replies to topics you are part of even if you do not subscribe to new topic emails.

Warning Date() Error Everywhere!!!

A
31 posts
Wed Feb 25, 15 2:01 PM CST
We have suddenly got a screen full of error messages on the back end of Photo Cart.
The client side all seems to be ok.

The error messages are all like the following:
Warning: date() [function.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 'UTC' for 'GMT/0.0/no DST' instead in /var/www/vhosts/anaphotography.co.uk/httpdocs/photocart/admin/galleries/galleries.home.php on line 43

As far as I know, no settings have been changed on the server which will effect this.
Any help would be appreciated!!!
A
31 posts
Wed Feb 25, 15 2:07 PM CST
I tell a lie. It is affecting any NEW galleries posted, on the client side.

Error:
Warning: mktime() [function.mktime]: 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 'UTC' for 'GMT/0.0/no DST' instead in /var/www/vhosts/anaphotography.co.uk/httpdocs/photocart/galleries/galleries.view.php on line 160

Warning: date() [function.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 'UTC' for 'GMT/0.0/no DST' instead in /var/www/vhosts/anaphotography.co.uk/httpdocs/photocart/galleries/galleries.view.php on line 160

Warning: date() [function.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 'UTC' for 'GMT/0.0/no DST' instead in /var/www/vhosts/anaphotography.co.uk/httpdocs/photocart/galleries/galleries.view.php on line 167
A
31 posts
Wed Feb 25, 15 2:14 PM CST
Me again.
Found the post to fix this, with adding the line of code into the setup.php
However, I now have a time for Los Angeles, instead of GMT / UTC
I tried setting it to 'UTC' but this didn't work.
Could you please let me know the line code to replace the following, so it will work for UK time?

date_default_timezone_set('America/Los_Angeles');

Many thanks,
=)
16,216 posts (admin)
Thu Feb 26, 15 5:43 AM CST
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
4 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 1,093 times
Category: Error
 
Loading more pages
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 - 2021 Grissett, LLC. All Rights Reserved.

By continuing to browse or by clicking Accept Cookies, you agree to the storing of cookies on your device necessary to provide you with the services available through our website.

    Accept   Privacy & Cookie Policy
Loading More Photos
Scroll To Top
Close Window
Loading
Close