php - Symfony 分析器抛出 404

标签 php symfony profiler

我在 symfony 中创建了新项目,但在每个站点上都收到错误提示:

An error occurred while loading the web debug toolbar (404: Not Found).
Do you want to open the profiler?

当我打开分析器时,有一条消息

Token not found
Token "59942c" was not found in the database.

此外,在缓存目录中,profiler 目录是空的!我检查了权限,它们是正确的。我尝试了 cache:clear 并手动删除缓存,但这没有帮助。

最佳答案

这通常是事件订阅者/监听器的问题。 试运行

console debug:event

检查错误

关于php - Symfony 分析器抛出 404,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31367192/

相关文章:

php - unix 时间戳四舍五入到午夜

php - 带有本地网络的 webRTC

symfony - 多个数据库上的 Doctrine2 Symfony2 迁移

profiler - 是否可能/容易确定程序使用了多少功率?

php - 如何使用单个查询创建多个搜索字段? [PHP/HTML]

javascript - Ajax 中的 Symfony2 表单验证

php - 通过单元测试访问 Symfony 2 容器?

java - 应用程序中的内存泄漏

android - 无法在 Network Profiler 的连接 View 中选择时间线

php - 如何在没有表格的情况下显示数据库中的产品?