After trying out AMFPHP 1.9 (yep, 1.9 -- although it's also called 2.0) that came out stable last 2nd of February 2010, I was almost ready to give up because of the "NetConnection.Call.BadVersion" errors that I'm getting when I try even a simple HelloWorld call. Followed every suggestions found on the Internet but none fixed the problem.
Then I tried checking out the AMFPHP code. I started with gateway.php. On line 106, changing PRODUCTION_SERVER to false fixed the problem.
It turns out that PRODUCTION_SERVER is set to true by default now.
5 comments:
THANKS A TON...! That worked!
-Parag
No problem. Glad I could help. ;)
Worked. Thank you!
Hmm... 2 Thank You comments in less than a month.
This could also mean two things. Either more people are starting to use AMFPHP, or I'm being flooded with "Thank you" spam. :|
I have already set this value to "false" but still I am getting this error. In my case it does not happen every time I try to connect but in a day it happens for 3 to 4 times out of 10 attempts.
Post a Comment