Things seem to be OK.
However, when I go to an order and try to VIEW it I get this error:
Fatal error: Class 'Controllerpayment' not found in /xxx/public_html/system/engine/loader.php on line 28
Line 28 is : $controller = new $class($this->registry);
(BTW If I click on the EDIT button, no issues.)
The error is associated with the 'payment_code' field in the oc_order table.
Error is thrown by line 1240 in /admin/controller/sale/order.php
Code: Select all
$content = $this->load->controller('payment/' . $order_info['payment_code'] . '/order');
But my case is upgrading database manually from 18.104.22.168 to 22.214.171.124 version, For oc_user, oc_user_group, oc_setting data sheets, directly copied from the new 126.96.36.199, All functions are normal, but Orders that can not be displayed.
How can I deal with this problem?
My Error Code:
Code: Select all
Fatal error: Class 'Controllerpayment' not found in /xxx/public_html/system/storage/modification/system/engine/loader.php on line 28
Change the payment_code in the orders table to the correct / updated payment_code of the replacement oc2 payment module. Example - payment_code 'dps_pxpay' in 1564 would need to be updated to 'paymentexpress' in 2101
Thank you in advance.
You say you upgraded with the migration upload tool (never heard of that one). A lot of your error will happen if you use the wrong one. Could you be a little more specific with at least a link to it. I suggest this one - http://www.randemsystems.com/support/op ... n-2-1-0-1/
The manual update has caused you some issues I believe. if you don't get it correct your will have problems with orders - Reference: http://www.randemsystems.com/support/op ... cart-v2-x/
You have not given enough information as to how you came to get these errors... Please give some history.
NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart
I have a site with over £1.2 million pounds worth of orders that I would like migrated to the new version.
I have done a database search but nothing is coming back.
Thanks in advance.
I believe I have updated all but one (i.e sagepay_server_v3 [1.5.6] to sagepay_server [188.8.131.52])
There is one that I cant find the equivalent of, its the openbay amazon payment code. On the old site its amazon.amazon [1.5.6] - does anyone know what it is for the v184.108.40.206?
amazonus.amazonus - catalog\controller\openbay\amazonus.php
amazon.amazon - catalog\controller\openbay\amazon.php
amazon_login_pay - catalog\controller\payment\amazon_login_pay.php
Hope that helps!
Fatal error: Class 'Controllerpayment' not found in /.../vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php on line 28
The payment methods and their payment code, I have installed are:
Cash on Delivery (cod)
Bank Transfer (bank_transfer)
OpenBay (amazon.amazon) - payment made on amazon
As for the OpenBay orders causing that problem; it sounds like OpenBay is not installed correctly. Could you have installed the Amazon US version by accident?
Line 28 of the loader.php file is part of a loop that is looking at the payment_code field and trying to find the matching payment controller PHP file. On some order it's finding a payment_code that doesn't have a matching payment controller installed/enabled.
My suggestion would be to query your database and find any payment_code that DOES NOT match 'pp_standard','sagepay_server','cod', and 'bank_transfer'.
A quick query I would use for that would be something like:
Code: Select all
SELECT order_id, payment_code FROM oc_order where payment_code NOT LIKE '%pp_standard%' AND payment_code NOT LIKE '%sagepay_server%' AND payment_code NOT LIKE '%cod%' AND payment_code NOT LIKE '%bank_transfer%' /*AND payment_code NOT LIKE '%amazon.amazon%' */
I hope that helps.
OpenBay's support team have logged in and installed the latest version for me. Ill ask the same question to them and show them the error code. But any thoughts from this thread?
Users browsing this forum: No registered users and 8 guests