Link to home
Start Free TrialLog in
Avatar of phper
phper

asked on

FancyUploader Error

I'm having problems with getting FancyUploader to work (http://digitarald.de/project/fancyupload)
The problem is this:

When I load index.php in FireFox and try to upload an image I get:
Error #2038: File I/O Error. URL: https://site.com/script.php

Which is apparently passed back from the swf. However, when I switch to IE (in the same FireFox browser using IE Tab) the uploader works fine, when I switch back to FireFox the upload works fine for the rest of the session. When I open IE in it's own window it also works fine.

From what I've been reading many people say add the following to .htaccess because there is an issue with mod_security and flash sending back headers:
SecFilterEngine Off
SecFilterScanPOST Off

But when I add this I get an 500 Internal Security Error. Moreover, I don't think getting SecFilterEngine Off to work would resolve the original issue because why will the uploader work in FireFox after opening IE in the same window?
 
uploader.zip
Avatar of phper
phper

ASKER

I just tried using SWFUpload v 2.0 and it's the exact same issue. Doesn't work in FF unless you load IE in the same window. So I uploaded everything onto a different server and it's the same issue including the 500 error when adding the code to htaccess
> SecFilterEngine Off
you won't do that, you really won't do that

> SecFilterScanPOST Off
> there is an issue with mod_security and flash sending back headers
headers have nothing to do with SecFilterScanPOST (as the name implies,obviously:)

> Error #2038: File I/O Error. URL:
that's most likely a problem with your script, not apache. Check the error_log of apache and post relevant entries.
Avatar of phper

ASKER

But the script works in IE7. I'm using Win Vista, FF3 w/ IE Tab & IE7. If I open a new FF window and try to upload it doesn't work. If I then use IE Tab to switch to IE and then switch back to FF without uploading in IE it works in FF.

I've attached the eror log for when I first open up FF and try to upload.
[Mon Jul 14 03:55:54 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Mon Jul 14 04:39:43 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Mon Jul 14 04:39:43 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Mon Jul 14 04:39:43 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Mon Jul 14 04:39:44 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Mon Jul 14 04:39:46 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!
[Mon Jul 14 04:39:50 2008] [notice] cannot use a full URL in a 401 ErrorDocument directive --- ignoring!

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of phper

ASKER

"please check with a sniffer or proxy what exactly your application sends as response through apache"

How do I do that?
Avatar of phper

ASKER

I have tried 4 different uploaders on 3 different servers. The last uploader I tried was an all in one product that I paid for. All have the same error.

I open the page in FF3 on Win Vista, select a file to upload, IO Error, open IE Tab, then back to the orginal FF Tab and it works. It also works when I just open IE but I get the same error in Safari for Windows.
-------------

 "please check with a sniffer or proxy..."

If I could know more about debugging I will do it.