Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2008
    Location
    Brighton, Britain
    Posts
    47
    Plugin Contributions
    0

    Default Restored Data in New Database but not showing

    Hi there

    As part of upgrading I've:
    a) created a new (blank) database;
    b) restored the backup of my old database into it;
    c) uploaded 1.3.9;
    d) installed 1.3.9.

    The problem is the data in the database is not showing up in Zen. If I use phpAdmin I can see that the data is there by the number of records.

    Can anyone help me by explaining where I have gone wrong and how to fix this?

    cheers and thanks for your help
    Guy

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

    Default Re: Restored Data in New Database but not showing

    You've likely got the wrong table-prefixes set in your configure.php file, so it's looking in the wrong set of tables.
    Look at the DB_PREFIX from your live site's configure.php files, and put that same value into your new/test site's configure.php files.
    .

    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
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Restored Data in New Database but not showing

    As part of upgrading I've:
    a) created a new (blank) database;
    b) restored the backup of my old database into it;
    c) uploaded 1.3.9;
    d) installed 1.3.9.
    If this is the order you completed steps in then that is the incorrect order - -
    You shouls install 1.3.9 firstas step "b"
    Then after installed restore your current DB to it
    Then re-run zc_install to upgrade the DB Only

    https://www.zen-cart.com/tutorials/index.php?article=98
    https://www.zen-cart.com/tutorials/i...hp?article=108
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Jun 2008
    Location
    Brighton, Britain
    Posts
    47
    Plugin Contributions
    0

    Default Re: Restored Data in New Database but not showing

    It was indeed DrByte. Cheers, now I need to find out about patching the database.

    cheers
    Guy

  5. #5
    Join Date
    Jun 2008
    Location
    Brighton, Britain
    Posts
    47
    Plugin Contributions
    0

    Default Re: Restored Data in New Database but not showing

    Find the instructions.

    cheers
    Guy

 

 

Similar Threads

  1. v150 Accidentally deleted DB but can not connect to restored DB
    By spyderrobotics in forum General Questions
    Replies: 7
    Last Post: 10 Jan 2016, 11:02 PM
  2. Products showing in Database but not on the site
    By g3steve in forum General Questions
    Replies: 8
    Last Post: 25 May 2011, 10:30 AM
  3. restored a backup and now I am Under Construction.......but not!
    By christinefred in forum General Questions
    Replies: 4
    Last Post: 5 Feb 2011, 09:30 AM
  4. Not getting new data from database
    By StevenB in forum General Questions
    Replies: 0
    Last Post: 16 Apr 2007, 02:18 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