tags:

views:

1136

answers:

2

I'm using script which is uploading files to server via flash component. Sometimes, very rarely, when trying to upload images via Firefox I get following error: IO error #2038. Searching on the net I could find reason why is it really happening to me. But I found solution for my case: I open IE6, do the same thing there (photos are always uploaded without problem) and the when I try again in Firefox problem disappears. If someone had similar problems maybe this could help or maybe this hint could help to someone discovering cause of the problem :)

A: 

If you didn't add quote around the option names, try doing that. Sometimes in IE, quoting the option names fixes the issue. It would help if you posted some example code though.

RonnieSan
+1  A: 

After far more time than I'd like to admit, here is the solution. Change the following variables in your php.ini to be large enough to handle your largest file:

; Maximum size of POST data that PHP will accept. 
post_max_size = 32M

; Maximum allowed size for uploaded files.
upload_max_filesize = 32M

; Whether to allow HTTP file uploads. (this is on by default)
file_uploads = On

Since files are sent as POST data, BOTH the first variables need to be set. Otherwise, there will be an error, but you won't see what the error is, except IO error #2038.

Tac

Tac Tacelosky
I saw this solution, but none of my images I tried to upload were bigger than 1mb, so I don't think the size was the problem
ile