I’m trying to setup Symfony 2. I’ve downloaded straight from the site and I haven’t changed anything. I can browse to config.php and it says Your configuration looks good to run Symfony.. If I go to app_dev.php, I get a javascript alert saying that it could not open the web debug toolbar. It asks me if I want to go to the profiler and if I click okay, I get a 404. In my apache error log I see that it’s saying the file does not exist, thus the 404.
The .htaccess in my web folder looks like:
<IfModule mod_rewrite.c>
RewriteEngine On
#<IfModule mod_vhost_alias.c>
# RewriteBase /
#</IfModule>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
But I don’t think the .htaccess has anything to do with it since the url is /app_dev.php/_profiler/50801f9707c71.
What am I doing wrong?
Note: This is not a dev version. I’m using 2.1.2 standard from Symfony’s download page.
I think its a bug in symfony for version 2.1.3 (dev). If you change in your composer.json 2.1.2 (instead of 2.1.*) and then hit “composer.phar update” it should be fine. Similar thing happen few days ago to me.