VQMod does not appear to be properly generating vqcache files

user3392616 picture user3392616 · Mar 7, 2014 · Viewed 8k times · Source

I can not use vqmod. When ı click vqmod in admin panel it says

VQMod does not appear to be properly generating vqcache file

I use also auto related products xml. caused by this thing? I don't know.

Also some product pages says that

Notice: Undefined index: product_info in /home/elmaicom/domains/elmacimarketi.com/public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 416

It belongs to:

> //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;               
>                            }          
>                       }        
>                   }

Help please. I have to use vqmod.

Answer

Sankar V picture Sankar V · Mar 7, 2014

Check the following:

  1. Check whether vqmod is installed by calling https://domain.com/vqmod/install in browser. If not installed, then please scroll up and read the steps.
  2. Verify file name and path, also confirm that the code in search tag exists in the file mentioned.
  3. Check folder permissions. Make sure that vqmod/vqcache and vqmod/logs have 755 or 777 permission. If nothing works, then try 777 permission recursively for vqmod folder.
  4. Check the error logs in vqmod/logs.
  5. Check the installed vqmod version and the vqmod version given in xml file (<vqmver><![CDATA[version]]></vqmver>), both need to be the same.
  6. Delete the files in vqmod/vqcache and check again. Also see whether vqmod copy of your file is generated or not.
  7. Move any vqmod xml file outside the vqmod folder and check. If everything works, move the xml back to the vqmod folder. I don’t know the reason, but it worked for me in some cases :) !
  8. <?xml version=”1.0″ encoding=”UTF-8″? – put this line at the top of the XML to make it valid and more compatible.
  9. Try the VQMod Manager extension. It may help you!

Reference link: Opencart Vqmod tutorial