symfony2 : failed to write cache directory

后端 未结 10 1703
没有蜡笔的小新
没有蜡笔的小新 2020-12-12 11:21

I have had to use the

app/console cache:clear  command

to solve a problem when generating an entity.

I am now unable to load my ho

10条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-12 11:52

    You probably aborted a clearcache halfway and now you already have an app/cache/dev_old.

    Try this (in the root of your project, assuming you're on a Unixy environment like OS X or Linux):

    rm -rf app/cache/dev*

提交回复
热议问题