Closed (fixed)
Project:
AMFPHP
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2007 at 00:23 UTC
Updated:
3 Feb 2007 at 20:32 UTC
I've been trying to get the AMFPHP module up and working and I kept getting an error telling me to download the latest version. I had the latest version already, so I tried some of the older version. No luck. So I took a look at the amfphp.module file and I noticed that the include at the top of the page doesn't match the file structure of any of the AMFPHP distros. So I made the following changes to match up with amfphp-1.2.5:
1. amfphp.module
Line 15: if (!file_exists(realpath(dirname(__FILE__) . '/amfphp/core/amf/app/Gateway.php'))) {
Should be: if (!file_exists(realpath(dirname(__FILE__) . '/amfphp/amf-core/app/Gateway.php'))) {
2. AmfphpGateway.php
Line 4: require_once drupal_get_path('module', 'amfphp') . "/amfphp/core/amf/app/Gateway.php";
Should be: require_once drupal_get_path('module', 'amfphp') . "/amfphp/amf-core/app/Gateway.php";
I'm not sure if this is working correctly, I'm new to Web services. I'll let you know when I have more time to tweak things.
Comments
Comment #1
snelson commentedThe module is meant to work with the AMFPHP 1.9 beta http://www.5etdemi.com/blog/archives/2006/12/amfphp-19-beta-get-it-now/ . I am in the process of clarifying and providing more documentation. This needs to and will be more clear.
Thanks,
Scott
Comment #2
snelson commentedhook_requirements and README.txt have been updated and committed.
Comment #3
snelson commentedThe tarball has not yet been updated. Gonna check it on the next packaging script run.
Comment #4
snelson commentedNevermind that above, wrong issue.
Comment #5
(not verified) commented