Uploading Working Copy to Production Server (New Install)

knowledge base and frequently asked questions
Post Reply
User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Uploading Working Copy to Production Server (New Install)

Post by Brent » Mon Feb 22, 2010 11:19 am

If you are creating a website on a local server with something like WAMP Server or XAMPP Server for windows,
these instructions will show how to get your local copy to a production server.

Step 1:
On your local server, go to admin backup/restore.
Click the download backup button and save a copy to your local website.
The file will be named backup.sql .

Step 2:
In the distribution zip file you downloaded, upload all the files located in the upload folder to production server.
(don't upload the the upload folder itself, it is only a container to hold the files you are uploading)
Follow the new install instructions supplied with the distribution for new installs.
Create a copy on config.php and name it myconfig.php as a backup for this file.

Step 3:
Once you have created the new installation and deleted your install folder, you are ready to upload your local copy.
upload your image folder and catalog folder to included any additional files or changes you have created in your local working copy.

DO NOT upload the config.php file from your local server. This file is created in the new install and is server specific.
It never needs to be uploaded again. You should make a copy of this file and keep in a safe place.

On you production server, go to admin backup/restore.
Click the browse button and select the backup.sql file on your local computer that you created in Step 1.
Save to your production server.
Note:There was an error in back-up restore starting Version 1.2.2 to 1.2.3(before Sept 18/2010)
Correction download is Here
Version 1.2.3 Downloads that contain the correct have a text note in the download stating it is included.
Or, you can run the local back-up.sql in phpMyAdmin on the production server.

Everything should now function as it did on your local server.
If for some reason your display is not correct, check the .htaccess file. If your site is not located in the document root,
public.html/ or www/, but in a folder like www/store/, you need to reflect this in the .htaccess file as per example.
EG: RewriteBase /store/ ( if store is directory cart is located in , eg: www/store/cart )

Also see File layout
Note: for Versions 1.2 and lower, if your using PHP 5.3, see viewtopic.php?f=15&t=61

Post Reply