Error #2044: 未处理的 NetStatusEvent:。 level=error, code=NetConnection.Call.BadVersion。

打开PHP_error.log,搜索VerboseException,看到:
[19-May-2010 09:57:17] PHP Fatal error:  Uncaught exception 'VerboseException' with message 'Standalone Flash player disabled. Update gateway.php to allow these connections' in E:\wamp20h\www\amfphp 1.9\core\amf\app\Gateway.php:357

打开amf/gateway.php,找到代码:
代码
if (PRODUCTION_SERVER)
{
    
// Disable profiling, remote tracing, and service browser
     $gateway -> disableDebug();  // 注释掉               
    //Keep the Flash/Flex IDE player from connecting to the gateway. Used for security to stop remote connections.

     $gateway -> disableStandalonePlayer();  // 注释掉       
}
将这两句注释掉,重启服务,在尝试连接即可。为什么要注释掉,自己看下说明。

你可能感兴趣的:(Connection)