Hi everyone,
I just uploaded my site on the server and using Imagefupload I got an error "Upload Error: 412" when I try to upload some files, any ideas how to fix this error ?
Thanks for help,

Comments

grandcat’s picture

I think it's a mod_security related problem.

Have a look at these issues:
http://drupal.org/node/400306#comment-1354622
#401120: Upload Error: 503

Heilong’s picture

Thanks for redirected me to that post, I tried by adding in the .htaccess file in the root folder this line : SecFilterEngine Off. But I still have the same Error "Upload Error: 412". By the way the upload progress bars don't appear.
Any ideas ?
Thanks,

Heilong’s picture

Status: Active » Fixed

Hi,

I got it fixed by adding in the htaccess these lines :

SecFilterEngine Off
SecFilterScanPOST Off

It was indeed a mod_security problem.

Thanks,

Status: Fixed » Closed (fixed)

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