简体   繁体   中英

VQmod on new VPS not writing vqcache files or log files

I am just moving an opencart site to a staging server and have vqmod installed in the site however I can't get vqmod to create the vqcache files and it isn't even logging any errors in the vqmod/log folder. I've basically set the directory structure to 777 to get it to work from a permissions point of view and everything is ownership user:www-data but still no joy.

万一有人遇到类似问题,这是用户组问题,则vqmod.php文件的所有权设置为user:user而不是必需的user:www-data

You should actually set the permissions for your vqmod.php to be the same as your index.php in your main OpenCart folder, not alter the owner of the file. You should also set the permissions of the following be the same as your /system/cache/ folder

/vqmod/
/vqmod/vqcache/
/vqmod/logs/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM