我不能使用vqmod。当ı点击管理面板中的vqmod时,它会显示
VQMod似乎没有正确生成vqcache文件
我还使用自动相关产品xml。这件事引起的?我不知道。
还有一些产品页面说明了
注意:未定义的索引:第416行的/home/elmaicom/domains/elmacimarketi.com/public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php中的product_info
它属于:
> //related by manufacturer
> if(count($results)<3 && (int)$this->data['product_info']['manufacturer_id'] > 0){//change to
> suit number of products to display
> $temp = $this->model_catalog_product->getProductRelatedByManufacturer($this->data['product_info']['manufacturer_id'],$this->request->get['product_id'],count($results));
> foreach($temp as $t){
> if(!empty($t)){
> $results[] = $t;
> }
> }
> }
请帮助。我必须使用vqmod。
答案 0 :(得分:2)
检查以下内容:
<vqmver><![CDATA[version]]></vqmver>
)中给出的vqmod版本,两者都必须相同。<?xml version=”1.0″ encoding=”UTF-8″?
- 将此行放在XML的顶部,使其有效且更兼容。答案 1 :(得分:2)
此
将任何vqmod xml文件移到vqmod文件夹之外并检查。如果一切正常,请将xml移回vqmod文件夹。我不知道原因,但在某些情况下它对我有用:)!
也为我工作
答案 2 :(得分:1)
表示未定义的索引product_info
错误
在相关产品扩展程序的vqmod(vqmod/xml
目录中的xml文件)中
替换
(int)$this->data['product_info']['manufacturer_id']
与
(int)$product_info['manufacturer_id']
答案 3 :(得分:1)
答案 4 :(得分:0)
vQmod没有管理界面,所以它可能是您所指的vQmoderator或vQmod manager之类的工具。对于未正确生成的缓存文件,这几乎肯定取决于文件权限。确保您在/vqmod/vqcache/
上设置的权限设置为与/system/cache/
文件夹
答案 5 :(得分:0)
永远不会太晚:尝试删除mods.cache
文件
www-data将再次为您重新生成
在管理面板上刷新vQmod Manager
**确保设置管理员用户组预设