Notice: Error: Could not load controller payment//orderAction! Open Cart 1.5.6
If you’re getting a blank white page or the above error when clicking on an order, then this fix may be for you. Make sure you backup the original file before modifying it, or as I did, comment out the original line with a // at the start of it, then put the new PHP if statement there instead.
Change line 1919 of admin/controller/sale/order.php from:
Code: Select all
- Code:-
-
if($this->hasAction('payment/' . $order_info['payment_code'] . '/orderAction') == true){
to:
- Code:-
-
if(!empty($order_info['payment_code']) && $this->hasAction('payment/' . $order_info['payment_code'] . '/orderAction') == true){