Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Apr 2009
    Posts
    3
    Plugin Contributions
    0

    Default Is this the correct procedure?

    I was trying to upgrade from 1.3.8a to 1.3.9a using the procedure in /docs/2.readme_how_to_upgrade.html

    Step "3. Testing" did not achieve the expected result; I believe some steps are missing. I tried some things, and what seems to have worked was to:
    1) go to zc_install to install zencart to a new blank database
    2) replace that database with the backup database
    3) go back to zc_install but this time choose upgrade instead of install.

    Here is my version of the instructions, with additions italicized in red. It seems to work, but I'd like some feedback to make sure I didn't miss anything. Please feel free to reply with your own improved version; hopefully will get something that's clear and correct:

    3. Testing

    Make a NEW temporary database to install the new version of Zen Cart™ into; attach a database user to it. Use your hosting control panel to do this.

    <paragraph moved below>

    If your /zen_new folder doesn't have "/includes/configure.php" and "/admin/includes/configure.php" files, copy them from your old store folder.

    EDIT your "/zen_new/includes/configure.php" file and ensure that your DATABASE_NAME matches your NEW database. Also verify database username and password and table prefix in case that information has changed. Save this file, and be sure to upload it as part of the next step. Repeat for the /admin/includes/configure.php file as well:

    Upload the files from your modified "new version" (created in step 2) to your server, into an alternate folder, perhaps called "/store_new".

    Ensure that you have uploaded the "/zen_new/zc_install" folder to your server.

    Using your browser, surf to /zc_install/index.php and install zen cart.

    <paragraph moved from above:>
    If the last backup you made of your data is older than the last order that might have been processed or customer registration, make a fresh database backup.

    Replace the new temporary database with your backup database; attach a database user to it.

    Using your browser, surf to /zc_install/index.php and choose "Database Upgrade" when prompted. (Don't select "Install", or you will overwrite your database.) (If "Upgrade" is not offered, then the installer was unable to connect to your database to confirm what version its structure is at. Check your configure.php settings.)

    If the process is successful, your zen-cart will now contain the data from your backup database, and it will be in maintenance mode.

    Test your customizations. Edit as needed. Compare with the test/demo install performed earlier, as needed.

    ***************

    Okay, am I on the right track? Did I screw up? Is my shopping cart going to explode? If you see something wrong, reply with your version.
    Last edited by RayS; 1 May 2010 at 06:26 AM.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 29 Feb 2012, 05:29 PM
  2. HELP!: How can I find the correct name of the correct Handler page?
    By bongobayfusion in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 18 Jan 2012, 10:00 PM
  3. is this correct in the listing of the order modules in order totals?
    By willie bee in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 7 May 2011, 04:24 AM
  4. Is this the correct for for entering product weight?
    By shamis in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 24 Apr 2008, 04:55 PM
  5. I accidently edited the classic template - how can i correct this?
    By jaggers in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Nov 2007, 12:37 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