davidvrodrigues / vqmod

Automatically exported from code.google.com/p/vqmod
0 stars 0 forks source link

Empty vqcache on addon domain #182

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.vqmod is installed correctly
2.file permissions are all 777 on /vqmod and contents
3.cache and log are empty

What is the expected output? What do you see instead?
I expect my mods to be generating cache files, they are not.

vQmod Version:2.5.1
Server Operating System:linux

Please provide any additional information below.
root site works perfectly, about 30 vqmods installed and working great.
same mods, same configuration on addon domain (public_html/www.mydomain2/) mods 
do not work. cache does not generate. thanks for your help

Original issue reported on code.google.com by dale.jac...@gmail.com on 28 Nov 2014 at 5:43

GoogleCodeExporter commented 8 years ago
new discovery:
upon viewing checked.cache, i notice many

/webroot/airbrush/public_html/system/library/weight.php
/webroot/airbrush/public_html/system/library/length.php
/webroot/airbrush/public_html/system/library/cart.php
/webroot/airbrush/public_html/system/startup.php
.. and so on

when the path it should be using is 

/webroot/airbrush/public_html/www.mydomain.com/system/library/weight.php
/webroot/airbrush/public_html/www.mydomain.com/system/library/length.php
/webroot/airbrush/public_html/www.mydomain.com/system/library/cart.php
/webroot/airbrush/public_html/www.mydomain.com/system/startup.php

where can I change this path generation?

Original comment by dale.jac...@gmail.com on 28 Nov 2014 at 6:09

GoogleCodeExporter commented 8 years ago
AHA! the problem has been solved. the issue has nothing to do with Vqmod - as I 
have guessed. its a misconfiguration with config.php and admin/config.php
be sure to update ALL applicable lines in these files.

There are obvious ones that include a domain that need to be changed, but also 
some default directories that may be invalid. in my case:

/webroot/user/public_html/system/
/webroot/user/public_html/catalog/
/webroot/user/public_html/image/
/webroot/user/public_html/download/

were defaults, but needed to be

/webroot/user/public_html/www.mydomain.com/system/
/webroot/user/public_html/www.mydomain.com/catalog/
/webroot/user/public_html/www.mydomain.com/image/
/webroot/user/public_html/www.mydomain.com/download/

After spending hours on this, and reading dozens of issues others have had 
messing with file permissions, .htaccess, etc., I think this may be your fix.
This is especially true in the case of opencart addon domains.

Original comment by dale.jac...@gmail.com on 28 Nov 2014 at 6:20