Update & Maintenance

Top  Previous  Next

Whenever you plan to install new (payment) extensions into the 3P OpenCart installation, make any changes to the PHP code, develop custom features or update to a new 3P version through SVN, you must do the following:

1. Make a DB Backup of the mySQL tables & data.

Go into HeidiSQL > Tools > Export database as SQL and sequentially run the following 2 backups.

lightbulb_onYou should also do this on a regular basis.



a. Data dump to prevent data loss.



b. DB recreation to prevent complete database loss.

2. Update to the newest SVN version using the TortoiseSVN checkout feature. This way, you will get the newest 3P code from our repository, and there will be less danger of code merges destroying any of ours or the OpenCart core code. Also make sure you committed your latest stable release with a comment like "20.4.2014 stable", so you will be able to rollback if anything goes wrong, and so we will be able to update our copy to your latest stable release and find errors more easily.

3. In the OpenCart core code, make sure you don't edit or remove any code sections that are defined by the following tokens. And if you install extensions that use vqMOD, make sure these code sections are not broken by vqMOD. You can check the cached output files, if all 3P code sections are still there:

  //@@@ 3P BEGIN


  //@@@ 3P END


4. Whenever you're about to go live with your code changes, please commit the changes to SVN, so we can double check them for you on request. This service is not included in the normal 3P maintenance, but we highly advise it, especially if you plan to install extensions or payment gateways that use vqMOD. We can also add these extensions on your request.

5. We advise you to test any code changes on your part on a separate 3P OpenCart test installation, incl. a copy of the mySQL database. We can also do this for you on request.

6. Do complete backups of your server and of your server data. If you chose HostEurope as your hoster, the server backup for Virtual Servers is initiated in the "KIS Administration", and for Root Servers in the "Control Panel". For the data, use a backup software of your choice, installed directly on the Windows server. You can also shedule nighttime SQL batches and copy backup files to a remote drive.


2015 © 3P Photobook Publisher