Bad path in HEAD

Brandonian - October 11, 2008 - 17:51
Project:AMFPHP
Version:HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

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

#1

Jody Lynn - October 26, 2008 - 20:41

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

#2

Jody Lynn - October 26, 2008 - 21:20
Status:needs review» duplicate

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

#3

tamatama - December 8, 2008 - 10:57

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

 
 

Drupal is a registered trademark of Dries Buytaert.