Error 500 after click New Page or New Post in admin
Created 7 years ago by czorny813This is error from logs: Next exception 'Twig_Error_Runtime' with message 'An exception has been thrown during the rendering of a template ("file_get_contents(/home/bartosz/www/pyro/test3/public/pyro/test3/public/app/default/assets/anomaly/streams-platform/resources/js/modal/filter.js): failed to open stream: No such file or directory") in "streams::modals/filter" at line 2.' in /home/bartosz/www/pyro/test3/vendor/twig/twig/lib/Twig/Template.php:447
ryanthompson
—
7 years ago
Does that file for the file_get_contents
indeed not exist?
ryanthompson
—
7 years ago
ryanthompson
—
7 years ago
Then make sure your public/app directory is writable
ryanthompson
—
7 years ago
Best Answer
If twig cache is failing make sure the storage
directory is writable as well. That's where the compiled views, cache, and logs all will be stashed.
If twig cache is failing make sure the
storage
directory is writable as well. That's where the compiled views, cache, and logs all will be stashed.