Admin Login Create Administrator Not Working

Open to all! Ask other shopowners for help.
Xpajun
Contributor
Posts: 187
Joined: Thu Mar 04, 2021 1:18 pm
Phoenix Version: v1.0.9.0
Has thanked: 3 times
Been thanked: 6 times

Re: Admin Login Create Administrator Not Working

Post by Xpajun »

An update...
Possibly worse than I thought...

It seems that it's not just the admin login it's everything almost nothing wants to talk to the database and yes both configure files are correct. I'm guessing that it's more likely the database that has become corrupted somehow linked to the store stopping working last Wednesday and my subsequent conversations with the hosting team to try and correct it
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest :D - php 8.2.18


Join The Code Co-op to get access to your library in the Code Co-op Forum
Xpajun
Contributor
Posts: 187
Joined: Thu Mar 04, 2021 1:18 pm
Phoenix Version: v1.0.9.0
Has thanked: 3 times
Been thanked: 6 times

Re: Admin Login Create Administrator Not Working

Post by Xpajun »

cbi201214337 wrote: Sat Jul 13, 2024 6:35 pm Hello Xpujun

The same thing happened to me.

I followed the instructions on the following page
https://phoenixcart.org/phoenixcartwiki ... n_Password.

Basically I deleted the admin user from the database with phpmyadmin.

When you enter the administration page, you must create new user and password.

I hope you find this information useful
The information is useful - unfortunately I already had .ht admin protection and trying to create a new password wasn't working - it looks like the database has become corrupt
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest :D - php 8.2.18
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: Admin Login Create Administrator Not Working

Post by Kofod95 »

Maybe worth checking if the coalition has changed - if I remember correctly Phoenix defaults to utf8mb4 Unicode ci. Not sure if relevant, but I suppose you take most suggestions by now?

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Admin Login Create Administrator Not Working

Post by ecartz »

Xpajun wrote: Sat Jul 13, 2024 7:55 pm unfortunately I already had .ht admin protection
You probably need to temporarily disable the .ht admin protection by deleting the .htaccess file (save a backup copy first). You can put it back after you create the new entry, once it has the same username and password as the .ht admin protection.
Xpajun
Contributor
Posts: 187
Joined: Thu Mar 04, 2021 1:18 pm
Phoenix Version: v1.0.9.0
Has thanked: 3 times
Been thanked: 6 times

Re: Admin Login Create Administrator Not Working

Post by Xpajun »

ecartz wrote: Sun Jul 14, 2024 9:23 am
Xpajun wrote: Sat Jul 13, 2024 7:55 pm unfortunately I already had .ht admin protection
You probably need to temporarily disable the .ht admin protection by deleting the .htaccess file (save a backup copy first). You can put it back after you create the new entry, once it has the same username and password as the .ht admin protection.
I did do that Matt but have now discovered that access to the database is the problem - currently I haven't checked if it is a corrupted database (which I did do a repair on - it didn't make a difference) or one (or more) of the files has been corrupted in my live store.

As I could see this was about to take a bit of time I've updated the orders on my test store database and made my test store live - making various .htaccess redirects to point my url to the test store

Just got to get to work now to find out what actually happened

Thanks for everyones help so far
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest :D - php 8.2.18


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply