Ok, thanks for that.labeshops wrote:Version 2.2 does not use the English folder - it uses the en-gb folder. So any language changes you need to make, you need to do in that folder.
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
I've updated onto a copy of my store and the upgrade script worked like a charm from 2.0.3.1 to 2.2.0.0
I had this same error for guest.php and shipping_method.php but was able to find the fix on the forum.
I haven't been able to find a fix for this one though:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Undefined index: comment in <b>/.../catalog/controller/checkout/payment_method.php</b> on line <b>186</b>[]
Any help greatly appreciated
I've attached the fixed files in the below thread
'http://forum.opencart.com/viewtopic.php?f=190&t=162066
I don't see a difference.pm-netti wrote:There in catalog.php is bug:
change to:Code: Select all
// Action Events $_['action_event'] = array( 'view/*/before' => 'event/theme', //'model/*/before' => 'event/debug/before' //'model/*/after' => 'event/debug/after' );
Code: Select all
// Action Events $_['action_event'] = array( 'view/*/before' => 'event/theme' //'model/*/before' => 'event/debug/before' //'model/*/after' => 'event/debug/after' );
Qphoria wrote:I don't see a difference.pm-netti wrote:There in catalog.php is bug:
change to:Code: Select all
// Action Events $_['action_event'] = array( 'view/*/before' => 'event/theme', //'model/*/before' => 'event/debug/before' //'model/*/after' => 'event/debug/after' );
Code: Select all
// Action Events $_['action_event'] = array( 'view/*/before' => 'event/theme' //'model/*/before' => 'event/debug/before' //'model/*/after' => 'event/debug/after' );
Code: Select all
$_['action_event'] = array(
'view/*/before' => 'event/theme',
);
Code: Select all
$_['action_event'] = array(
'view/*/before' => 'event/theme'
);

Thought I'd ask in case someone else is getting ready to upgrade and used it.
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Code: Select all
<input type="hidden" name="no_shipping" value="0" />
Code: Select all
<input type="hidden" name="no_shipping" value="2" />
From what I've read today, core coding in upload/catalog/view/theme/default/template/payment/pp_standard.tpl was changed to prevent a customer changing their address in PayPal which would mean Opencart wouldn't pick up the change, and sellers would post to an incorrect address.
Code below is from core files - 1 means DO NOT prompt for an address, causing sellers to lose seller protection
Code: Select all
+ <input type="hidden" name="no_shipping" value="1" />
As per the reply provided by supak111 on the below thread, PayPal have three shipping code choices..
viewtopic.php?f=190&t=138451&sid=a6c6e1 ... 7&start=20
0 – prompt for an address, but do not require one
1 – do not prompt for an address
2 – prompt for an address, and require one
SUGGESTION: Provide an option box in admin>payments>paypal payments standard> edit on the general tab to allow OC users to select between the above 3 PayPal address prompt options.
Alternatively, is there another solution to provide seller protection whilst allowing customers to change their address in PayPal post purchase/pre shippment, and have a notification and change of address picked up by Opencart?
My site is live and error free!
The issues I had were:
checkout (updated php files were added to version

SSL not working (extension force SSL and the creator fixed the errors created)
PayPal lost seller protection (see above posts from me on how I fixed this)
I have a couple of small issues with two payment extensions, but these are both minor coding issues which do not effect the customer's experience.
So far I have used the upgrade-14x-to-15x Script with success. After that I have uploaded OC 2.2 files und this upgrade script. Unfortunately it didn't work.
Is my workflow correct? Do I first need to install version 1.5.x and make some changes before I continue with this script?
(I have been trying the whole week on my local dev-system before I posted here)
Explain.fireatwire wrote:Unfortunately it didn't work.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
http://www.opencart.com/index.php?route ... n_id=24347fireatwire wrote:I have a store on 1.4.9.6 which I want to upgrade to 2.2.
So far I have used the upgrade-14x-to-15x Script with success. After that I have uploaded OC 2.2 files und this upgrade script. Unfortunately it didn't work.
Is my workflow correct? Do I first need to install version 1.5.x and make some changes before I continue with this script?
(I have been trying the whole week on my local dev-system before I posted here)
You did it correctly. but what "didn't work" ?fireatwire wrote:I have a store on 1.4.9.6 which I want to upgrade to 2.2.
So far I have used the upgrade-14x-to-15x Script with success. After that I have uploaded OC 2.2 files und this upgrade script. Unfortunately it didn't work.
Is my workflow correct? Do I first need to install version 1.5.x and make some changes before I continue with this script?
(I have been trying the whole week on my local dev-system before I posted here)
How to use:
This package should replace the existing "install" folder from 2.2.0.0 when you first unzip.
1. Download the OpenCart 2.2.0.0 zip file (do not use this script for any other version. Newer versions may already have updated versions of the upgrade script.)
2. Upload all files and folders from inside the "upload" folder to your server EXCEPT for the "install" folder. Overwrite the existing files on your server. You do not need any file outside of the upload folder.
3. Download my upgrade package from the bottom of this post
4. Upload the "install" folder within to the root of your store. The same place you uploaded admin, catalog, etc
5. Run the upgrade script by going to
CODE: SELECT ALL
http://<yoursite.com>/install
I got an error while upgrading like this:
Fatal error: Call to undefined method Session::start() in D:\wamp\www\openold\system\framework.php on line 31
Call Stack
# Time Memory Function Location
1 0.0007 258608 {main}( ) ..\index.php:0
2 0.0206 1855152 require_once( 'D:\wamp\www\openold\system\framework.php' ) ..\index.php:34
Please help me...
WHAT I HAVE?
I have OpenCart 1.5.6.4.
WHAT I WANT?
I want to have clean OpenCart 2.2.0 but I need to keep my customers, products, orders etc..
My idea is upgrade 1.5.6.4. to 2.2.0, then I export products, customers, orders etc.. from phpmyadmin and will import it to new database where is clean opencart 2.2.0.
So I uploaded 2.2.0 EXCEPT install folder and overwrited all files of course. I upload folder install (downloaded in 1st post) to root, then I run http://myshop.com/install
It shows me upgrade was successfully BUT:
1. If I open some order in administration, popup window shows me "error undefinied" (see attachment)
2. in order I can't add rewards points, affiliate etc.. can't click on green buttons
3. Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /web/sub/v2/admin/controller/customer/customer.php on line 1105
Any solution please? Tried it 2 times.. Thank you
Attachments
Snímka obrazovky 2016-08-07 o 12.55.41.png (156.65 KiB) Viewed 6022 times
Users browsing this forum: No registered users and 13 guests