New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when retrieve : RPC Fault faultString="Channel disconnected" #3
Comments
The code looks fine - could you possible download a debugging proxy (e.g. http://www.charlesproxy.com/) and see exactly what is going on here, then paste more details about the error message into this issue. |
Thanks, i'll try it ! |
This is my Apache Error Log, i try the sample in my Project LB_MyMoney.swf How do i structure php side [php/app/lb_money/...] and sould i edit [RemoteClass(alias="...")] properties in generated Flex files ? Thanks for your help [Thu Mar 10 10:44:03 2011] [error] [client 127.0.0.1] PHP Warning: require(C:\ORM\flextrine-0.9\php\app\lb_money\entities\com\squd\lifeboard\money\model\vos\persist\vo\lb_bank.php) [function.require]: failed to open stream: No such file or directory in C:\ORM\flextrine-0.9\php\lib\Doctrine\Common\ClassLoader.php on line 148, referer: app:/LB_MyMoney.swf |
As long as you have set your paths and namespaces correctly in PHP, the generated AS3 files should automatically be in the right packages and the PHP autoloader should work out where to load things. You should never have to touch the [RemoteClass] metadata. Could you paste in your PHP entity (and its path) so I can have a quick look? Dave |
Path To Entity : C:\ORM\flextrine-0.9\php\app\lb_money\entities\com\squd\lifeboard\money\model\vos\persist Entity PHP : Entity 'lb_bank.as' Flex (Generated):
} |
Ah - the problem is with your namespace in the PHP entity. You have: namespace vo; But you need to have: namespace com\squd\lifeboard\money\model\vos\persist; |
Aaaah !!! Shame on me ^^ Thanks a lot ! |
Hi,
I Follow the "Getting Started" Section, and all work perfectly except one thing.
I can't retrieve item collection from my Database.
I've created items from Flex with :
private function creationComplete():void {
em = EntityManager.getInstance();
but when i tried to use the Load Function :
private function creationComplete():void {
// Get the EntityManager and configure it to point at our server-side
em = EntityManager.getInstance();
I get this error : RemoteDelegate:[RPC Fault faultString="Channel disconnected" faultCode="Client.Error.DeliveryInDoubt" faultDetail="Channel disconnected before an acknowledgement was received"]
I don't think the problem is in my entities because the create function work ! What do you think about it ?
Thanks
The text was updated successfully, but these errors were encountered: