Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-08-2009, 10:45 AM   #1
rhapsody48
Registered User
 
Join Date: Mar 2009
Posts: 6
Default I have a problem with flex+amfphp

I used amfphp to connect Mysql and return the data in flex. Everything ok, but an error occur when I try to return a 100,000 records from Mysql:
Code:
[FaultEvent fault=[RPC Fault faultString="Channel disconnected"
 faultCode="Client.Error.DeliveryInDoubt" 
faultDetail="Channel disconnected before an acknowledgement was received"]
 messageId="70D7234A-3659-AB01-F5B2-E3E81286F00D" 
type="fault" bubbles=false cancelable=true eventPhase=2
But when I added "LIMIT 0,30000" in the Mysql_query statement and its work fine again.

How do I can solve this problem?
rhapsody48 is offline   Reply With Quote
Old 03-08-2009, 10:59 AM   #2
wvxvw
Holosuit User
 
wvxvw's Avatar
 
Join Date: Oct 2006
Location: Tel Aviv
Posts: 4,301
Send a message via ICQ to wvxvw
Default

A guess... I don't think that AMFPHP may tell the server to drop the connection... so, it seems like your server is dropping it because the script executes for to long... But even if this is a broblem, I really don't know how to fix it. You'd probably have to change the time server waits for script to respond in the server configuration settings...
__________________
The .NET open source editor for Flash and web developers
*This would be my contribution to the project*
couchsurfing if you need it
wvxvw is offline   Reply With Quote
Old 03-08-2009, 03:22 PM   #3
rhapsody48
Registered User
 
Join Date: Mar 2009
Posts: 6
Default

I found out the cause of my problem, it just because the memory limit of PHP. I've increased the limit and it work fine now. Thanks wvxwv for your help!
rhapsody48 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Embed problem with as3 and flex 3 markblue777 Flex 2, 3 & 4 1 10-03-2008 08:30 AM
Flex and Web services problem kminev Flex 2, 3 & 4 1 08-11-2008 03:36 PM
XML Problem in FLEX tbeanz Flex 2, 3 & 4 2 05-13-2008 06:43 PM
problem in communicating from one flex 2.0 swf to another swf chandrasekhar Flex 2, 3 & 4 8 06-27-2007 04:58 PM
problem with AMFPHP tutorial pixelpod Flash Remoting 5 07-15-2005 03:55 AM


All times are GMT. The time now is 07:18 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.