Details: http://forum.opencart.com/viewtopic.php?f=23&t=84042
Download: http://www.opencart.com/index.php?route ... on_id=8205
UPGRADE INSTRUCTIONS
This version of OpenCart Europa comes with a universal upgrade script that allows you to update your store from as far back as v1.3.2.
Errors received are mostly informational. There is a good chance that the error occurred because the table no longer exists or the change had already been made. In these cases, there is nothing to worry about.
If using a version older than OpenCart v1.3.2, you will need to first upgrade all the in between versions until you reach 1.3.2. Then you can run this script.
Upgrade Steps
- STEP 1
Put your store from in maintenance mode.Switch Maintenance Mode to YesCode: Select all
AP > System > Settings > {Edit Store} > Server
Click Save - STEP 2
Extract the contents of opencart_europa_v1.5.4.1.zip to your Desktop.
You might need an archival program like http://7-zip.org/ or http://www.winzip.com/downwz.htm Or, if you are using Windows Vista or later, then you can just right click on the file and click Extract All. - STEP 3
Delete the following files from the just extracted archive:Code: Select all
config.php admin/config.php
- STEP 4
Backup your existing store files and database.
You might use an FTP program like Filezilla http://filezilla-project.org/ to download your existing files to your Desktop. Rename the downloaded root folder, adding the suffix _old
You can download your database using OpenCart Europa's backup systemCode: Select all
AP > System > Backup/Restore
- STEP 4.1
If currently using OpenCart 1.4.0 or earlier, Edit your config.php file in the root path of your store to remove the following lines:Code: Select all
//HTTP define('HTTP_SERVER', 'http://www.mysite.com/'); define('HTTP_IMAGE', 'http://www.mysite.com/image/'); // HTTPS define('HTTPS_SERVER', ''); define('HTTPS_IMAGE', '');
- STEP 5
Ensure that the admin/config.php file in your current install has the HTTPS section filled in (even if not using SSL)Code: Select all
// HTTPS define('HTTPS_SERVER', 'http://www.mysite.com/admin/'); define('HTTPS_IMAGE', 'http://www.mysite.com/image/');
- STEP 6
Upload all files in the Upload folder (from the just extracted archive) on top of your current install (overwriting the old files) - STEP 7
Browse to http://www.yourstore.com/shop/install/upgrade.php
After about 10 seconds you should see the Upgrade Success message or a list of errors. - STEP 7.1
Post any errors on OpenCart forums http://forum.opencart.com/ - STEP 8
Clear any cookies in your browser to avoid getting token errors. - STEP 9
Load the admin page & press Ctrl+F5 to force the browser to update CSS changes. - STEP 10
Add permissions to new modules and controllers.Add appropriate access and modify permissions for new modules and controllers. Do this for each user group.Code: Select all
AP > System > Users > User Groups > {Edit group}
- STEP 11
Update main system settings.Update all fields and click save.Code: Select all
AP > System > Settings > {Edit store}
- STEP 12
Install vQmod. Visit your shop's vQmod install folder,
e.g. http://www.myshop.eu/vqmod/install/ or http://www.mysite.eu/shop/vqmod/install/
You should almost immediately see an installation success message. - STEP 13
Put your store back on.Switch Maintenance Mode to NoCode: Select all
AP > System > Settings > {Edit Store} > Server
Click Save
- ISSUE: Messed-up theme in front-end.
SOLUTION: Go to store front & press Ctrl+F5 to update CSS changes. - ISSUE: You see an error like "Undefined method https..."
SOLUTION: Your custom modules need to be updated to 1.5.4.1 to remove the use of the url class. - ISSUE: You are redirected to the admin login page with "Invalid Token Session".
SOLUTION: Your custom modules need to be updated to 1.5.4.1 to use the new token security. - ISSUE: Items won't add to cart. Animation shows but cart remains empty.
SOLUTION: This is due to the products not having a legitimate weight class or length class. The upgrade can cause this, or it was missing for some languages. Verify that there is a weight class and length class for each language you have on your site. - ISSUE: Facing trouble with languages.
SOLUTION: It's probably because the language directory and/or file has changed. To fix, simply update language details.Edit the affected language and ensure that details are as below:Code: Select all
AP > System > Localisation > Languages > {Edit language}
Code: Select all
name: български език code: bg locale: bg_BG.UTF-8,bg-BG,bulgarian image: bg.png directory: bulgarian filename: bulgarian name: Català code: ca locale: ca_ES.UTF-8,ca-ES,catalan image: cat.png directory: catalan filename: catalan name: Hrvatski jezik code: hr locale: hr_HR.UTF-8,hr-HR,croatian image: hr.png directory: croatian filename: croatian name: Èeština code: cs locale: cs_CZ.UTF-8,cs-CZ,czech image: cz.png directory: czech filename: czech name: Dansk code: dk locale: dk_DK.UTF-8,dk-DK,danish image: dk.png directory: danish filename: danish name: Nederlands code: nl locale: nl_NL.ISO_8859-1,nl_NL,nl-NL,dutch image: nl.png directory: dutch filename: dutch name: Eesti keel code: et locale: et_EE.UTF-8,et-EE,estonian image: ee.png directory: estonian filename: estonian name: Suomi code: fi locale: fi_FI.UTF-8,fi-FI,finnish image: fi.png directory: finnish filename: finnish name: Le français code: fr locale: fr_FR.UTF-8,fr-FR,french image: fr.png directory: french filename: french name: Deutsch code: de locale: de_DE.UTF-8,de-DE,german image: de.png directory: de_DE filename: de_DE name: ελληνικά code: el locale: el_GR.UTF-8,el-GR,greek image: gr.png directory: greek filename: greek name: Magyar code: hu locale: hu_HU.UTF-8,hu-HU,hungarian image: hu.png directory: hungarian filename: hungarian name: Italiano code: it locale: it_IT.UTF-8,it-IT,italian image: it.png directory: italian filename: italian name: Latviešu valoda code: lv locale: lv_LV.UTF-8,lv-LV,latvian image: lv.png directory: latvian filename: latvian name: Lietuvių kalba code: lt locale: lt_LT.UTF-8,lt-LT,lithuanian image: lt.png directory: lithuanian filename: lithuanian name: Norsk code: no locale: no_NO.UTF-8,no-NO,norwegian image: no.png directory: norsk filename: norsk name: Język polski code: pl locale: pl_PL.UTF-8,pl-PL,polish image: pl.png directory: polski filename: polski name: Português code: pt locale: pt_PT.UTF-8,pt_BR,pt-PT,portuguese image: pt.png directory: portuguese filename: portuguese name: Română code: ro locale: ro_RO.UTF-8,ro-RO,romanian image: ro.png directory: romana filename: romana name: Pу́сский язы́к code: ru locale: ru_RU.UTF-8,ru-RU,russian image: ru.png directory: russian filename: russian name: Cрпски code: sr locale: sr_SP.UTF-8,sr-SP,serbian image: sp.png directory: srb filename: srb name: Slovenčina code: sk locale: sk_SK.UTF-8,sk-SK,slovak image: sk.png directory: slovak filename: slovak name: Slovenščina code: sl locale: sl_SL.UTF-8,sl-SL,slovenian image: sl.png directory: slovenian filename: slovenian name: Español code: es locale: es_ES.UTF-8,es-ES,spanish image: es.png directory: spanish filename: spanish name: Svenska code: sv locale: sv_SE.UTF-8,sv-SE,swedish image: se.png directory: swedish filename: swedish name: Türkçe code: tr locale: tr_TR.UTF-8,tr-TR,turkish image: tr.png directory: turkish filename: turkish name: Украї́нська мо́ва code: ua locale: ua_UA.UTF-8,ua-UA,ukrainian image: ua.png directory: ukrainian filename: ukrainian
- ISSUE: Facing too many issues, and want to rollback to old cart.
SOLUTION: Please refer to rollback instructions below.
ROLLBACK INSTRUCTIONS
If, for whatever reason, you don't like what happens after you upgrade your OpenCart to OpenCart Europa v 1.5.4.1 then you can rollback to your old version IF you followed the upgrade process correctly, specifically step 4.
Rollback Steps
- STEP 1
Restore the files you backed-up in step 4 of upgrade process.
You might use an FTP program like Filezilla http://filezilla-project.org/ to upload the backup files from Desktop to your shop. - STEP 2
Restore your old database using OpenCart Europa's backup system(if you have a very old version of OpenCart or for another reason you downloaded the database using phpMyAdmin's Export function, you can restore using phpMyAdmin's Import function)Code: Select all
AP > System > Backup/Restore
- STEP 3
Clear any cookies in your browser to avoid getting token errors. - STEP 4
Load the admin page & press Ctrl+F5 to force the browser to update CSS changes. - STEP 5
Put your store back on.Switch Maintenance Mode to NoCode: Select all
AP > System > Settings > {Edit Store} > Server
Click Save