Project:AMFPHP
Version:master
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

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.

AttachmentSize
amfphp.patch579 bytes

Comments

#1

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

#2

Status:needs review» closed (duplicate)

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

#3

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