One of of clients uses shared webhosting on which I installed OpenCart 0.7.7, and when I tested it the error message
Error: Could not write to cache directory!
came up in locator.php, after the line:
Code: Select all
function createCache() {
if (!is_writable(DIR_CACHE)) {
exit('Error: Could not write to cache directory!');
}
require_once(DIR_LIBRARY . 'cache/cache.php');
return new Cache();
}
The PHP scripts are running under Apache's general user/group 'nobody', whereis our cache directory has user/group of our own account, to keep it safe. I don't want to give our cache-directory write-access to user/group 'nobody'. Though OpenCart would work it would be a high security risk.
Has anybody had a similar problem and found a solution to this?