all groups > macromedia flash flash remoting > april 2006 >
You're in the

macromedia flash flash remoting

group:

Problem About using AMFPHP 1.2.1 Version


Problem About using AMFPHP 1.2.1 Version Anuru
4/21/2006 12:00:00 AM
macromedia flash flash remoting:
Hi Everybody,

First of all I would like to thanks to all of the developers who open the
Flash Remoting for open source source world.

So I download the AMFPHP 1.2.1 version. So I install the AMFPHP to my local
environment and test the gateway by accessing the gateway.php. Everything is
work fine. Then I move to the hello world tutorial and test is ok in my local
environment(http://localhost).

Then I upload all the files to the live server and test the gateway.php. it
work fine.
Then I change my gateway url to http://eallth.com/flashservices/gateway.php in
flash movie and test the same flash file but unfortunately it didn't work. In
flash output panel it gives me an error "Error opening URL
"http://eallth.com/flashservices/gateway.php"".

I am using Macromedia Flash Professional 8. But I coudn't solve the problem.
There is no error in the NetConnection Debugger panel.

For your reference and test purpose I list the urls to Flash remoting gateway
and url to download ZIP file which include the php class file and
amfphp_prod_test.fla file. Please check these URLS.

URL to Flsh Remoting gateway:-
http://eallth.com/flashservices/gateway.php

URL to Service Browser:-
http://eallth.com/flashservices/browser/

URL to Services directory:-
http://eallth.com/flashservices/services/TestService.php

URL to Download ZIP file (contains amfphp_prod_test.fla,TestService.php in
services folder):-
http://eallth.com/amfphp_test.zip

Please help me to solve this problem. thanks. :cool;

------------------
Anuruddha
Re: Problem About using AMFPHP 1.2.1 Version mae ling
4/26/2006 2:18:38 PM
hi,

i have an idea where the problem could come from.

I'm working on a project with flash 8/amfphp/mysql.

In apache : "Listen 192.3.3.30:80"
"Listen 127.0.0.1:80"
in fla : gateway : http://192.3.3.30:80 (localhost works fine too)

I took a look at your files. indeed, there's a problem with the gateway, even
it's functioning.
You've tried the IP address instead of eallth.com ?
What happens if you try to put "localhost" back again as gateway?
I tried such things in the past but don't remember how flash reacted.
What's your apache config? ( I had troubles with that before)?

tell me :p

Re: Problem About using AMFPHP 1.2.1 Version mae ling
4/27/2006 3:19:02 PM
hi,

you definetly have an issue with your gateway. Nothing to do woth flash itself.
Try the latest version of AMFPHP. I'm working with 1.2.3.
Tell me if that helps, because I don't understand it.

There are several errors in your code (as2 and php), but nothing bad...
Only .. I think you forgot a dot comma after the declaration of your gateway.
But that's not the error.
Try it on another server first.

Keep me in touch.
Re: Problem About using AMFPHP 1.2.1 Version Anuru
6/6/2006 9:48:27 PM
HI mae ling,

Thanks for your reply. Sorry for late reply. I see your post today.

Problem is still remain. I will do as you said and tell you the results.

Re: Problem About using AMFPHP 1.2.1 Version Anuru
6/6/2006 9:58:13 PM
Hi,

Re: Problem About using AMFPHP 1.2.1 Version jnjgphcs
8/8/2006 1:28:18 PM
Did you ever resolve the issue? I've been trying to get amfphp 1.2 on apache
2.2 to work for a couple of weeks now and I cannot find the problem. I've come
across others with similar issues as mine but as yet no solution.
Re: Problem About using AMFPHP 1.2.1 Version tonyhigham
8/29/2006 3:56:30 AM
I assume that this is a domain permission problem. You won't be able to connect
to a remote gateway without a crossdomain policy file. Have you tried actually
uploading the file and seeing what happens?
AddThis Social Bookmark Button