Carlos Mansur Tue Mar 05 18:35:14 -0500 2013

Subject: Error on associations working with amfphp and phpactiverecord

Hi, I'm working with Zend-Amf 1.7.1 and phpactiverecord, and when I use "find" method on a model that contains a "has_many" or "belong_to" association, when return the result, amfphp throws a netconnection.call.badversion error. If I remove the association, there is no error. Ideas? Thanks!


Carlos Mansur Tue Mar 12 09:39:38 -0400 2013

El problema es el buffer de salida de php.
Solución, ponemos ob_end_clean(); antes de return o
en el metodo destruct de clase de php

Saludos.

(1-1/1)