ob_end_flush();
parent::afterFilter();
}
Seems to work as workaround. It still need a fix.
On Thu, Nov 3, 2011 at 1:52 PM, Chris Cinelli <chris.cinelli@formativelearning.com> wrote:
We have some ajax action in the controller that are supposed to spit out JSON.
They end with:
echo json_encode($data);
$this->autoRender = false;
On a Ubuntu Machine (that will be the production machine) with Nginx and php-fpm the echo do no output anything.
We get only the headers in the answer.
Everything works on XAMPP that uses Apache.
Best,
Chris
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment