Per http://groups.drupal.org/node/4191

In the past version of AMFPHP, I returned a recordset to Flash and Flash received/manipulated it fine (in other words, I only have db_query, and omit the mysql_fetch_* step before passing back to Flash).

Now, Flash doesn't believe it's receiving anything. I've confirmed that this is a module problem because I tried the aforementioned method directly with AMFPHP (

Comments

MattKelly’s picture

I found out what the problem was.

amfphp.module is missing this: $gateway->addAdapterMapping('mysqli_result', 'mysqli');

Will submit a patch soon, because it seems like this should work out of the box, like core AMFPHP.

snelson’s picture

Hey Matt,

I updated amfphp.module to use AMFPHP 1.9 beta 2. I think it'll work with this out of the box as the new gateway doesn't seem to need adapter mappings.

Scott

MattKelly’s picture

Great, we'll be upgrading to the latest version very soon- I'll post in here once testing it out. Hooray for a faster encoding/decoding!

MattKelly’s picture

Status: Active » Closed (fixed)

I've confirmed- you don't need to set adapters. Thanks, Scott.