Welcome, Guest. Please login or register.
Did you miss your activation email?
05/22/12, 17:35
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  General Conversation (Moderators: Flash-db, vesa kortelainen, Ronald Wernecke, Mohsin Sumar, Jorge Solis, Mattias Robo)
| | |-+  Photo uploading problem(5 images inside!)
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Photo uploading problem(5 images inside!)  (Read 703 times)
Somebi
Server what's that
*
Posts: 1


View Profile Email
« on: 05/04/10, 09:09 »

Can't upload images, don't know the real reason of upload failing.

I have tried to watch the whole process via Charles Web Debugging Proxy and it shows this:

Charles:

Firebug via console.log():



I don't know from where it takes 400kb/sec uploading speed O_o, when i'm having only 0.5mbps max(it's around 60kb/sec if i'm right).




Image uploading starts fine, but stops at the end, where usually should trigger onComplete listener.

I'm receiving data from onProgress for up to 90% of file size and the all stops.



I have all listeners turned on, none of messages comes back saying anything.

Code:
fileListener.onHTTPError = function(file:FileReference, httpError:Number):Void
{
getURL("Javascript:http_error(" + httpError + ");");
}

fileListener.onSecurityError = function(file:FileReference, errorString:String):Void
{
getURL("Javascript:security_error(" + errorString + ");");
}

fileListener.onIOError = function(file:FileReference):Void
{
getURL("Javascript:io_error("+file.name+");");
}



Interesting thing that when i'm limiting my uploading speed with Netlimiter to 20kb~/sec uploading works fine.




What's the real problem and how to fix that? O_o

Thanks a lot!


Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14600


View Profile
« Reply #1 on: 05/05/10, 19:06 »

Check that you are under upload_max_filesize, you can't check the value running phpinfo(); in any PHP script

Jorge
Logged

Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!