Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Posts
    140
    Plugin Contributions
    0

    Default error when moving to a new server

    I just followed the Wiki instructions on moving my cart installation to a new server but something isn't right. Here's what I did:

    - backed up databases and site files
    - installed cart on new server (v1.3.5 - which is what I was using on my old site)
    - moved over all my site files, but did not overwrite includes/config.php or admin/includes/config.php
    - imported database (same name, etc as old one)

    All of that worked...until I tried uploading and running the fix_cache_key.php...that didn't work. and now when I got to my domain, here's what I get:

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

    and on my admin page:

    1146 Table 'bscriv77_zc1.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 ideas as to what went wrong??

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

    Default Re: error when moving to a new server

    installed cart on new server (v1.3.5 - which is what I was using on my old site)
    When you did this, did you specify the table prefix zc1_ as I would think that either your db backup was a data only back without the recreation of the tables or something along those lines.

    You can use phpmyadmin to view your table names to see that they are there and that they all have no prefix or the same prefix
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2005
    Posts
    140
    Plugin Contributions
    0

    Default Re: error when moving to a new server

    Yeah, I need to change the prefix...how do I do that? In the config file?

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

    Default Re: error when moving to a new server

    Yeah, I need to change the prefix...how do I do that? In the config file?
    did you check the DB names using phpmyadmin? were they all the same? If not you have to rename them and this can be done in phpmyadmin. Then yes make sure that in the configigure.php files (2 of them) that the DB prefix is set to what ever it actually is.
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Aug 2005
    Posts
    140
    Plugin Contributions
    0

    Default Re: error when moving to a new server

    got it straightened out...thanks!

  6. #6
    Join Date
    Dec 2006
    Location
    Victoria, Australia
    Posts
    360
    Plugin Contributions
    0

    Default Re: error when moving to a new server

    I am having the same problem and i added the prefix but get the error page:

    Sorry!
    There seems to be a problem connecting to our database. Please give us a few minutes to remedy the problem. Thank you.



    with the maitanance picture on it???

 

 

Similar Threads

  1. v154 Error 1044 when moving database to new server
    By Annie_zaz in forum Installing on a Linux/Unix Server
    Replies: 18
    Last Post: 19 Jan 2016, 03:04 PM
  2. cart not working when moving to a new server
    By webdev316 in forum General Questions
    Replies: 4
    Last Post: 30 Oct 2008, 03:35 AM
  3. Problems when moving to a new server
    By Moncia in forum General Questions
    Replies: 3
    Last Post: 15 Sep 2007, 04:20 AM
  4. ERROR after moving Zen to new Server
    By directdesign in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 8 Sep 2007, 08:08 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR