Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Rebuilding store w/existing DB

    HI There,

    After you have installed the DB etc.. you replaced the new zen cart files with your previous ones?

    Check your DB paths, names and passwords:

    includes/configure.php

    admin/includes/configure.php
    That wasn't the plan!

  2. #2
    Join Date
    Jun 2004
    Posts
    113
    Plugin Contributions
    0

    Default Re: Rebuilding store w/existing DB

    It's a clean / new ZC install, the only files I uploaded besides the stock ZC ones are my custom template.

    Since it is operational with the post-install data in the DB I believe the names, PWs and paths are all correct.

    Now I'm not completely sure the old store was the current version. It was the version current as of Jan 20 2008 when I set it up.

  3. #3
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Rebuilding store w/existing DB

    I suggest that you login to your MYPHP admin.

    Ensure the database name is correct.

    Then compare your OLD website files:

    includes/configure.php

    admin/includes/configure.php

    to the NEW one.

    Are they EXACTLY the same ?

    You comparing this area:

    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'localhost');
    define('DB_SERVER_USERNAME', 'YOURdatabaseUSERNAME');
    define('DB_SERVER_PASSWORD', 'yourPASSWORD');
    define('DB_DATABASE', 'YOURshopNAME');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage
    That wasn't the plan!

  4. #4
    Join Date
    Jun 2004
    Posts
    113
    Plugin Contributions
    0

    Default Re: Rebuilding store w/existing DB

    Quote Originally Posted by Brian1234 View Post
    [The site] is operational with the post-install data in the DB
    ZC is not having a problem connecting to the DB. It appears to be having trouble finding a table or table data once connected.

    Oh, and since the current release of ZC was in 2007, I'm 99 & 44/100ths sure the store I setup in 2008 was using it. Since it's been so long though, I'm starting to wonder if ZC development has stopped.

  5. #5
    Join Date
    Jun 2004
    Posts
    113
    Plugin Contributions
    0

    Default Re: Rebuilding store w/existing DB

    AHA! Got it!

    The old DB had a table prefix I hadn't noticed. Once I edited the config files for that, all is well.

    Thanks for the replies Muzz.

  6. #6
    Join Date
    Mar 2009
    Location
    Australia
    Posts
    604
    Plugin Contributions
    0

    Default Re: Rebuilding store w/existing DB

    Np. Glad it's all working.
    That wasn't the plan!

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

    Default Re: Rebuilding store w/existing DB

    Quote Originally Posted by Brian1234 View Post
    Since it's been so long though, I'm starting to wonder if ZC development has stopped.
    Not at all. Check the Announcements area regarding v2.0
    .

    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.

 

 

Similar Threads

  1. Add a store to an existing site?
    By dtleahy in forum Basic Configuration
    Replies: 4
    Last Post: 28 Mar 2013, 10:24 AM
  2. Rebuilding my store
    By doooomed in forum General Questions
    Replies: 2
    Last Post: 7 Dec 2011, 05:43 PM
  3. Problem with missing customer data after rebuilding store
    By linnx in forum PayPal Express Checkout support
    Replies: 6
    Last Post: 26 Jan 2010, 04:26 PM
  4. Upgrade 1.3.7 to 1.3.8a / No Existing Store
    By ideasgirl in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 29 Oct 2009, 07:51 PM
  5. Duplicate existing store
    By high2K in forum General Questions
    Replies: 8
    Last Post: 21 Aug 2007, 06:40 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