Results 1 to 9 of 9
  1. #1

    Default Database Error.. ??

    I haven't upgraded it or transferred it from a different host. I was able to access the store yesterday (not sure about the admin). Then today I came up with this.

    for the store:

    1146 Table 'db1068695_onlinestore.configuration' doesn't exist
    in:
    [select configuration_key as cfgkey, configuration_value as cfgvalue from configuration]

    and this for the admin:

    1146 Table 'db1068695_onlinestore.project_version' doesn't exist
    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.

    Any suggestions would be a great help. I have searched numerous articles and forums and still haven't come across anything. My 'DB_PREFIX' is ' '. I don't think I specified a prefix when creating the database..

    I'm not a coder, and this is all very new to me, but I think the problem is there are no tables set up in that specific database. I've been trying to find a Zen Cart database table in SQL format to upload manually since I can't access my admin section and haven't been able to find anything. Is it in my own store files? I couldn't find it.

    Thanks in advance :)

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

    Default Re: Database Error.. ??

    Check your /includes/configure.php file and towards the bottom what the DB name is...

    From the error it shoulkd be db1068695_onlinestore
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Database Error.. ??

    Quote Originally Posted by nvmber9 View Post
    I'm not a coder, and this is all very new to me, but I think the problem is there are no tables set up in that specific database.
    Yes, that's what the messages are telling you.

    Quote Originally Posted by nvmber9 View Post
    I've been trying to find a Zen Cart database table in SQL format to upload manually since I can't access my admin section and haven't been able to find anything.
    It's a lot more complicated than that.

    The more important thing is to find out why your database data existed yesterday but not today. Time for a call to your hosting company.
    And also a visit to the FAQs on how to do backups ... Here's one for doing database backups: https://www.zen-cart.com/tutorials/i...hp?article=103
    You can do PHP file backups by downloading with your FTP program.
    .

    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
    Sep 2008
    Posts
    98
    Plugin Contributions
    0

    Default Re: Database Error.. ??

    I just started getting the following error when trying to go to my admin:

    "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."

    As I have done nothing in the last hour to modify my database, I have contacted my host (doteasy.com) and am waiting to hear back. Hoping that it is some kind of a problem with my host...I do have a recent database backup...but at the moment I can not even log in to my admin panel at my host site...which even makes me more convinced that the problem is with my host.

  5. #5
    Join Date
    Sep 2008
    Posts
    98
    Plugin Contributions
    0

    Default Re: Database Error.. ??

    Just started working again fine for me...so the problem was with my host...hopefully that was/is your problem as well.

  6. #6

    Default Re: Database Error.. ??

    I just checked with the hosting service and they said they had nothing to do with it and that they don't usually help with scripting.

    Is there a way to manually upload those database tables in the database_tables.php page?

    Thanks again for all your help

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

    Default Re: Database Error.. ??

    I just checked with the hosting service and they said they had nothing to do with it
    I was able to access the store yesterday (not sure about the admin). Then today I came up with this.
    Well if this is not from something that you inadvertantly did then it should be explained by your host
    Zen-Venom Get Bitten

  8. #8

    Default Re: Database Error.. ??

    Thanks kobra-

    Maybe it was something I did and had no idea.. that's my bad. But I think the problem here is there aren't any tables in this database. I am able to access the database through phpMyAdmin and can see that there aren't any tables. I'm assuming that includes/configure.php, admin/includes/configure.php, and includes/database_tables.php will make these tables for me automatically. I believe I have everything set up correctly.. just not sure why it isn't working. Is there another page that I need to edit??

    Thanks

  9. #9
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Database Error.. ??

    Quote Originally Posted by nvmber9 View Post
    Maybe it was something I did and had no idea.. that's my bad. But I think the problem here is there aren't any tables in this database. I am able to access the database through phpMyAdmin and can see that there aren't any tables.
    If the site was working but now the database is empty then something has happened to your database. As DrByte said previously you should ask your website host to check the database server.

    Do you have a backup of your database? If so you can use phpMyAdmin to restore it. If not you could try talking to your host to see if they will restore the database for you. They probably won't though.

    If you cannot get the database restored you will need to start again with a new one. To do this you will need to upload the zc_install files from the Zen Cart distribution and go through the installation process.

    Regards,
    Christian.

 

 

Similar Threads

  1. Error importing old database to the new database
    By wmorris in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 3 Jan 2012, 08:27 AM
  2. Replies: 4
    Last Post: 15 Oct 2010, 07:18 AM
  3. 500 Error - FastCGI error message after database installation page.
    By hungoveragain in forum Installing on a Windows Server
    Replies: 8
    Last Post: 24 Sep 2010, 03:37 PM
  4. PCI error: Potentially Exploitable Database Error Message -- links_alias table
    By srigari in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 21 Jun 2009, 12:23 AM
  5. Replies: 2
    Last Post: 12 Aug 2008, 05:22 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