dave Posted August 27 Posted August 27 Suddenly today I can't login to my admin area. The only thing I can think of that might have changed on the server is I edited the php.ini to optimize it a bit, I've done this many times over the years and I'm sure nothing I did would affect the running of any site on the server. I've also tried a number of ways to reset the password; Using the reset password link doesn't work Database - Editing the user file hasn't worked, this is the last try - UPDATE `CubeCart_admin_users` SET `password` = MD5('196810@'), `salt` = 'westbrom' WHERE `CubeCart_admin_users`.`admin_id` = 1; Clearly I'm doing something wrong & probably silly, Does anyone have any ideas? now I don't get any message about having the wrong password it just blinks at me. Can I create a new admin user? perhaps someone can send me the SQL to do that from a working adminuser? Quote
bsmither Posted August 27 Posted August 27 In what way does the reset link not work? Does the page refresh? If so, does the new page have a (narrow) banner that suggests one should check their email in a few minutes? Or, having clicked Submit, absolutely nothing happens? Does your store use PHP's mail() feature, of have you entered settings for a SMTP Server? Try these values for a test admin: status = 1 name = Test Admin username = testadmin password = cf3c11a5a59f28a81eb3cfd3cc0b2114c6c7533b7626925e88bd7588eb15c86e2fca66e29820e8c8f2cce104a1b69ac0d2bdaab8f77ebcaff20af68a6c217e89 salt = 46056257 new_password = 1 email = (something [at] somewhere.com) super_user = 1 username: testadmin password: testadmin Quote
dave Posted August 28 Author Posted August 28 20 hours ago, bsmither said: In what way does the reset link not work? Does the page refresh? If so, does the new page have a (narrow) banner that suggests one should check their email in a few minutes? Or, having clicked Submit, absolutely nothing happens? Does your store use PHP's mail() feature, of have you entered settings for a SMTP Server? Try these values for a test admin: status = 1 name = Test Admin username = testadmin password = cf3c11a5a59f28a81eb3cfd3cc0b2114c6c7533b7626925e88bd7588eb15c86e2fca66e29820e8c8f2cce104a1b69ac0d2bdaab8f77ebcaff20af68a6c217e89 salt = 46056257 new_password = 1 email = (something [at] somewhere.com) super_user = 1 username: testadmin password: testadmin Thanks for taking the time to do that. Set that up but it still returns nothing but the log form again. Did the request password thing and yes that returns the red validation error banner. An added complication is on the site clicking "add to basket" doesn't add the item to the basket. Having "errors on" only reports a deprecated code item, which has nothing to do with this problem. I think I'll do a fresh install of Cubecart in another folder and see if that throws up the same problem, at least then I know it's a serverside problem and I'm more comfortable there. Quote
bsmither Posted August 28 Posted August 28 "Did the request password thing and yes that returns the red validation error banner." So, you did get the email with the validation link? But when going to that link, the validation failed (red banner)? The javascript may be crashing? The browser has "Developer Tools", with a "Console" screen. It will report any problems with the javascript. Or maybe the browser has an extension that autofills (out of sight, after clicking Submit) sign-in forms - a 'password manager'. The Develop[er Tools has a "Network" screen that will show the data submitted by forms. Quote
dave Posted August 28 Author Posted August 28 18 minutes ago, bsmither said: "Did the request password thing and yes that returns the red validation error banner." So, you did get the email with the validation link? But when going to that link, the validation failed (red banner)? The javascript may be crashing? The browser has "Developer Tools", with a "Console" screen. It will report any problems with the javascript. Or maybe the browser has an extension that autofills (out of sight, after clicking Submit) sign-in forms - a 'password manager'. The Develop[er Tools has a "Network" screen that will show the data submitted by forms. Progress of sorts I've moved the site from a folder to the root of the domain. I also reinstall PHP v 8.221 That allowed me to have admin access via the testadmin So the first thing I did was do the latest upgrade which seemed to work except now the admin page won't show at all - 404 - Page Not Found Quote
dave Posted August 28 Author Posted August 28 32 minutes ago, dave said: Progress of sorts I've moved the site from a folder to the root of the domain. I also reinstall PHP v 8.221 That allowed me to have admin access via the testadmin So the first thing I did was do the latest upgrade which seemed to work except now the admin page won't show at all - 404 - Page Not Found Opps! looks like I managed to delete the admin folder instead of the setup folder Quote
bsmither Posted August 28 Posted August 28 Make sure the admin folder has the same name as is specified in /includes/global.inc.php. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.