Adobe Dreamweaver Forums



Last 10 THreads :         Re: sRGB vs. Adobe (1998) RGB (Last Post : Ramón_G_Castañeda@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: sRGB vs. Adobe (1998) RGB (Last Post : Ramón_G_Castañeda@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: Optimal Scratch Disk (Last Post : Lundberg02@adobeforums.com - Replies : 0 - Views : 1 )           »          Re: ColorSync Sucks (Last Post : Lundberg02@adobeforums.com - Replies : 0 - Views : 1 )           »          help me with adjustments layers in CS4 (Last Post : Ann_Shelbourne@adobeforums.com - Replies : 2 - Views : 3 )           »          "Save As" crashes PS (Last Post : Rothrock@adobeforums.com - Replies : 2 - Views : 3 )           »          Flash Slide presentation and movieclip looping (Last Post : pivovar - Replies : 0 - Views : 1 )           »          Array of Queries (Last Post : Fetch - Replies : 5 - Views : 6 )           »          Re: 2.1 GB TIF size limit (Last Post : Buko - Replies : 0 - Views : 1 )           »          Re: Colour differences on the web (Last Post : Ann_Shelbourne@adobeforums.com - Replies : 0 - Views : 1 )           »         


User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-03-2008, 04:39 AM
Jim Daniel
 
Posts: n/a
Diggs:
Default afmPHP Problem

I'm got a problem with the amfPHP HelloWorld example in chapter 29 of the Flex
3 Bible. When I atempt to run the example in the Flex 3 Builder I keep getting
the following error message in the console:

[RPC Fault faultString="[MessagingError message='Destination 'amfphp' either
does not exist or the destination has no channels defined (and the application
does not define any default channels.)']" faultCode="InvokeFailed"
faultDetail="Couldn't establish a connection to 'amfphp'"]

I've checked and recheck the instruction in Chapter 29 of Flex 3 Bible and
everything looks ok. When I run the AMFPHP Service Browser and the click
'check' everything works and I get the expected message. The Gateway.php looks
to be in the correct folder and the path given in the serves-config.php file
looks correct. My only thought is that I'm not setting up the channels
correctly and I'm not sure how to check this out.




Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-03-2008, 04:39 AM
SujitG
 
Posts: n/a
Diggs:
Default Re: afmPHP Problem

Hi,

Can you please try following steps in the URL below.

http://sujitreddyg.wordpress.com/200...-using-amfphp/

Hope this helps.
Reply With Quote
  #3 (permalink)  
Old 11-03-2008, 04:39 AM
LuigiL
 
Posts: n/a
Diggs:
Default Re: afmPHP Problem

First thing you should do when using amfphp is downloading Charles. It shows
you what happens when you call the gateway.php. I can honestly say that Charles
is our best friend when working with remoting.

Reply With Quote


  #4 (permalink)  
Old 11-03-2008, 04:39 AM
Jim Daniel
 
Posts: n/a
Diggs:
Default Re: afmPHP Problem

SujitG;

Thanks for the Link, It helped a lot. By adding it the port # to the
localhost (localhost:80) used in services-config.xml file, the the error went
away. Now it is falling in the log in process. It seems it is not connecting
correctly. I'm not sure if I've done something in my fumble fingered effort to
solve the first problem or not. In any case I'm going to remove everything
I've done and replace it with the original example files form the "Flex 3
Bible".

Reply With Quote
  #5 (permalink)  
Old 11-03-2008, 04:39 AM
Jim Daniel
 
Posts: n/a
Diggs:
Default Re: afmPHP Problem

LuigiL;

What is 'Charles' and where do I find it?
Reply With Quote
  #6 (permalink)  
Old 11-03-2008, 04:39 AM
LuigiL
 
Posts: n/a
Diggs:
Default Re: afmPHP Problem

Charles is a proxy tool and can be downloaded here:
http://www.charlesproxy.com/download.php

If you test your app local using WAMP, MAMP or any other setup for a local
webserver, you can monitor the calls to the gateway.php and see what goes wrong
there.

Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 11:46 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk