Zen Cart Logo
Forums / General Questions / Can't login after upgrade to php5.3

Can't login after upgrade to php5.3

Views: 636

Results 1 to 3 of 3
23 Aug 2012, 2:06 PM
#1
polygone avatar

polygone

New Zenner

Join Date:
Jan 2008
Location:
Toronto
Posts:
73
Plugin Contributions:
0

Can't login after upgrade to php5.3

ZC1.3.9h - Hostagator VPS - Hostgator upgraded us to php5.3 last night. Everything fine on the outside but trying to log into admin gets me: "There was a security error when trying to login."

23 Aug 2012, 8:30 PM
#2
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Can't login after upgrade to php5.3

Ok what have you tried?

  1. Have you cleared all browser cookies/cache on your computer, or tried with a different browser
  2. Are there any error messages appearing in the zencart error cache on your site
  3. What mods do you have on yoursite, as not all mods are php 5.3 compatible
23 Aug 2012, 9:10 PM
#3
polygone avatar

polygone

New Zenner

Join Date:
Jan 2008
Location:
Toronto
Posts:
73
Plugin Contributions:
0

Re: Can't login after upgrade to php5.3

Thank you for the suggestions. It did turn out to be about the cookies. I just received this email from hostgator support:

"I was able to track down this issue to the new default php.ini file which has the following variable set:
session.use_only_cookies = 1

This was causing a session conflict, since zen cart was using the database for session management. I changed the above value to "0" and the admin panel is now loading."

Problem solved.