Photo Cart is retired. Check out Sytist.

Can Not Log In To Admin After Server Move

Please log in or Create an account to post or reply to topics.
13 posts
Thu Nov 03, 16
10:22 AM
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.

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."
Tim -
10513 posts
Thu Nov 03, 16
11:41 AM
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 - || My Email Address:
13 posts
Thu Nov 03, 16
11:53 AM
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
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 - 2018 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