How to upgrade cubecart.

Started on the old forum in August 2012 · view the original in the archive · old links redirect here

#9xhost #cube-cart #update

No replies · 318 views · started 14 years ago · 2 min read

Sanju Kr Developer · 104 posts #1

Step 1: Backup your database and files.

Please, create a FULL backup of the database and site files. In order to backup your CubeCart application you have to:

Step 1a. Backup all your files

Backup all of your files and folders inside your CubeCart installation. Please, click here to learn how to create a backup of your files and folders

Step 2b. Backup/Export your database

Then, you have to export your CubeCart database. You can do that by using PHPMyAdmin.

Once you've reached the phpMyAdmin tool, backup/restore your MySQL database.

Once you have the CubeCart installation files and the database exported on your hard drive, you have your CubeCart backed up! Congratulations!

tep 2: Download your newest CubeCart version.

Now, download your newest CubeCart version and extract the archive file to your local computer. Upload every file from the Uploads folder over to your existing files except the ones listed below:

includes/global.inc.php
install/
language/*/home.inc.php

So basically, you need to overwrite all the files except the above ones. You can use your favorite FTP client in order to upload/overwrite your files.

Step 2: Run the upgrade.php scritp

You then need to run the upgrade.php scripts (if there are any). To do this, you need to know which version you were running previously.Have a look in the /upgrade/scripts/ folder to see if there are any relevant ones. If so start with the oldest one and copy it to the root folder of your store. Run this file in your browser and follow the on screen instructions. Repeat this process overwriting each upgrade.php script at a time until there are no more.

E.g. IANA — Example domains

So, since you are upgrading from 3.0.8 to 3.0.15 here are the steps:

Upload the first upgrade.php file from 3.0.{6-10}-3.0.11 directory of 3.0.15 CubeCart archive to your 3.0.8 CubeCart main folder:

E.g. IANA — Example domains

Run the script: External image (may be gone)

Delete the upgrade.php file and upload the next one from the 3.0.11-3.0.12/ folder of your 3.0.15 CubeCart to your 3.0.8 CybeCart main folder:

E.g. IANA — Example domains

Run the script: External image (may be gone)

Delete the upgrade.php file and upload the next one from the 3.0.12-3.0.13/ folder of your 3.0.15 CubeCart to your 3.0.8 CybeCart main folder:

E.g. IANA — Example domains

Run the script: External image (may be gone)

Step 4: Your store is now upgraded.

Step 5: You may need to re-apply any modifications you have made.

Well done! You have successfully upgraded your Cubecart system!

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close