I installed Gallery Formatter and added an image field with unlimited images to an existing content type to use for the gallery. When I edit a node of this content type and try to upload an image, I get an error:

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

I've tried several different images, all are well under the maximum file size (around 200K). I tried creating a new node of this content type, and I was able to upload images to it. I'm wondering if it has to do with trying to edit an existing node that was created before the field was added to the content type.

Comments

SheilaRuth’s picture

I checked the Javascript console and it has this error: "Failed to load resource: the server responded with a status of 403 (Forbidden)" which sounds like a permissions problem, but I double checked the permissions on the files directory and it is good. Also, if it were a simple permissions problem, why would it work when adding new content, but not when editing an existing one?

Thanks

SheilaRuth’s picture

Edit: I completely removed the field and re-added it, and this time I set it up as a single image display and didn't set any display settings that would tie it to Gallery formatter, and the same problem occurred. So it doesn't appear to be a problem with this module, as far as I can tell. If you have any suggestions, I'd appreciate the help, but otherwise I'm going to post in the Drupal forums and see if I can get any help there.

johnv’s picture

Status: Active » Fixed

This seems a general problem with your directory rights. Check them, or delete your files directory - then Drupal will create a proper one for you.

Status: Fixed » Closed (fixed)

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