I have a web developed with Symfony 2.2.1. I developed it using the dev environment and it works great. The problem is when I try the production environment. I receive a 200 with empty body.
My investigation:
Symfony doesn't write nothing in the logs.
$response = $kernel->handle($request);
is called, but the next line
$response->send();
it's not. This lines are in the app.php file
If I replace $kernel = new AppKernel('prod', false);
to $kernel = new AppKernel('prod', true);
in the app.php file all works great.
What can be wrong with my settings?
I have installed the bundles: FOSRestBundle, FOSUser, Sonata-Admin and Sonata-User.