Jump to content

No longer able to log into admin


joelsawyer

Recommended Posts

Recently upgraded from an super old version of CubeCart (v3 I believe) to 6.2.1. Everything went great and had no issues logging into the admin after the upgrade. Then yesterday I tried to access the admin again (after not working on this project for a few days), but it's not letting me in. I enter my username and password, but get redirected back to the same login screen with no error message. Screenshot:

image.png.a41d7a77bfa76781c5bbc841ce2d6f44.png

 

Haven't not touched anything for a few days, I'm confused why my admin login suddenly stopped working. I've tried multiple things, but nothing has worked so far.

  • Confirmed that the admin variables in global.inc.php match the page I'm going to
  • Cleared all the caches I could think of (deleted browser cookies and cache as well as deleted the contents of the /store/cache directory via FTP)
  • Tried multiple admin users (three of which I was able to access last week)
  • Reset password for my admin account manually (added new password in the database, cleared the salt field, and changed new_password to 0)
  • Made sure that the CubeCart_blocker table was cleared out
  • Upgraded to the latest version 6.2.2 (from 6.2.1) and still no change. Grasping at straws at this point.

Here's a few clues I've noticed:

  • I was unable to login using Chrome (my default browser) or Safari. But funny enough, Firefox let me log in yesterday afternoon! But alas, today I tried to login via Firefox and it's giving me the same issue of redirecting to the login screen.
  • When I manually reset my password again this morning (with salt field empty), after attempting to login, the database still has the salt field empty, so it doesn't seem like it's even trying to login (access the db).

Any idea on where to go from here?  Appreciate any help!

Link to comment
Share on other sites

check cookie domain is valid in store settings. this ALWAYS screws up my local installs :)

Also, check your web server error log, (not CubeCart one), there may be some clues. If it worked in FF, but no other browsers, pretty sure it's cookie domain related. try adding the site to your list of trusted sites, might bypass the cookie checks.

Link to comment
Share on other sites

Thanks @noodleman for the tip. But how do I check the cookie domain if I can't access the admin?

Nevermind, I figured out how to get in. Had to use the IP address instead of the normal URL.  Now that I'm in, I agree that it's the cookie domain that's been the issue.

Now to figure out how to get a shared SSL cert working.

Thanks again, @Noodleman

Link to comment
Share on other sites

A hosting company that couldnt handle updated CubeCart ?  Really ? They must have been running a VERY old version of PHP as cant see any other reason why that would be the case - in which case you are far better off away from them.  Shame you have only just moved - should have checked out our self-managed and fully-managed CubeCart hosting plans - we even do the whole move for you !  If not too late and want to come to a specialist hosting company, then get in touch and sure we can work something out

Ian

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...