php - Make Chrome display pages even on 500 or 404 codes (behave like Firefox) -
we're developing new site in symfony. when symfony encounters error, such "no route found", , debug set true, not outputs 404 code, shows error on page. firefox displays server returned, chrome not.
for no route found example:
firefox shows this: http://i.imgur.com/myf85sl.png
chrome shows this: http://i.imgur.com/hex19in.png
is there way chrome behave firefox under these conditions?
edit: there seems questioning of what's happening. don't know what's causing this, otherwise fix it. here's see in chrome network inspector (note image 500 error, same happens 404's): http://i.imgur.com/viowgry.png
notice content length of zero. if go exact same url through firefox (same server, everything), shows actual symfony error.
under monolog config in config_dev.yml, remove firephp/chromephp sections.
Comments
Post a Comment