I'm currently using AMFPHP 1.9 to make a simple flash game which uses a game server.
Sometimes, I get this error (BadVersion) when there are simultaneous calls to the server.
I've searched the web for some of the answers to this problem, and it seems they were answered back in 2004.
Is there an updated version of how to solve this problem?
I tried to change the globals.php parameters to use absolute path, like performing the below:
//$servicesPath = "services/";
//change to
$servicesPath = "/httpdocs/Flash/AMFPHP/services/";
but I cannot even go to the services browser when i changed it.
Updates: I managed to change to the correct path (by getting the path using a custom php which displays get_cwd())
So services browser is up now. However, i still get the timeout every now and then. (my request to the server is at about 5 mins interval)
I tried to spam querying to the server to determine if it was due to simultaneous calls, and realized it is not. (my local flash spams 30 X 3 requests / second and it work fine )
So now I suspect it might be due to timeout of the netconnection or something similar?
Update: Added keepalive call to server every 2 mins interval to see it it occur again. Webserver timeout seems to be set to 180 seconds.