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.

Can Not Log In To Admin After Server Move

j
13 posts
Thu Nov 03, 16 10:22 AM CST
I recently moved everything to a new server,
I have imported old DB into a new DB with a new user and can now access Photocart, however I can not login as admin.
/photocart/admin/manage.php

I do not get an error message, and it just refresh the page when I attempt to log in.
I tried adding the 2 lines suggested in without success.

I was able to login into a test account so I think the clients should be able to log in... but I can not.

I tried the lost password link and entered what should be the correct email address and get the message:
"Sorry, that email address does not match. Please try again."
16,760 posts (admin)
Thu Nov 03, 16 11:41 AM CST
Edit the setup.php file inside the Photo Cart folder.

If you see these to lines:

ini_set('session.gc_maxlifetime', 1800);
ini_set('session.save_path', $setup['path']."/sessions");

Remove them.

if it doesn't have those 2 lines:

Create a new folder inside your Photo Cart folder named: sessions (if one does not exist)

Edit the setup.php file.

Add the following 2 lines of code on a blank line before the closing PHP tag ?>

ini_set('session.gc_maxlifetime', 1800);
ini_set('session.save_path', $setup['path']."/sessions");
Tim Grissett, DIA - PicturesPro.com
My Email Address: info@picturespro.com
j
13 posts
Thu Nov 03, 16 11:53 AM CST
Aaahhh OK I had read in another post with a similar problem that maybe I needed to add those two lines... so I added them.

I have now removed them and went right in... Perfect! Thank you
3 total messages
Please log in or Create an account to post or reply to topics.
This post has been viewed 2,851 times
Category: Installation
 
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