【发布时间】:2012-09-14 12:45:45
【问题描述】:
我在尝试打开时收到此错误消息
/app_dev.php
An error occurred while loading the web debug toolbar (404: Not Found).
Do you want to open the profiler?
当我点击确定时,我得到了错误:
app_dev.php/_profiler/5053258a822e1
和
404 Not found
我正在使用 nginx
非常感谢您的帮助。
编辑:这是错误日志:
[error] 18369#0: *9 open() "/var/www/Symfony/web/app_dev.php/_wdt/5056f875afc98" failed (20: Not a directory), client: 127.0.0.1, server: symfony, request: "GET /app_dev.php/_wdt/5056f875afc98 HTTP/1.1", host: "symfony", referrer: "http://symfony/app_dev.php"
[error] 18369#0: *9 open() "/var/www/Symfony/web/404" failed (2: No such file or directory), client: 127.0.0.1, server: symfony, request: "GET /app_dev.php/_wdt/5056f875afc98 HTTP/1.1", host: "symfony", referrer: "http://symfony/app_dev.php"
编辑 2:
当我尝试访问 app_dev.php 时,页面打开但没有工具栏,当我尝试使用 app_dev.php/ 时,我得到了
**Oops! An Error Occurred
The server returned a "404 Not Found".
Something is broken. Please e-mail us at [email] and let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. **
错误。
【问题讨论】:
-
你能发布你的 nginx 错误日志吗? (不仅是打印到您的浏览器中的内容!)
-
谢谢弗洛伦特,我改变了我的问题
-
已解决,请在此处查看我的答案:stackoverflow.com/a/30313196/1700429
-
我希望这个链接有所帮助,因为它有点相同。 stackoverflow.com/questions/30299009/…
标签: symfony nginx http-status-code-404 symfony-2.1 profiler