Assetic - 路线“_assetic_001d5b7_0"不存在 [英] Assetic - Route "_assetic_001d5b7_0" does not exist

查看:14
本文介绍了Assetic - 路线“_assetic_001d5b7_0"不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题似乎已被问过多次,但没有一个解决方案适合我.

This question seems to have been asked multiple times but none of the solutions work for me.

我在我的生产环境中,这是我所做的:

I'm in my prod environment, here is what I've done:

  • 在做任何事情之前/之后清除缓存
  • 尝试注释掉 config_dev 中的 _assetic 内容并确保它不在其他任何地方(这在 prod env 中并不重要)
  • 将 use_controller 设置为 true 和 false(显然适用于 true 但不使用编译文件)

还有什么我遗漏的吗?这些文件从php app/console assetic:dump --env=prod --no-debug文件名与错误中的文件名相匹配,减去路由内容.

Is there anything else I'm missing? The files are generating completely fine from php app/console assetic:dump --env=prod --no-debug the file name matches that of in the error minus the route stuff.

推荐答案

我在一分钟前遇到了这个问题.清理缓存对我有用:

I had this problem just one minute ago. Clean up the cache worked for me:

app/console cache:clear --env=prod

希望这会有所帮助.

这篇关于Assetic - 路线“_assetic_001d5b7_0"不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆