Hello People,

After upgrading to drupal 6.14 i get a strange error when i upload a image.

An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (500 MB) that this server supports.

And my image is only 200kb, really strange i think. So now i can't upload a image to my website.

What to do ?

Comments

Leiche’s picture

Hi there,

installed it about 2h ago and I have the same problem.
Does anyone have a clue what causes this?

Cheers

bredi’s picture

crap. having same problem.

yoavmatchulsky’s picture

I don't know if its relevant to you, but I had the same problem.

It turns out it was because I added some rules in the .htaccess file to redirect urls that don't end with a slash to end with slash.
This rule also affected the ajax the filefield used, so I had to add this rule to ignore the ajax calls:

...
  RewriteCond %{REQUEST_URI} !(/js/.*)
  RewriteCond %{REQUEST_URI} !(/filefield/ahah/.*)
  RewriteCond %{REQUEST_URI} !(/upload/.*)
...

hope it helps someone..

quicksketch’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Closed (fixed)

Closing after lack of activity.