Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2006
    Posts
    25
    Plugin Contributions
    0

    Default Can't login to my admin - database table missing

    Hi,

    I can't login to my admin using current username and password.. I've tried password resend but it doesn't work.

    I've also tried accessing the database to reset the password (using this query https://www.zen-cart.com/tutorials/index.php?article=2) but I get an error

    Code:
     MySQL said: Documentation
    #1146 - Table 'database_name.admin' doesn't exist
    Now, I suspect the site has been hacked. any advice appreciated

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can't login to my admin - database table missing

    I've also tried accessing the database to reset the password
    Might your DB have a prefix?

    Look in your confidure.php file for what it might be
    Code:
    define('DB_PREFIX', 'pre_fix_here');
    Or just look when in phpmyadmin

  3. #3
    Join Date
    Jul 2006
    Posts
    25
    Plugin Contributions
    0

    Default Re: Can't login to my admin - database table missing

    Thanks for the reply,

    I checked and there is no prefix ....

    Any ideas appreciated

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can't login to my admin - database table missing

    Use phpmyadmin and look at the db tables
    Do you see obne named 'admin' ?

  5. #5
    Join Date
    Jul 2006
    Posts
    25
    Plugin Contributions
    0

    Default Re: Can't login to my admin - database table missing

    No, it's not there ..

    In alphabetical order it goes from address format to banners - no admin

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can't login to my admin - database table missing

    No, it's not there ..
    Well it needs to be and did exist if you ever could login

    Do you have a DB backup?
    Or your Host?

    You will need to replace this or recreate it

    BTW what version of ZenCart and how many tables exist?

  7. #7
    Join Date
    Jul 2006
    Posts
    25
    Plugin Contributions
    0

    Default Re: Can't login to my admin - database table missing

    This site was really old and I've confirmed the site has been hacked.

    Will create a new installation and migrate

 

 

Similar Threads

  1. v154 Can't login to admin after database upgrade from 151 to 1.54.
    By SignaGen2 in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 26 Aug 2015, 06:54 PM
  2. Can't login to admin after upgrade; can login with new install
    By dietcokelemon in forum Upgrading to 1.5.x
    Replies: 14
    Last Post: 9 Feb 2014, 05:16 PM
  3. Can't Login as Admin; Can't Access Admin Login Dialog Box
    By powrwrap in forum General Questions
    Replies: 6
    Last Post: 16 Mar 2013, 05:24 PM
  4. admin login page is missing. cant access admin area
    By ztotheetothen in forum Customization from the Admin
    Replies: 11
    Last Post: 26 Feb 2011, 05:44 PM
  5. Admin table missing
    By KarenLR in forum General Questions
    Replies: 3
    Last Post: 17 Nov 2010, 02:06 PM

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