joelsawyer Posted August 17, 2018 Share Posted August 17, 2018 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: 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 More sharing options...
Noodleman Posted August 17, 2018 Share Posted August 17, 2018 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 More sharing options...
joelsawyer Posted August 17, 2018 Author Share Posted August 17, 2018 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 More sharing options...
havenswift-hosting Posted August 17, 2018 Share Posted August 17, 2018 27 minutes ago, joelsawyer said: Now to figure out how to get a shared SSL cert working. Dont ever used a shared SSL - one of the worst things ever "invented". Many hosting companies are providing SSL certificates now and you can always get a free one yourself from Let's Encrypt Link to comment Share on other sites More sharing options...
joelsawyer Posted August 17, 2018 Author Share Posted August 17, 2018 Yeah, I'm figuring out that a shared cert won't cut it @havenswift-hosting Was hoping I could get away with CloudFlare's simple SSL setup. Will play with Let's Encrypt and get things configured properly. Link to comment Share on other sites More sharing options...
Noodleman Posted August 17, 2018 Share Posted August 17, 2018 just get free ones from lets-encrypt unless your host doesn't support it. in which case, suggest moving hosting as it would save you £££ over the year Link to comment Share on other sites More sharing options...
joelsawyer Posted August 17, 2018 Author Share Posted August 17, 2018 Hopefully it does, because I JUST switched hosting providers because the old one couldn't handle the updated CubeCart versions. I REALLY don't want to have to do that again any time soon. Link to comment Share on other sites More sharing options...
havenswift-hosting Posted August 17, 2018 Share Posted August 17, 2018 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.