Order page on admin giving out errors when view.
Posted: Mon Mar 26, 2012 2:48 pm
Opencart 1.5.2.1
Theme Shoppica 1.0.12
The error log is there but no known problem has been surfaced up till now.
I have try to disabled vQmod and the only difference is that the error is generated on the vqmod cache instead of the actual files.
Here is the affected lines (although the file is originally from the 1.5.2.1, i just simple adding it here for reference purposes):
Have tried Google and look around the forum, I do find some related topics which most of them were related to custom template.
Theme Shoppica 1.0.12
The error log is there but no known problem has been surfaced up till now.
I have try to disabled vQmod and the only difference is that the error is generated on the vqmod cache instead of the actual files.
Code: Select all
Notice: Undefined index: reward in /home/discom/public_html/shop/admin/model/sale/order.php on line 258
Notice: Undefined index: reward in /home/discom/public_html/shop/admin/model/sale/order.php on line 258
Notice: Undefined index: reward in /home/discom/public_html/shop/admin/model/sale/order.php on line 258
Notice: Undefined index: reward in /home/discom/public_html/shop/admin/model/sale/order.php on line 258
Notice: Undefined index: reward in /home/discom/public_html/shop/admin/model/sale/order.php on line 258
Notice: Undefined index: shipping_code in /home/discom/public_html/shop/admin/model/sale/order.php on line 360
Notice: Undefined index: payment_code in /home/discom/public_html/shop/admin/model/sale/order.php on line 377
Notice: Undefined index: forwarded_ip in /home/discom/public_html/shop/admin/model/sale/order.php on line 394
Notice: Undefined index: user_agent in /home/discom/public_html/shop/admin/model/sale/order.php on line 395
Notice: Undefined index: accept_language in /home/discom/public_html/shop/admin/model/sale/order.php on line 396
Code: Select all
Line 258: $reward += $product['reward'];
Line 360: 'shipping_code' => $order_query->row['shipping_code'],
Line 377: 'payment_code' => $order_query->row['payment_code'],
Line 394: 'forwarded_ip' => $order_query->row['forwarded_ip'],
Line 395: 'user_agent' => $order_query->row['user_agent'],
Line 396: 'accept_language' => $order_query->row['accept_language'],