You can rebuild your admin accounts using this FAQ: https://www.zen-cart.com/tutorials/index.php?article=2
You can rebuild your admin accounts using this FAQ: https://www.zen-cart.com/tutorials/index.php?article=2
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
didn't help. As I said I deleted the admin so there is no admin at all at this point
SQL query:
DELETE FROM admin WHERE admin_name = 'Admin';
MySQL said:
#1146 - Table 'plumber_Joomlabak.admin' doesn't exist
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
it was correct. I built the behind my Joomla.
How can it delete "admin" if there was no admin. The last thing I saw yesterday was that I deleted the only admin account and couldn't create a new one because of the error that passwod must contain 5 characters...
Any idea what might have caused this bug?
bug?
You went and deleted all your admin users.
Now you're trying to follow a properly-documented FAQ article which explains how to put back at least one Admin user so you can access your data.
But you're looking in the wrong database. Or at least in the wrong table in the database.
Maybe when you installed your site you used a table-prefix such that all your Zen Cart tables start with a "zen_" prefix or something similar. If you did, then you'll have to adapt the table name in the FAQ to add the zen_ prefix for both the DELETE and INSERT statements.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hi again,
I already deleted the whole thing and reinstalled a new copy, but why I am still interested in this is because of the fact you haven't answered yet that I was trying to add a user thrugh the admin before I was logged out (because I had to sleep and was timed out) and kept getting the error Your new Password must contain a minimum of 5 characters and no matter what password I tried with different usernames and different emails it wouldn't create a new admin.
Your sql query is if I loose mt password in a normal case and resets the admin or am I wrong. Why do you think it would have fixed this issue?