Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2012
    Posts
    4
    Plugin Contributions
    0

    Default 0 DB_ERROR_NOT_CONNECTED in: [select * from project_version WHERE project_version_key

    I am getting an error when I try to log into my admin page:
    0 DB_ERROR_NOT_CONNECTED
    in:
    [select * from project_version WHERE project_version_key = 'Zen-Cart Database' ]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    Also getting an error when try to access my store:
    Sorry!
    There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank y

    This all started with me not being able to log in to the admin area of my shop with the correct password. So I used the SQL THAT ALWAYS WORKED BEFORE!

    DELETE FROM admin WHERE admin_name = 'Admin';
    INSERT INTO admin (admin_name, admin_email, admin_pass, admin_level)
    VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

    After using this now I have no access what soever to the store or to the admin area.

    HELP PLEASE!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: 0 DB_ERROR_NOT_CONNECTED in: [select * from project_version WHERE project_version

    That means your store cannot talk to the MySQL database. That happens when the DB_SERVER, DB_USERNAME, DB_PASSWORD settings in your configure.php files don't match the actual MySQL server, MySQL username and MySQL userpassword in your MySQL server, for the MySQL database your store is using.
    Usually this is caused by people changing their configure.php contents, or changing the MySQL user/pwd. This is not a Zen Cart issue. It is simply that you've told your Zen Cart the wrong credentials for accessing your MySQL database.
    .

    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.

  3. #3
    Join Date
    Nov 2012
    Posts
    4
    Plugin Contributions
    0

    Default Re: 0 DB_ERROR_NOT_CONNECTED in: [select * from project_version WHERE project_version

    Thank you so much! That explains a lot and fixed everything!

 

 

Similar Threads

  1. Replies: 9
    Last Post: 26 Aug 2012, 02:48 AM
  2. select admin_id, admin_name, admin_pass from zen_admin where admin_name =
    By coucho in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 19 Jan 2008, 06:15 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