Originally Posted by
Ajeh
There are examples on how to make a new directory such as /new_shop and create a new database ...
Then backup the Live Database ...
note: you will do this a couple times during the upgrade processes
Load the backup of the Live Database to your new database for the /new_shop
Load the new version of Zen Cart to /new_shop
Copy your existing:
/includes/configure.php
/admin/includes/configure.php
to the
/new_shop/includes/configure.php
/new_shop/admin/includes/configure.php
Edit the 2 files and change the paths and database information to reflect the new path for /new_shop and the new database name, username and password
Run the /new_shop/zc_install and UPGRADE the database
Copy the files in:
/new_shop/includes/templates/classic
To your new template directory:
/new_shop/includes/templates/your_template_dir
Edit the file:
/new_shop/includes/templates/your_template_dir/temp_info.php
and enter your template name ...
Copy the files in:
/includes/languages/english/html_includes/classic
to your templates directory:
/includes/languages/english/html_includes/your_template_dir
NOTE: be sure to change permissions to 777 if you wish to edit these from the Admin ...
To build your templates and overrides with the new v1.3.x method, start with the language files you already customized and upgrade them to include all of the new defines in v1.3.6
Beyond Compare from scootersoftware.com is a great tool for making these kind of changes and comparing original files with old files to bring them up to date ...
There are numerous posts on this in the forum and the FAQs and Wiki to help you along ...
Keep track of changes to the configuration settings that you make ...
Later, when you have everything perfect, you will be setting your Live Shop to Down for Maintenance and doing a backup again of the Live Shop database, empting the tables in the /new_shop database and loading the most recent backup from the Live Site and re-running the /new_shop/zc_install and Upgrading the current data again ...
Then you need to move your Live Shop to /old_shop and /new_shop to your Live Shop location ...
NOTE: be sure to update the 2 configure.php files with the Live Shop path but do NOT change the database information ... the New Live Shop will use the New database ...
Read this a few times slowly and you will start to see the pattern to this ...
This method allows you to upgrade your site slowly and carefully without taking down your Live shop until the last possible moment and for the briefest amount of time ...
##############################___
Linda McGrath
Bookmarks