| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Dec 2003
Posts: 11
|
I am trying the php remoting tutorial done by Jesse and keep getting a 'File Download' dialog box when testing the 'http://localhost/test_remoting/simple_gateway.php' in my browser. It appears I have all the dir paths correct though. Testing 'http://localhost/phpinfo.php' was successful, as well as testing 'http://localhost/flashservices/app/Gateway.php' in which I got a blank screen. If anyone could help me in what I'm doing wrong, it would be greatly appreciated.
|
|
|
|
|
|
#2 |
|
Super Moderator
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
|
Howdy and Welcome...
![]() Did you install PHP on your local machine and what is the version number of the PHP and AMFPHP you have??? That error message normally means that your local server(IIS or Apache) cannot understand the PHP page... But then, you said that phpinfo.php file was successfully executed... So, probably you can read the PHP version out of that page for me... ![]() Another thing you might want to take a look is the directory sturucture of your AMFPHP files/directories... Go to the AMFPHP site and double check that you have the current version of AMFPHP and the file structure is the same as it is described in that place... ![]()
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer http://CyanBlue.FlashVacuum.com http://www.FlashVacuum.com http://tutorials.FlashVacuum.com Do NOT PM, Email or Call me... Your question belongs right in this forum...
|
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Dec 2003
Posts: 11
|
Hi and thanks for the reply. I installed on my local machine(which is using IIS v5.1) the PHP version: 4.3.4 and MySQL Client API version 3.23.49. As for AMFPHP it was the 0.9.0 version. After downloading I extracted all the files into c\:inetpub\wwwroot\ creating the folder \flashservices.
Last edited by kdkr; 12-03-2003 at 11:56 AM.. |
|
|
|
|
|
#4 |
|
Super Moderator
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
|
Sorry, I can't really check if that's the correct settings or not cuz I just formatted the hard drive and in the process of installing whatever I can at the moment...
![]() The setup sounds about right though... Maybe you might want to post the sample you have right now as exactly as possible so that somebody else can download and install it to see if there's anything wrong with the setup??? ![]() |
|
|
|
|
|
#5 | |
|
Master of Nothing
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
|
Quote:
Anyways, the only real way to test the installation is to use flash. Are you running into any other problems. |
|
|
|
|
|
|
#6 |
|
Registered User
Join Date: Dec 2003
Posts: 11
|
Then that's allright. Thanks. No other problems, not as of yet, but I'm sure I will, being new to PHP. Thanks again for your reply.
|
|
|
|
|
|
#7 |
|
Super Moderator
Join Date: Jan 2002
Location: Centreville, VA
Posts: 24,878
|
Ah... Thanks freddy...
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Apr 2004
Posts: 1
|
I have the same exact problem with everything opening up fine execpt for the download box opening on the simple_gateway.php
But when i run the flash code for that tutorial, it just gives me three lines in the trace window and thats it. So the PHP connection doesnt work. Its says this in the NetConnection Debugger: DebugId: 0 EventType: "Status" MovieUrl: "file:///C|/phpdev/www/public/test_remoting/talk.swf" Protocol: "http" Source: "Client" Time: 1082698986889 Date (object #1) ....."Fri Apr 23 15:43:06 GMT+1000 2004" Status (object #2) .....code: 256 .....description: "This user is not does not have access to returnString" .....details: "c:\phpdev\www\flashservices\app\Executive.php " .....level: "User Error" .....line: 295 Anyone know what the problem could be? thanks ![]() |
|
|
|
|
|
#9 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
I hear that removing the "roles" line from the method table resolves this issue.... Please try it and let me know. Credit to Sephiroth's site where I found this info...
__________________
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. |
|
|
|
|
|
#10 |
|
Registered User
Join Date: Sep 2004
Posts: 1
|
yes that worked....
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My brain hurts (onClipEvent question) | andrea_levin | ActionScript 2.0 | 3 | 03-25-2004 05:23 AM |