Open Classifieds requires some folders to be writable.
This is useful if you are getting an error of folder not writable, or you cant upload pictures, or cache corrupted…etc.
Please be sure that at least these folders have correct permissions and ownership:
- /oc/cache
- /oc/logs
- /images
Example how to do it:
sudo chmod -R /var/ww/openclassifieds/oc/cache sudo chown -R www-data:www-data /var/ww/openclassifieds/oc/cache
I recommend giving to the entire folder 755 permissions and correct ownership.
Cleaning cache if there’s an error:
sudo rm -f /var/ww/openclassifieds/oc/cache[jetpack_subscription_form]