Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Flash Remoting

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-25-2003, 08:30 PM   #1
viesturs
Registered User
 
Join Date: Jun 2002
Posts: 15
Default need help with amfphp remoting

I installed flash remoting component and also PHP Remoting Gateway implementation from amfphp. Al the PHP files in place, when i run the example FLA files i don't get any return.

in NetConnection Debugger window i get following in details

EventType: "Status"
MovieUrl: "file:///c|/Downloads/fr/talk.swf"
Source: "Client"
Time: 1048625342156
Date (object #1)
....."Tue Mar 25 22:49:02 GMT+0200 2003"
Status (object #2)
.....code: "NetConnection.Call.BadVersion"
.....description: ""
.....details: ""
.....level: "error"


when i call flashservices/app/Gateway.php there is no php errors
It all acts as everything is correct by Jesse Stratford's tutorial.

any idea
viesturs is offline   Reply With Quote
Old 03-25-2003, 09:02 PM   #2
Emanweb
Registered User
 
Join Date: Mar 2003
Location: Miami/FL/USA
Posts: 19
Send a message via ICQ to Emanweb
Default

I am having problems also. I couldn't make it run on my server (freebsd/apache/php) yet. But this seems a great tool if could use as Remoting for CF MX. I will try more later tonight and then I let you know.
Emanweb is offline   Reply With Quote
Old 03-25-2003, 09:22 PM   #3
viesturs
Registered User
 
Join Date: Jun 2002
Posts: 15
Default

I just checked everything works on my local windows/apache/php,
couldn't get it to work on mandrake/apache/php.
viesturs is offline   Reply With Quote
Old 03-25-2003, 09:40 PM   #4
Emanweb
Registered User
 
Join Date: Mar 2003
Location: Miami/FL/USA
Posts: 19
Send a message via ICQ to Emanweb
Default

humm... then I think it could be something related to the file locations and the famous issue of "/" and "\" between windows/linux OS.
Emanweb is offline   Reply With Quote
Old 03-25-2003, 11:41 PM   #5
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

Since AMFPHP is still new I'm no expert on the rror messages but that error is generally reported when the function I'm trying to call doesn't exist or the arguments are wrong.
It also failed when I have CF installed (remember I say in the tutorial you need to uninstall it).
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 05-07-2003, 06:38 AM   #6
zoomfreddy
anything...are you sure?
 
zoomfreddy's Avatar
 
Join Date: Jul 2001
Location: Mexico City
Posts: 560
Default

that error is related to the gateway path on the fla or on the gateway.php file, i had a hard time to get Jesse's tut working because of that, and tweakin the path solved it fot me...

my config:

OsX 10.2.5, apache 1.3.26, php 4.1.2, mysql 4.0.12, amfphp 0.51...yeah, finally i can develop without a Pc on my way at all!!!...well, Pc gets on my way only to serve online...hehehe...the slave server
zoomfreddy is offline   Reply With Quote
Old 06-05-2003, 09:46 PM   #7
alernon
Registered User
 
Join Date: Jun 2003
Posts: 18
Default I'm having a problem as well.

I can't seem to get remoting to work as well. the phpinfo(); tag works, and I don't get any errors accessing the gateway, but when I try to access the test_remoting directory I get a mime-type error. It thinks the php file is of the type x-amf ?!? All other php pages load fine
alernon is offline   Reply With Quote
Old 06-06-2003, 05:40 AM   #8
zoomfreddy
anything...are you sure?
 
zoomfreddy's Avatar
 
Join Date: Jul 2001
Location: Mexico City
Posts: 560
Default

are you accesing directly the php file?, and...is the browser trying to download the php file?
if so, that's ok, the file is working ok, try with the swf...
zoomfreddy is offline   Reply With Quote
Old 06-06-2003, 02:29 PM   #9
alernon
Registered User
 
Join Date: Jun 2003
Posts: 18
Default *bonk*

Yeah, I was accessing the php file. Heh. Now I feel pretty dumb.
alernon is offline   Reply With Quote
Old 06-07-2003, 04:37 PM   #10
dr.swank
abstraction=_root.truth;
 
dr.swank's Avatar
 
Join Date: Jun 2002
Location: Bonn, Germany
Posts: 779
Default gateway.php path

hey zoom, I am using a similar setup and cannot get the gateway path to work. could you post the path you put into the gateway.php file on your setup??

thanx, Dr.s
dr.swank is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:06 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.