Jump to content

Its Been A Mess - Can't Logon to Admin


Bob La Londe

Recommended Posts

I've spent several days trying upgrade from 6.4.5 to 6.5.1.  Its been a mess and I finally gave up.  I deleted the installation (saved the database), and figured I'd try a new installation.  I uninstalled the existing installation using Softaculous.  Even that was messy, but eventually I got it uninstalled and all remnants removed.  (except the My SQL database.)  My thought was I'd try to reupload all my image files and switch back to the old database after I had a latest version working installation.   During the Softaculous installation it told me that I needed to be running a more current version of PHP.  I went to the PHP manager and switched that website from PHP 7.4 to PHP 8.1 and then proceeded to do a new installation of CubeCart 6.5.1 using Softaculous.  

Finally it appeared to be working if I was in the business of showing pictures of cell phones.  

Before making any changes to the global file database information I tried to check admin first.  When I try to open the administration I get a logon screen.  If I enter the correct user name and password, it just blinks and shows the logon entry fields again.  Just to make sure I was entering the correct user name and password I tested by entering an incorrect password, and I got the expected incorrect credentials message.

I did check the global file.  The adminFile variable and adminFolder match the admin file and admin directory names.  

The two things that cause admin login issues I have found reported by others in searching are a mismatch between the global file data and the actual file/folder name, and running an old PHP version.  Neither of these appears to be the issue.  

My only other wild and crazy thought is that maybe its a cookies/time/persistence issue with the browser.  If that's the case I would not know how to fix it.  

 

Link to comment
Share on other sites

Please try logging out (no guarantees).

http://www.mystore.com/admin.php?_g=logout
using the appropriate name for your store
and using the appropriate name for the admin script.

This might clear out some cookies.

Otherwise, try deleting cookies for your domain, or try a different browser/computer, or try a "private" browser tab (gets fresh cookies).

Link to comment
Share on other sites

In admin, Store Settings, Advanced tab, enable Debug Mode and enter your local IP address in the next field (www.showmyip.com).

When fetching pages, the browser will want to show a popup window. Allow it to do so.

This window will show certain debug info, including the cookie that CubeCart used to verify the logged-in state of the user.

(On page loads, except for Firefox, new debug data is appended to the end of the current debug data in the popup.)

Compare the debug info between a successful login on Chrome versus an apparent failed login on Edge.

 

Link to comment
Share on other sites

1 hour ago, bsmither said:

In admin, Store Settings, Advanced tab, enable Debug Mode and enter your local IP address in the next field (www.showmyip.com).

When fetching pages, the browser will want to show a popup window. Allow it to do so.

This window will show certain debug info, including the cookie that CubeCart used to verify the logged-in state of the user.

(On page loads, except for Firefox, new debug data is appended to the end of the current debug data in the popup.)

Compare the debug info between a successful login on Chrome versus an apparent failed login on Edge.

 

I defaulted the settings on Edge and was able to use Edge or Chrome. 

I also succeeded in swapping the new installation to the old database saving all of my products and most of my settings.  For some reason I was not able to save any of the images, but fortunately I have them saved by product category in my local pictures directory, and have product category folders in the cart.  I could go to images and then the appropriate folder, and copy them quickly two at a time by drag and drop. 

Payment and shipping gateways/plugins were not installed, but when I added them all the settings were inherited from the old database.  

Now the tedious process of adding images back to the products and categories one at a time.  It's still a lot better than reentering all the products and categories one detail at a time.  

I wonder how long Edge settings were screwing me up.  Maybe it was part of the problem all along the way.  It never even dawned on me there could be a browser issue until I had done every other possible thing I could think of.  

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...