master-preview.php could not be created, runned chmod 777 already
-
Hi there,
I am just starting to install this plugin and I can’t get passed this error when trying to turn on preview:
wp-content/w3tc-config/master-preview.php could not be created, please run following command:
chmod 777 /wp-content/w3tc-config/master-preview.phpSo far I have the file advanced-cache.php populated with the code the plugin said to include. The file permissions are 0644 owned by www-data
The wp-content/cache folder is owned by www-data and has 2775 permissions
Files inside are 0644 permission.The wp-content/w3tc-config is owned by www-data and has 2775 permissions. (I also tested with 777 permissions and it did not work)
I created a file wp-content/w3tc-config/master-preview.php which is empty. It is owned by www-data and has 0644 permission. (I also tested with 777 permissions and it did not work)
Note: I haven’t allowed the execution of the .htaccess file yet in apache config. I see that this plugin already put a lot of code in it. When i do allow .htaccess to be used, any page i go to i get an Internal Server Error. So it breaks my site.
I am testing one thing at a time, so is there are way you could just tell me what code I need to put in to master-preview.php? Or help me create that file somehow.
Thanks!
- The topic ‘master-preview.php could not be created, runned chmod 777 already’ is closed to new replies.