Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Cache not loading

Hi there! The error I get is: Warning: Phalcon\Mvc\View\Engine\Volt\Compiler::compileFile(C:\xampp\htdocs\DTT-News\app\config/../../app/cache/c__xampp_htdocs_dtt-news_app_views_index_index.volt.php): failed to open stream: No such file or directory in C:\xampp\htdocs\DTT-News\public\index.php on line 42 Volt directory can't be written

I have realised that the problem is that the load the cache from a folder where it's not in. My cache folder is outside of the app, for a reason I dont' know. I have tried to change the APP_PATH in the index file but it doesn't work.

Any help is fully appreciated!



281
Accepted
answer

Solved by changing cacheDir in the config file