daylerees / anbu

Anbu profiler for the Laravel PHP Framework.
308 stars 24 forks source link

Response send header is not working #18

Closed Lightfe closed 10 years ago

Lightfe commented 10 years ago

Hi and thanks for this nice profiler

the response did not send the header:

I think because the Anbu\Profiler::executeAfterHook had sended a view before Symfony\Component\HttpFoundation\Response call the sendHeaders() 20140916174602 and the view's content is too much to make the buffer overflows (my php.ini set: output_buffering=4096), that the headers_sent() will return true so Symfony\Component\HttpFoundation\Responsethe::sendHeaders() is not working

Thanks!

barryvdh commented 10 years ago

Are you on the latest dev version? (1.x@dev). This commit should probably have fixed that: https://github.com/daylerees/anbu/commit/88843a319f63dafb99f047f239271db93b8aa130

Lightfe commented 10 years ago

sorry, is my question

my composer.json's require section is

qq 20140916174602

i had changed it to "daylerees/anbu": "dev-master" and now work properly

Thanks!