[flexcoders] amfPHP 1.9 beta 2, malformed amf object question

2007-02-23 Thread Kun Janos
Hi all

I updatet amfphp 1.2 to amfPHP 1.9 beta 2.
In the old services/dao 's I had some echo/print commands for debugging and 
amfphp worked just fine.
When amfPHP 1.9 beta 2 finds an echo or print in the services it stops working. 
I mean, the amf object that is sent back is malformed. This malformation also 
happens if in the service.php before the ?php or after the closing ? we have 
some white spaces.
Is this a bug?

Janos

 
-
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.

Re: [flexcoders] amfPHP 1.9 beta 2, malformed amf object question

2007-02-23 Thread Patrick Mineault
Try adding this in gateway.php:

$gateway-setLooseMode(true);

It was an oversight on my part, will be fixed in next version.

Patrick

Kun Janos a écrit :

 Hi all

 I updatet amfphp 1.2 to amfPHP 1.9 beta 2.
 In the old services/dao 's I had some echo/print commands for 
 debugging and amfphp worked just fine.
 When amfPHP 1.9 beta 2 finds an echo or print in the services it stops 
 working. I mean, the amf object that is sent back is malformed. This 
 malformation also happens if in the service.php before the ?php or 
 after the closing ? we have some white spaces.
 Is this a bug?

 Janos

 We won't tell. Get more on shows you hate to love 
 http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265
 (and love to hate): Yahoo! TV's Guilty Pleasures list. 
 http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265