FLEX / AMFPHP动作错误2048 [英] FLEX/amfPHP ActionScript error 2048

查看:213
本文介绍了FLEX / AMFPHP动作错误2048的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

抱歉的标题词的混杂,但是这就是我的困惑是。我甚至无法概括我得到一个简单的句子的错误。

Sorry about the mishmash of words in the title, but that's how confused I am. I can't even summarize the error I'm getting in a simple sentence.

这弯曲/ AMFPHP应用程序在我的电脑上工作得很好,即使它访问Oracle数据库另一台服务器上。然而,当我尝试从另一台计算机访问它,这是我得到的错误。我会尽量把最相关的code的影响。(我的浏览器告诉我这是一个ActionScript错误)。

This flex/amfphp application works fine on my computer, even though it accesses an Oracle database on another server. However, when I try to access it from another computer, this is the error I get. I'll try and put the most relevant code in. (My browser tell me this is an ActionScript error).

故障在faultstring =发送失败

Fault faultString="Send failed"

故障code =Client.Error.MessageSend

faultCode="Client.Error.MessageSend"

faultDetail =Channel.Security.Error错误错误#2048:安全区域冲突。

faultDetail="Channel.Security.Error error Error #2048: Security Area Violation..

无法加载从 HTTP数据://localhost/.../amfphp/gateway。 PHP

正如我之前所说的,它的工作原理我的机器上的某些原因。现在,当我尝试从其他机器远程访问此,似乎PHP引擎正在寻找gateway.php在这台机器的本地主机?这是否意味着PHP正在寻找gateway.php客户端的本地主机而不是服务器??

As I said before, it works on my machine for some reason. Now, when I try to access this remotely from other machines, it seems that the PHP engine is looking for gateway.php on the localhost of that machine?? Does this mean that PHP is looking for gateway.php on the client's localhost rather than on the server??

纠正我,如果我错了,并在此先感谢

Correct me if I'm wrong, and thanks in advance

推荐答案

您服务-config.xml文件中的Flex propably指向的 HTTP://localhost/.../amfphp/gateway.php 您需要更改端点在XML文件,并重新编译应用程序。

Your services-config.xml in Flex propably points to http://localhost/.../amfphp/gateway.php You'll need to change the endpoint in that XML file and recompile the application.

您也可以创建你的ChannelSet在运行时。在这种情况下你不需要的服务-config.xml中了。看看 HTTP://raghuonflex.word$p$pss。 COM / 2008/06/05 / endpointatruntime / 一些灵感......

You could also create your ChannelSet at runtime. In that case you don't need the services-config.xml anymore. Take a look at http://raghuonflex.wordpress.com/2008/06/05/endpointatruntime/ for some inspiration...

这篇关于FLEX / AMFPHP动作错误2048的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆