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

snelson’s picture

Status: Active » Postponed

The 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

snelson’s picture

Status: Postponed » Fixed

hook_requirements and README.txt have been updated and committed.

snelson’s picture

Status: Fixed » Postponed

The tarball has not yet been updated. Gonna check it on the next packaging script run.

snelson’s picture

Status: Postponed » Fixed

Nevermind that above, wrong issue.

Anonymous’s picture

Status: Fixed » Closed (fixed)