php - Why does production environment return a 200 with empty body? -


i have web developed symfony 2.2.1. developed using dev environment , works great. problem when try production environment. receive 200 empty body.

my investigation:

symfony doesn't write nothing in logs.

$response = $kernel->handle($request); called, next line $response->send(); it's not. lines in app.php file

if replace $kernel = new appkernel('prod', false); $kernel = new appkernel('prod', true); in app.php file works great.

what can wrong settings?

i have installed bundles: fosrestbundle, fosuser, sonata-admin , sonata-user.

thanks @cheesemacfly! log:

[wed may 15 18:35:06 2013] [error] [client x.x.x.x] php fatal error: uncaught exception 'symfony\\component\\dependencyinjection\\exception\\servicenotfoundexception' message 'the service "sonata.block.renderer.traceable" has dependency on non-existent service "debug.stopwatch".' in /home/inqbarna/zendprojects/symfony/vendor/symfony/symfony/src/symfony/component/dependencyinjection/compiler/checkexceptiononinvalidreferencebehaviorpass.php:59\nstack trace:\n#0 /home/inqbarna/zendprojects/symfony/vendor/symfony/symfony/src/symfony/component/dependencyinjection/compiler/checkexceptiononinvalidreferencebehaviorpass.php(43): symfony\\component\\dependencyinjection\\compiler\\checkexceptiononinvalidreferencebehaviorpass->processreferences(array)\n#1 /home/inqbarna/zendprojects/symfony/vendor/symfony/symfony/src/symfony/component/dependencyinjection/compiler/checkexceptiononinvalidreferencebehaviorpass.php(37): symfony\\component\\dependencyinjection\\compiler\\checkexceptiononinvalidreferencebehaviorpass->processdefinition(object(symfony\\component\\dependencyinjection\\definition))\n#2 /home in /home/inqbarna/zendprojects/symfony/vendor/symfony/symfony/src/symfony/component/dependencyinjection/compiler/checkexceptiononinvalidreferencebehaviorpass.php on line 59

that is, sonata-admin requires sonata-block , 1 have problem.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -