Thread: 1146

Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2005
    Posts
    287
    Plugin Contributions
    0

    Default 1146

    I've been searching the foruns for 12 hours now, but did not get a solution to my problem.

    I have just moved my zen cart 1.2 to a newer host.

    I managed to FTP the contents on a fresh install as directed by the notes on Zen Cart "Question and Answers" link.

    Also imported the tables as per the information.

    Now when I try to access the admin I get the error:
    1146 Table 'xyz.xxx.project_version' doesn't exist

    And when I try to access the index.php I get the error:
    1146 Table 'xyz.xxx..configuration' doesn't exist

    I checked in "Myphp" and both these table do exist.
    The name of the tabels are zen_project_version and same prefix for configuration

    Please let me know where can I be wrong.

    Thx

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

    Default Re: 1146

    xyz.xxx.project_version
    The format of that message is:
    database_name.table_name

    ie: fredstore.project_version

    If you have table-prefixes in use, then it would be:
    database_name.tableprefix+table_name

    ie: fredstore.zen_project_version

    I'm guessing that xyz.xxx in your examples are identical?

    It would seem that your server is looking for a database named "fredstore" when really it's now "newserverstore" or something.

    DB_DATABASE needs to be set in your configure.php file to match the name of your NEW server's database into which you have imported your old Zen Cart tables.

    DB_PREFIX must be the SAME as you had on your old server, since you haven't renamed your tables to remove prefixes, etc.
    .

    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
    Oct 2005
    Posts
    287
    Plugin Contributions
    0

    Default Re: 1146

    Thanks, I will look into this , this seems to be the problem.

  4. #4
    Join Date
    Oct 2005
    Posts
    287
    Plugin Contributions
    0

    Default Re: 1146

    problem solved,

    the old database had a prefix, the new one did not,

    thx,

    rgds

    harry
    Last edited by harry2cool; 22 Jul 2006 at 11:56 AM.

 

 

Similar Threads

  1. zc1.3.9 prefix 1146 layout_boxes
    By sieg01 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 15 Nov 2011, 12:36 PM
  2. Ship2pay error 1146
    By mikehr in forum Addon Payment Modules
    Replies: 0
    Last Post: 4 Nov 2011, 01:46 PM
  3. 1146 error.....
    By anne turies in forum General Questions
    Replies: 1
    Last Post: 30 Jan 2011, 08:03 AM
  4. Error message 1146
    By gizmo_girl in forum General Questions
    Replies: 6
    Last Post: 5 Nov 2007, 06:45 PM
  5. Error 1146
    By Buster in forum General Questions
    Replies: 0
    Last Post: 16 Apr 2007, 02:32 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