I got this error code. Someone can help? Thank you.
Notice: Undefined variable: frauds in /home/xxxxxxxxx/public_html/xxxxxx.com/admin/view/template/sale/order_info.tpl on line 31
Notice: Undefined variable: frauds in /home/xxxxxxxx/public_html/xxxxxx.com/admin/view/template/sale/order_info.tpl on line 389
Cari album edisi luar negeri? Atau dalam negeri juga bisa. Kunjungi saja http://www.sawios.com Semoga bisa membantu.
Code: Select all
<?php if ($frauds) { ?>
<?php foreach ($frauds as $fraud) { ?>
<div class="tab-pane" id="tab-<?php echo $fraud['code']; ?>">
<?php echo $fraud['content']; ?>
</div>
<?php } ?>
<?php } ?>
Code: Select all
<?php foreach ($frauds as $fraud) { ?>
<li><a href="#tab-<?php echo $fraud['code']; ?>" data-toggle="tab"><?php echo $fraud['title']; ?></a></li>
<?php } ?>
Or then, remove the portions (untested!), shown, above, from the file:
Code: Select all
opencart-2.0.3.1\upload\admin\view\template\sale\order_info.tpl

Good Luck!
Ernie
hitline.info/os/
PS: MAKE SURE, not to have ANY Mod's installed, possibly not working with OC v.2.0.3.x
Theres is a Mod, updating your DB, hopefully as well, somewhere in the Extension Section, for such.
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
it's screenshot the error from order list.
Cari album edisi luar negeri? Atau dalam negeri juga bisa. Kunjungi saja http://www.sawios.com Semoga bisa membantu.

one nevers knows!
Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
One option (version 2.0.3.1 is not need table `order_fraud`):IP_CAM wrote:I meant, adding a table to the Database, and since you seem to be active with Opencart since 2012, I figured, you would know, what I was trying to tell you! Sorry![]()
one nevers knows!
Ernie
Cut this code from admin/controller/sale/order.php line 1436:
Code: Select all
$data['frauds'] = array();
Code: Select all
$data['frauds'] = array();
$order_info = $this->model_sale_order->getOrder($order_id);
Sorry, it still the same error. But thanks for helppm-netti wrote:One option (version 2.0.3.1 is not need table `order_fraud`):IP_CAM wrote:I meant, adding a table to the Database, and since you seem to be active with Opencart since 2012, I figured, you would know, what I was trying to tell you! Sorry![]()
one nevers knows!
Ernie
Cut this code from admin/controller/sale/order.php line 1436:
paste this to line 920:Code: Select all
$data['frauds'] = array();
Code: Select all
$data['frauds'] = array(); $order_info = $this->model_sale_order->getOrder($order_id);
Cari album edisi luar negeri? Atau dalam negeri juga bisa. Kunjungi saja http://www.sawios.com Semoga bisa membantu.
Users browsing this forum: No registered users and 4 guests