Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Can't create admin!?

    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.

  2. #2
    Join Date
    Aug 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can't create admin!?

    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

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Can't create admin!?

    Quote Originally Posted by molumania View Post
    MySQL said:

    #1146 - Table 'plumber_Joomlabak.admin' doesn't exist
    Sounds like you're looking at the wrong database. Zen Cart is not Joomla.
    .

    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.

  4. #4
    Join Date
    Aug 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can't create admin!?

    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?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Can't create admin!?

    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.

  6. #6
    Join Date
    Aug 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can't create admin!?

    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?

 

 

Similar Threads

  1. Can I create customers from admin?
    By BGundlach in forum General Questions
    Replies: 2
    Last Post: 7 Jul 2014, 06:30 PM
  2. Can not create Admin account
    By noruga in forum General Questions
    Replies: 2
    Last Post: 11 Mar 2013, 10:03 AM
  3. How can I create new directories and files from Admin?
    By bluesky1992 in forum Customization from the Admin
    Replies: 9
    Last Post: 3 Oct 2011, 03:01 AM
  4. Can Admin edit/create H1 tags?
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Sep 2009, 08:09 PM
  5. Can you create customer from admin/edit a password
    By paulFromWales in forum General Questions
    Replies: 2
    Last Post: 15 Sep 2007, 04:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg