First, a enormous thanks to grandcat for developing this module and esp. for the hard work on the CCK version. Much appreciated.

Now to my issue.

I am using

Drupal 6.09
ImageCache 2.0 Beta 8
ImageAPI 1.4
Image fupload 3.01 alpha1

I created a custom content type "Image Gallery" with one additional field, which is a multiple image Image FUpload field (so I am using the CCK part of this, not the image node part).

This is on a fresh site.

When creating new "Image Gallery", on clicking "Upload Image", I get errors:

404 error from not being to upload

And from Flash (I have debug version of Flash installed):
Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error.

I know that ImageCache and ImageAPI work with normal image field on this same site.

Please advise.

Thank you.

Shengzhi Li

Comments

sphoenixee’s picture

I forgot to mention, I don't know if this helps but I am using SWF Upload 2.20 Beta 5 Core.

Thanks again.

Shengzhi Li

grandcat’s picture

Please try to install a new version of your Flash player (version 10.*).

I know that ImageCache and ImageAPI work with normal image field on this same site.

That's ok, but do you know whether it's AJAX functionalities are working correctly? Does the upload progress bar appear if you upload something normally?

I guess that your provider installed mod_security on its servers, and this conflicts with every flash oder java uploader in the most cases.
Please contact your provider and ask to deactivate it for your site.

sphoenixee’s picture

Thanks for the quick reply, grandcat.

I have Flash 10.

Yes, upload bar is working for image fupload. I can see the bar move as upload progresses. After bar is full, I get 404 error.

I have asked them to deactivate mod_security. I am not sure if they will do it.

I can use other flash uploaders (eg Wordpress's) without any problem on my site.

If it helps I have hosting from asmallorange.com.

Thanks again.

I'll let you know what happens with mod_security; if anyone thinks of any other things I could try, let me know.

Much appreciated,

Shengzhi Li

grandcat’s picture

The fact is that a lot of hosters created rules for wordpress uploader and co, but Drupal is not as common as wordpress.

Nevertheless, try to contact the provider and ask to disable the plugin mod_security for your site.

grandcat’s picture

Title: 404 error on upload » Upload Error: 404
sphoenixee’s picture

Status: Active » Fixed

Awesome. I turned mod_security off by adding SecFilterEngine Off to my .htaccess and now everything is working perfect.

Thank you so much!

Shengzhi Li

grandcat’s picture

That was I told you yesterday ;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bloke_zero’s picture

Just to say that though 2 weeks ago the site I was working on worked fine, and I could see no evidence of a change through phpinfo etc I was getting the same error, but placing:

SecFilterEngine Off

in the .htaccess file worked for me too

jnettik’s picture

I tried that solution and it ended up giving me an internal server error... Should it go somewhere specific? Or is there another solution. The only browser I can seem to get this to work in is Google Chrome for Mac.