Unable to write cache symfony2

前端 未结 3 620
感情败类
感情败类 2021-01-23 02:23
RuntimeException in ClassCollectionLoader.php line 239: 

Failed to write cache file \"/var/www/fareast/app/cache/dev/classes.php\".

I have this error

3条回答
  •  情书的邮戳
    2021-01-23 02:34

    In symfony3 i've faced the same issue...

    So, problem would not solve only using "cache clear"

    You have to change (R/W)permission of cache folder in your project

    For ex: "projectname/var/cache"
    

    Now refresh...

    If still issue is coming, change(R/W)permission of logs folder in your project

    For ex: "projectname/var/logs"
    

提交回复
热议问题