AMFPHP flash service browser does not work

magico - September 26, 2008 - 15:02
Project:AMFPHP
Version:6.x-1.0-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

Report message:

(mx.rpc::Fault)#0
  errorID = 0
  faultCode = "AMFPHP_RUNTIME_ERROR"
  faultDetail = "E:\xampplite\htdocs\sites\webservices\sites\all\modules\services\servers\amfphp\amfphp.module on line 101"
  faultString = "Method <em>DiscoveryService.getServices</em> does not exist."
  message = "faultCode:AMFPHP_RUNTIME_ERROR faultString:'Method <em>DiscoveryService.getServices</em> does not exist.' faultDetail:'E:\xampplite\htdocs\sites\webservices\sites\all\modules\services\servers\amfphp\amfphp.module on line 101'"
  name = "Error"
  rootCause = (null)

#1

Jody Lynn - October 26, 2008 - 20:47
Status:active» postponed (maintainer needs more info)

Did you follow amfphp's intallation steps?

#2

somes - November 2, 2008 - 14:29

Im getting pretty much the same error - trying to figure out where to go from here with the whole thing

#3

øivind - November 12, 2008 - 12:28
Version:5.x-1.x-dev» HEAD

I can not reach the amfPHP service browser from the link on the page generated by the drupal amfPHP service link: "http://localhost/drupal-6.6/services/amfphp/browser" . The link there to the amfPHP service browser takes me to a "druapal - page not found" page?

In flash I tried to connect with gateway http://localhost/drupal-6.6/services/amfphp/gateway.php and indeed, I could use drupal services.
Hooray for Drupamflash tm !!!

I' have enabled clean url's in drupal.(also tried disable)

I can reach the amfPHP services browser inside amfPHP/amfPHP/browser by using the physical path and place a .htaccess file in the "browser" dir to allow access to the files there.

Thanks to the team for your efforts!

#4

somes - November 13, 2008 - 08:19

try disabling the update module - I think this was causing me trouble

in your browser can you see the page
http://localhost/drupal-6.6/services/amfphp/gateway.php

if not enable your modules services and amfphp

#5

øivind - November 14, 2008 - 15:33

Yes, as I said I can see this page:
http://localhost/drupal-6.6/services/amfphp/gateway.php

That url renders this page:

amfphp and this gateway are installed correctly. You may now connect to this gateway from Flash.
Note: If you're reading an old tutorial, it will tell you that you should see a download window instead of this message. This confused people so this is the new behaviour starting from amfphp 1.2.
View the amfphp documentation
Load the service browser

But I can not get to the amfPHP service browser using the link (http://localhost/drupal-6.6/services/browser) on the rendered page. I get a default drupal "404 page not found" page

Somes : I could not find a "update" module listed in my drupal modules list. Where is it supposed to be?

The amfPHP service browser is accessible using the real path from localhost though.

clues?

#6

somes - November 14, 2008 - 23:06

Update status 6.4 Checks the status of available updates for Drupal and your installed modules and themes
disable this ------

make sure system service and the node service are enabled

#7

vicocotea - January 20, 2009 - 10:49

Hello,

Sorry for my english, I'm a little frenchy...

I have same problem :

/home/_site/*******/all/modules/amfphp/amfphp.module
Unknown error type
101
Method <em>actu.list</em> does not exist.
AMFPHP_RUNTIME_ERROR

I think there is a problem with two points in method name. My method is called : services.actu.list and in the report error the method is called actu.list

A friend said to me that he had the same problem with two dots in method name, he rename methods with only one dot and that work.
I did not try but it is maybe an issue for debugging...

#8

vicocotea - January 20, 2009 - 11:01

I have just tried with a single point in the name of my method and that work very well
:)

#9

blueflowers - April 17, 2009 - 17:06

I am having the exact same problem, I've followed every step correctly, have update_status module disabled and I can't access the browser, I also get a 404 error.

This issue seems quite old, has there been a fix posted anywhere regarding this?

d6 (latest as of today)
Services 6.x-0.13
AMFPHP 6.x-1.0-beta1

Any help would be greatly appreciated.

#10

sirajrkhan - June 25, 2009 - 20:02

Even i am stuck with more-or-less same issue, I am creating a POC of Flex-Drupal Interaction using AMFPHP & Services Module, but I am not able to get node.load... I have explained the issue in detail [along with snapshot] here: http://drupal.org/node/502180

BTW...I figured out issue related to 'View', as mentioned there.

Any help would be highly appreciated.

#11

aniebel - November 3, 2009 - 11:29
Version:HEAD» 6.x-1.0-beta1

Just curious if anyone has sorted this out. I am experiencing the same thing. Originally I was getting a 505 error when I clicked on "Load the Service Browser"and figured out that I didn't have Clean URL's enabled. Now that is resolved but I am getting a 404 error, Page not found when I click on it. Exactly the same as above. I have also tried to disable the Update Module which has no effect.

I have the Services module 6.x-2.x-dev enabled. Could this have something to do with it?

#12

Miria - November 12, 2009 - 13:16

I'm having the same problem.

Drupal 6.14
Services 6.x-0.15
AMFPHP 6.x-1.0-beta1

I get a 404 error when I click the "Load the service browser" link on the /services/amfphp page.

 
 

Drupal is a registered trademark of Dries Buytaert.