Hi all,
Ok I'm finally back to Opencart 1.4.9.1 with my website working as it was before I attempted this upgrade process.
So before I upgrade again, could someone who did this successfully please iron out a few things for me. Yes I have read the upgrade steps LOTS of times, but there are some contradictions between the steps in the txt file and some comments in the forum.... So I'll mark the steps I need clarified with "******".
And please note, I'm not in any way giving out about this process. I just want to clarify things that me and lots of others have had problems understanding.
________________________________________________________________________________________________
STEP 1. BACKUP YOUR DATABASE!
STEP 2. BACKUP YOUR STORE FILES VIA FTP OR CPANEL!
STEP 3. RENAME YOUR EXISTING config.php and admin/config.php to "config.bak"
******** STEP 4a. UNZIP AND UPLOAD ALL THE NEW OPENCART FILES OVER YOUR EXISTING FILES ********
When you say upload "ALL OF THE NEW OPENCART FILES", does that mean I must download the install files for version 1.5.1.2 and upload all of those files? As this is the version the upgrade brings you too.... A number of people have been confused by this.
******** STEP 4b. If you haven't already, Upload the install folder from the beta2 upgrade zip file ********
So once you upload the files for 1.5.1.2, you then replace the install folder from the 1.5.1.2 download with the upgrade script install folder...
STEP 5. DELETE THE "NEW" config.php and admin/config.php files that come with the new files
STEP 6. RENAME config.bak and admin/config.bak to "config.php"
STEP 7. EDIT config.php (not admin/config.php)
STEP 8. FIND: // DIR
STEP 9. BEFORE, ADD: (IF IT DOESN'T ALREADY EXIST):
// HTTP
define('HTTP_SERVER', '
http://mysite.com/');
define('HTTP_IMAGE', '
http://mysite.com/image/');
define('HTTP_ADMIN', '
http://mysite.com/admin/');
// HTTPS
define('HTTPS_SERVER', '
http://mysite.com/');
define('HTTPS_IMAGE', '
http://mysite.com/image/');
BE SURE TO CHANGE THE PATHS TO YOUR DOMAIN AND STORE.
IF USING A SUBDIRECTORY, BE SURE TO ADD IT TO THE PATH
IF USING SSL, BE SURE TO USE "https" for the bottom 2 entries
IF NOT USING SSL, BE SURE TO USE "http" for the bottom 2 entries
STEP 10.RUN THE UPGRADE SCRIPT:
http://mysite.com/install/upgrade-14x-to-15x.php
STEP 11a. IF it shows "SUCCESSFUL" then continue to the next step.
STEP 11b. IF it shows errors, then post them on the forum and wait for a reply
********** STEP 12. RUN THE BUILT-IN OPENCART UPGRADE FOR v1.5.1.3 or LATER by visiting:
http://mysite.com/install/index.php **********
At this point should I have a working site that is now running on 1.5.1.2??? And if so, Do I read the upgrade.txt file from the latest version of Opencart (1.5.2.1) and do the process described in that document?
STEP 13. Login to your admin panel and GOTO System->Users->User Groups
STEP 14. EDIT TOP ADMINISTRATORS AND CHECK ALL BOXES IN BOTH SECTIONS AND SAVE
STEP 15. GOTO System->Settings and verify each of your stores are listed there.
STEP 16. EDIT each store.
1. Update all the new fields with your settings.
2. Change the theme to "default".
3. Change Layout to "Default".
4. Update the new Image fields with dimensions
5. Save.
STEP 17. (OPTIONAL BUT RECOMMENDED) Goto System->Design->Layout
Delete ALL layouts except for "Default", "Checkout", and "Home".
This will make it more like 1.4.x and keep things simpler when adding modules
You can always add them back, but it can be overwhelming for new users of the layout system
STEP 18. Visit your homepage. Hit Ctrl+F5 twice to clear your css cache.
You should see the main header and footer with NO products or modules. But no errors.
________________________________________________________________________________________________
Thanks for all the help so far - and please, anyone with any points to make on my comments, please do make them...
I think answering these question will sort out issues for alot of other people as well as myself.
Thanks