Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2007
    Location
    Belfast, N.Ireland
    Posts
    96
    Plugin Contributions
    0

    Default Trouble upgrading database

    Hi

    This is the first time I have had to upgrade my ZenCart. I am going from 1.3.8 to 1.3.9

    I have read the instructions a bunch of times, but a having a problem or two with my database.

    I am on a *nix server with php my admin & mySQl database wizard.

    I created a new folder /store then uploaded the whole unchanged zen 1.3.9a files.

    I created a new blank database in MySQL wizard

    I went to www.mydomain.com/store/zc_install/index.php and started the procedure.

    To start with, I didn't get an option to upgrade my database





    So, I tried two different methods:



    1. Install the demo data, then import the database backup via php MyAdmin. But this didn't work and I got a SQL error:





    2. I deleted the database, started it fresh and blank, and imported a backup from my current DB. This worked to an extent, but says I need to patch it:

    "Your database appears to need patching to a higher level. See Admin->Tools->Server Information to review patch levels"

    When I went there, I got this, amongst a whole bunch of other information



    Is there something I can do to make this work right?

    If I can use the 2nd method here, how can I patch the database?

    Any other suggestions?

    Something of note that my be important: There are a few extra lines/tables/fields (or whatever they are called) in my current database, than in the default zen database. This is due to a few mods, and a custom change, where someone added in a few extra fields into the customers "My Account" section.

    Thanks

    Paul

  2. #2
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: Database won't update 'normally'

    After you import your database (your back up one that is) - Go back to the Zen Installer and use the Database Upgrade feature ;)

    You won't lose anything in your existing database with the upgrade - it will only upgrade the tables effected by the upgrade changes.

    Hope that helps!
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  3. #3
    Join Date
    Dec 2007
    Location
    Belfast, N.Ireland
    Posts
    96
    Plugin Contributions
    0

    Default Re: Database won't update 'normally'

    Quote Originally Posted by TinaS View Post
    After you import your database (your back up one that is) - Go back to the Zen Installer and use the Database Upgrade feature ;)
    So simple, yet I have been looking at all sorts of other (not working things). Many thanks it did the job nicely.

  4. #4
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: Database won't update 'normally'

    You are very welcome!

    Glad you got it sorted out :)
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  5. #5
    Join Date
    Aug 2008
    Posts
    114
    Plugin Contributions
    0

    Default Re: Trouble upgrading database

    Stupid question,

    where is the ZC installer??

  6. #6
    Join Date
    Aug 2008
    Posts
    114
    Plugin Contributions
    0

    Default Re: Trouble upgrading database

    never mind

    I figured it out

    SK

 

 

Similar Threads

  1. Trouble upgrading from 1.3.8
    By fajmp in forum Upgrading to 1.5.x
    Replies: 1
    Last Post: 29 Oct 2011, 04:16 AM
  2. Trouble upgrading the database from 1.3.8a to 1.3.9h
    By Ormhaugen in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 5 Jan 2011, 09:39 AM
  3. Trouble upgrading database
    By KathyM in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 29 Jul 2010, 06:31 AM
  4. Trouble upgrading - database won't upgrade!
    By AlexanderK in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 4 Jun 2010, 09:17 PM
  5. Trouble upgrading database
    By gift-taggs in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 20 Apr 2008, 04:11 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