Uploading error (File size)

frankspin - September 18, 2009 - 09:28
Project:FileField
Version:6.x-3.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

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 ?

#1

Leiche - November 6, 2009 - 14:06

Hi there,

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

Cheers

#2

bredi - November 8, 2009 - 03:26

crap. having same problem.

#3

yoavmatchulsky - November 25, 2009 - 14:31

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..

 
 

Drupal is a registered trademark of Dries Buytaert.