| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
#1 |
|
Holosuit User
|
Need advice on using ZendAMF...
After wasting 2 days on installing Zend framework (which is extremely useless as a back-side for flash site BTW!) And finally seeing "Zend Amf Endpoint" message appearing in the browser in where I put the index file that is meant to be an end point of the AMF channel... I see this message: "Channel.Connect.Failed error NetConnection.Call.BadVersion" when trying to access a service from flash... The service is very simple: the index.php file: PHP Code:
PHP Code:
PHP Code:
And I'm sure I'm hitting the correct endpoint when running the flash app, because the complete error looks like this: [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.BadVersion: : url: 'http://localhost/zendf/public/'"] Where, if I access http://localhost/zendf/public/ from the browser I can see "Zend Amf Endpoint" message, meaning, all the files meant to be included ware found... What am I missing? And another, rather rhetorical question, why do Adobe encourage to use ZendAMF implementation? what is so peculiar in it, except for Zend framework dependencies that make you bring in lots of stuff you'll never use in the flash site + making the entire process extremely non user (programmer) friendly? EDIT: figured one thing out, there was the last slash missing in the URL... though it doesn't solve the problem... Now the service doesn't respond at all, yet no errors. EDIT2: Nevermind, stupid me... it should be: PHP Code:
__________________
The .NET open source editor for Flash and web developers *This would be my contribution to the project* couchsurfing if you need it Last edited by wvxvw; 02-07-2009 at 06:31 PM.. |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Jun 2008
Posts: 3
|
Can you tell the difference between
PHP Code:
PHP Code:
Because I have the same problem, but I don't want an php-output. |
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Nov 2009
Posts: 1
|
Greetings wvxvw,
I would extremtly recommend you 'charles' while working with ZendAMF, that way you know what messages are coming from Zend, instead of a that uselesss BadVersion echo you can see the full error Hope this helps for next time |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [AS3] how to send string, array & objects to ZendAMF? | lsatdown | Flash Remoting | 1 | 01-29-2009 11:19 AM |