I'm getting this error when trying to upload images into the gallery node. I can create the gallery but can't upload pictures, not even one.

"The gallery upload form has expired, please start a new upload."

Don't know if this is a bug or if I'm missing something, it's the first time I'm using this module.

Comments

Tally’s picture

Title: The gallery upload form has expired, please start a new upload. » Various errors uploading pictures to gallery

I am also getting an error when uploading a pic to an existing gallery that already has pictures.

I get the following error, although my gallery only has 10 files. Total, that user has a total of 24 pics in 4 galleries.

The selected file 2009-03-05-typical.jpg could not be uploaded. You could only upload 20 files.

As a side note, the grammar of the error message can be improved by replacing could with can.

Tally’s picture

Title: Various errors uploading pictures to gallery » The gallery upload form has expired, please start a new upload.

I discovered that my error noted above was because there is a Gallery Relationship setting that has a default limit of 20 images. I don't remember this setting previously. I increased the value to 2000 and I can now add new images without error.

I cannot re-create the OP's error.

Marco Palmero’s picture

I'm getting this error...

The selected file xxxxxx.jpg could not be uploaded.
The file is 87.82 KB which would exceed your disk quota of 2 MB.
You could only upload 20 files.

I've changed "Number of images displayed per gallery: " from 20 to a large number.. its still stuffing up..

This is in... xxxx.com/admin/settings/node_gallery/settings

dbeall’s picture

I'm using alpha10.. There is a place to increase your disk limit in Drupal, but I can't find it right now. I just looked through all the settings on my test site, still can't find it, but I know it's there because i set it to 200M before. Mine uploads additional images just fine.. If I can find the setting, I will let you know.

dbeall’s picture

in the modules list is one called 'upload', if you enable that, it has a setting "Default total file size per user" and "Default maximum file size per upload:". I know there is another setting, but still can't find it.

dbeall’s picture

I found it..
1.Goto to Site configuration >>Node gallery. under 'operations' Choose 'Edit'.
2.When the new page loads 'Node Gallery Config Edit', click "next" at the bottom.
3.When the new page loads (also labeled)'Node Gallery Config Edit', down at the bottom is "Image Upload Limitation Default Settings". click that open to find the settings.

dddave’s picture

Status: Active » Fixed

This looks like it is fixed, doesn't it?

kmonty’s picture

Title: The gallery upload form has expired, please start a new upload. » Node Gallery should not limit the number of uploads per gallery by default
Version: 6.x-2.0-alpha7 » 6.x-2.x-dev
Assigned: Unassigned » kmonty
Priority: Normal » Critical
Status: Fixed » Active

We should not set a default of 20. I will change the default prior to the launch of the beta.

kmonty’s picture

Status: Active » Fixed

Committed: http://drupal.org/cvs?commit=243368

It turns out that previously you could not set the number to unlimited, which was also changed with this commit.

Status: Fixed » Closed (fixed)

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

hunanka’s picture

@dbeall Very, thank you...
No problem!