Overview

Keeping your store up to date is essential. New releases of CubeCart bring improved stability and new features, patch critical security vulnerabilities, and ensure compatibility with the latest versions of PHP, MySQL and other server software.

Not technical? Let us do it for you.

Our managed upgrade service takes the hassle out of updating. One of our experienced developers will back up your store, identify any custom code, and build a tailored upgrade package — so your customisations are preserved and downtime is kept to a minimum. We've upgraded thousands of stores and have an in-depth understanding of CubeCart and hosting environments.

Find out more at cubecart.com/technical-support

Method 1: Manual Upgrade

  1. Take a full backup of your files and database and verify it is complete. This is critical — if anything goes wrong during the upgrade you will need it to restore your store. Most hosting providers include an on-demand backup tool.
  2. Download the latest CubeCart v6 archive and extract it.
  3. Before uploading, rename the admin.php file and adminfolder in the extracted package to match those used by your store. These values can be found in your includes/global.inc.php file:

    $glob['adminFile'] = 'admin_abc123.php';
    $glob['adminFolder'] = 'admin_xyz987';

    This step is essential to ensure your admin panel runs the latest code.

  4. Upload the folder contents over your existing files. Note that this will overwrite any customisations made to core CubeCart files.
  5. Once the upload is complete, navigate to the setup folder in your browser:

    https://www.example.com/setup/
  6. If all files uploaded successfully the setup page will load. Select Upgrade CubeCart and follow the on-screen instructions.
  7. Once complete, CubeCart will try to delete the ./setup folder automatically to keep your store secure. If it can't, you'll need to delete it manually — a warning will appear on your next login while it still exists.

Method 2: Automatic Upgrade

  1. Take a backup of your store files and database first. There is a built-in backup tool in the Backup tab of the Maintenance section of your admin panel. Be aware that it operates within PHP's resource limits and may time out on larger stores — if possible, take a full backup via your hosting control panel or FTP/MySQL dump instead.
  2. In the Upgrade tab of the Maintenance section of your admin panel, run the upgrade tool. This requires your web server to have write permissions to all necessary files. If it fails, restore your backup and use Method 1 instead. Note that this is a direct file extraction and will overwrite any core code customisations.
  3. Follow all steps in the setup process. The setup folder will be deleted automatically in most cases — if not, remove it manually to keep your store secure.

Need more help?

Get advice from other merchants on the community forum or contact us directly.