Page 1 of 1
VQMOD not working
Posted: Sat Apr 28, 2012 8:24 pm
by geidorei
Hi - hope someone can help.
Installed vqmod - all aok, but no xml scripts work.
Have tried setting directory and cache to both 755 and 777
as a note log file does not increase in size nor is there any files created in cache.
Have also installed vqmod manager, says modules are there but they just dont work.
admin directory has also not not been renamed, and have checked index.php and admin/index.php and all seam to be as per instructions on vqmod website.
anyone got any ideas?
Re: VQMOD not working
Posted: Sat Apr 28, 2012 9:36 pm
by JAY6390
Have you uploaded the opencart xml file required to make it work? (vqmod_opencart.xml should be in /vqmod/xml/)
Re: VQMOD not working
Posted: Mon Apr 30, 2012 6:23 am
by geidorei
it - yep but sorted it - reset admins back to original, deleted all vqmod and reinstalled. all aok now.
Re: VQMOD not working
Posted: Fri Jul 06, 2012 4:19 pm
by crazypetfood
I have just setup OC v 1.5.3 on a sub domain, installed vqmod, set the permissions, and checked what people have said above, still don't work.
I even tried a backup of a working vqmod site to see if it was anything else. Didnt work. Can anyone help with why it does not work? is it a revision problem?
Update:
I re-set permissions 755 / 777 on both index.php, vqmod both directory and all files, still does not work... puzzling...
Re: VQMOD not working
Posted: Fri Jul 06, 2012 4:54 pm
by crazypetfood
Another little update for you...
I still can't get the vqmod to work, so I hard coded the relevant file, I am using v 1.5.x (Other versions do it differently)
File: catalog/controller/module/latest.php
Download and create a copy, call it latest.php.original or similar
Edit the file, and do...
Search for: 'limit' => $setting['limit']
Replace with: 'limit' => ($setting['limit'] * 10)
Search for: $results = $this->model_catalog_product->getProducts($data);
Add after:
srand((float)microtime() * 1000000);
shuffle($results);
$results = array_slice($results, 0, $setting['limit']);
Save and re-upload to the same location on your server, replace or rename original file, hit CTRL + F5 twice, it should work as it does for me
This info has been taken from the Quphoria vqmod cml file called: Randomize_Latest_Products_NoStrain.xml
It is VQmod thats the problem, now my products display randomly.