Siddhi Jagtap Posted October 2, 2021 Share Posted October 2, 2021 Hello All, I have been getting this warning at the top of every page of my website since yesterday. Warning: file_put_contents(/var/www/html/GF_website/admin/site/assets/cache/FileCompiler/site/templates/index.php): failed to open stream: Permission denied in /var/www/html/GF_website/admin/wire/core/FileCompiler.php on line 400 All was fine until then and it suddenly started popping up. Though I am able to publish and delete things from the Processwire admin panel, none of the changes I make to any of the .php files of my site are reflecting. I suppose it is due to failure to compile the file. Any help is appreciated since I am a newbie to Processwire and still trying to figure things out. Link to comment Share on other sites More sharing options...
Christophe Posted October 2, 2021 Share Posted October 2, 2021 (edited) Hello, In the backend, you can go to Modules > Site, there is a "Clear Compiled Files" button at the bottom of the page. Or you could try by directly removing the content inside site/assets/cache/ (or perhaps just inside site/assets/cache/FileCompiler/). Edit: there is also https://processwire.com/modules/process-cache-control/. Edited October 2, 2021 by Christophe 1 Link to comment Share on other sites More sharing options...
JeevanisM Posted October 5, 2021 Share Posted October 5, 2021 On 10/2/2021 at 6:48 AM, Siddhi Jagtap said: Hello All, I have been getting this warning at the top of every page of my website since yesterday. Warning: file_put_contents(/var/www/html/GF_website/admin/site/assets/cache/FileCompiler/site/templates/index.php): failed to open stream: Permission denied in /var/www/html/GF_website/admin/wire/core/FileCompiler.php on line 400 All was fine until then and it suddenly started popping up. Though I am able to publish and delete things from the Processwire admin panel, none of the changes I make to any of the .php files of my site are reflecting. I suppose it is due to failure to compile the file. Any help is appreciated since I am a newbie to Processwire and still trying to figure things out. surely, try to clean your cache Link to comment Share on other sites More sharing options...
Siddhi Jagtap Posted October 5, 2021 Author Share Posted October 5, 2021 38 minutes ago, JeevanisM said: surely, try to clean your cache That worked. I cleared the site/assets/cache folder and also the caches table from the db. Thank you all! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now