We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

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!


Solved by changing cacheDir in the config file