Community Forums

How do I upgrade OpenCart? Will I lose my addons? products?

A collective repository of many frequently asked questions

How do I upgrade OpenCart? Will I lose my addons? products?

Postby Qphoria » Fri Jan 23, 2009 3:19 am

1. It is very important that any custom template changes are made in your own template folder. If you made changes to the 'default' template, it is important that you rename it to something else before upgrade. This will prevent the upgrade process from overwriting your template changes.

2. Until there is system in place to better manage and separate custom changes to the 'code' files, You will need to reinstall your contribs and changes after upgrade. Be sure that the contrib is also upgraded to work with the upgraded version of OpenCart. Anytime you install a contrib, it is best that you note it down somewhere so that you remember to install them again.

3. There are also cases where a few of the 'default' template files are updated to work with new code files. This might mean that you will need to carefully add those new tpl files into your custom template. These are usually small changes so they aren't a major thing to worry about until you see a problem.

4. Follow the upgrade instructions in the install.txt file. A simpler method of dealing with your config.php files is to just not upload the new one. Copy ALL files except the config.php file. However, you will need to set the config.php and admin/config.php to writeable so that it can be updated by the upgrade process.

5. Finally, you will need to update the database using the upgrade script. You can find it at: http://example.com/install/upgrade.php
In the latest versions of OpenCart, it will automatically run the upgrade script when you log into the admin panel.

- NO products or any custom database information will be negatively affected.
Last edited by Qphoria on Fri Jan 23, 2009 3:29 am, edited 1 time in total.
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18212
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Return to FAQs

Who is online

Users browsing this forum: No registered users and 6 guests

Hosted by Arvixe Web Hosting