I am getting this error message when try to open
/app_dev.php
An error occurred while loading the web debug toolbar (404: Not Found).
Do you want to open the profiler?
When I click ok, I am getting then the error:
app_dev.php/_profiler/5053258a822e1
and
404 Not found
I am using nginx
Thank you very much for your help.
EDIT: Here is the error log:
[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"
EDIT 2:
When i try to access app_dev.php the page opens but without the toolbar and when I try with app_dev.php/ I am getting the
**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. **
error.
It happened in my dev environnement, so I comment the directive DirectoryIndex in my vhost config file, so now I get to my app with :
http://127.0.0.1/app_dev.php
And no more errors about the profiler ! I use Symfony 2.3.x.