I've been playing around with AMFPHP in Drupal 6, and found a bug in the hook_server function, in which the path to pull the AMFPHP files is relative instead of absolute, which caused the module to fail regularly.

Attached is a patch to change the path to an absolute path, no matter how the module is installed.

CommentFileSizeAuthor
amfphp.patch579 bytesBrandonian

Comments

jody lynn’s picture

It looks like just adding './' before drupal_get_path is the usual way modules handle it.

jody lynn’s picture

Status: Needs review » Closed (duplicate)

I added the change to my patch for HEAD in #219365: AMFPHP for DRUPAL 6 comment #30

tamatama’s picture

for basic users I found the line to edit in amfphp folder root, called amfphp.module, may save you 5 minutes