Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Sep 2007
    Posts
    48
    Plugin Contributions
    0

    Default Re: no database after server move

    The strange thing is when I installed zencart on the old server I left the prefix blank? so I am not sure why the file is saying the prefix is webstore. Should I run a clean install on the new server and use the DB_PREFIX webstore when I set it up?

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

    Default Re: no database after server move

    Do you have access to phpMyAdmin?

    What are the names of the tables?
    How many tables do you have?
    Do you have any that start with "webstore"?
    Do you perhaps have 2 sets of tables ... one with and one without the prefix?
    .

    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. #13
    Join Date
    Sep 2007
    Posts
    48
    Plugin Contributions
    0

    Default Re: no database after server move

    just changed the DB_PREFIX to webstore in the configure file and its all appeared and running great!, thanks for all the help I thought I had really messed it up!

  4. #14
    Join Date
    Sep 2007
    Posts
    48
    Plugin Contributions
    0

    Default Re: no database after server move

    I looked in phpmyadmin and you are right DrByte, I seem to have a set that have no prefix and a set that all start with webstore. No clue how I did that. Should I delete all the ones without the webstore prefix?

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

    Default Re: no database after server move

    Probably best to delete the ones you're not using, or you'll end up with confusion again later.

    You "ended up" with them because when you first installed Zen Cart on your server, you didn't specify a table prefix. Thus, it created tables using "nothing" as a prefix.
    Then, you imported your real data that has different tablenames ... and they all sit happily side-by-side not even knowing each other exists. That's the whole reason for prefixes ... to allow multiple sets of data for multiple purposes ... often not even related to Zen Cart.
    .

    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.

  6. #16
    Join Date
    Jan 2011
    Posts
    18
    Plugin Contributions
    0

    Default Re: no database after server move

    Thank you guys soooo much! I know this post is older but it just helped me. The default prefix now is znc when I first installed it was zen. A quick change to my configure.php files and it works.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Not working after server move...
    By kikloo in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 13 May 2011, 04:38 PM
  2. Database problem, server move.
    By altzone in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 14 Jan 2011, 01:53 AM
  3. Move only database to a new server?! Possible?
    By dachilla in forum General Questions
    Replies: 1
    Last Post: 25 Nov 2008, 08:54 AM
  4. Database problem with server move
    By Woody619 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 20 Aug 2007, 07:13 PM
  5. errors after server move
    By wmunn in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Jun 2007, 04:23 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