vqmod记录opencart错误 [英] vqmod logs opencart error

查看:136
本文介绍了vqmod记录opencart错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了一个扩展效果很好的扩展程序,但是进行了一些修改后,它停止了工作.而我正在查看vqmod/logs并发现此错误,有人可以解决此问题吗?

I had installed an extension which was working great, but after doing some modification it stopped working. and i was going through the vqmod/logs and found this error, can anyone please solve this issue?

请求URI:/index.php?route=product/category&path=81

REQUEST URI : /index.php?route=product/category&path=81

MOD详细信息:

modFile:/home/public_html/vqmod/xml/add_option_category.xml

modFile : /home/public_html/vqmod/xml/add_option_category.xml

id:

版本:1.0

vqmver:

作者:OST

文件名:catalog/view/theme/*/template/product/category.tpl(5)

File Name : catalog/view/theme/*/template/product/category.tpl(5)

VQModObject :: applyMod-未找到搜索(正在终止MOD)

VQModObject::applyMod - SEARCH NOT FOUND (ABORTING MOD)

<button type="button" onclick="cart.add('<?php echo $product['product_id']; ?>', '<?php echo $product['minimum']; ?>');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $button_cart; ?></span></button>

请帮助我.谢谢

推荐答案

您所做的更改与该现有mod冲突,因此出现错误.

The changes you have made are conflicting with this existing mod, hence the error.

消息说这行:

<button type="button" onclick="cart.add('<?php echo $product['product_id']; ?>', '<?php echo $product['minimum']; ?>');"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md"><?php echo $button_cart; ?></span></button>

在此文件中找不到:catalog/view/theme/*/template/product/category.tpl,因为它已被硬编码,或者另一个vqmod在您的旧编码之前修改了该代码.

Is not found in this file: catalog/view/theme/*/template/product/category.tpl because it has been hardcoded out or another vqmod is modifying that code before your old one is.

与mod作者联系,他们可以为您调整脚本,这是一个非常简单的更改.

get in touch with the mod author and they can adjust the script for you, it's a very simple change.

这篇关于vqmod记录opencart错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆