Closed (fixed)
Project:
AMFPHP
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2007 at 22:18 UTC
Updated:
7 Aug 2007 at 16:29 UTC
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
Comment #1
MattKelly commentedI 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.
Comment #2
snelson commentedHey 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
Comment #3
MattKelly commentedGreat, 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!
Comment #4
MattKelly commentedI've confirmed- you don't need to set adapters. Thanks, Scott.