Form size?

133 views
Skip to first unread message

mosemadl

unread,
Jun 25, 2009, 8:19:56 AM6/25/09
to Omeka Dev
What does this mean? File Upload: The file 'file_0_' exceeds the
defined form size. I get this trying to upload files and I know its
not file size since I took care of that problem.

Dave Lester

unread,
Jul 6, 2009, 12:02:24 PM7/6/09
to Omeka Dev
Are you able to upload any files at all? I wonder if it's exceeding
the POST limit on your server.

Diana Moseman

unread,
Jul 6, 2009, 12:33:20 PM7/6/09
to omek...@googlegroups.com
I have POST limit set to 50MB. I uploaded a 25MB file, but it croaked on a
32MB file.

*~*~*~*~*~*~*~*~*~*
Diana L. Moseman, M.S.
Instructional Design Technician
B257 Milne Library
SUNY College at Oneonta
Oneonta, NY 13820

PHONE: (607) 436-2683
FAX: (607) 436-3677
E-MAIL: mose...@oneonta.edu

Don't anthropomorphize computers. They hate that.

Dave Lester

unread,
Jul 13, 2009, 2:24:21 AM7/13/09
to Omeka Dev
Hi Diana,

I saw that you also posted this question on the Omeka forums. Let's
continue the convo here so that other users can follow along.

Assuming that the problem is not a POST limit, it could instead be a
file size limit on your server. Do you have command line access? If
so, type the following:

ulimit -a

This will return several lines of information, including one that says
file size. What is the value for that?

Dave

On Jul 6, 12:33 pm, Diana Moseman <mosem...@oneonta.edu> wrote:
> I have POST limit set to 50MB. I uploaded a 25MB file, but it croaked on a
> 32MB  file.
>
> *~*~*~*~*~*~*~*~*~*
> Diana L. Moseman, M.S.
> Instructional Design Technician
> B257 Milne Library
> SUNY College at Oneonta
> Oneonta, NY 13820
>
> PHONE: (607) 436-2683
> FAX: (607) 436-3677
> E-MAIL: mosem...@oneonta.edu
>
> Don't anthropomorphize computers. They hate that.
>

mosemadl

unread,
Jul 13, 2009, 8:48:04 AM7/13/09
to Omeka Dev
file size is unlimited. below are the details:

[spectre]$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
max nice (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1000500
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) unlimited
max rt priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

Dave Lester

unread,
Jul 13, 2009, 2:55:43 PM7/13/09
to Omeka Dev
We found an unexpected bug in the software, which sets a max file size
limit in the form for adding items within the administrative panel.
This will be fixed in the next version of Omeka, due out sometime next
month. If you're willing to edit the file yourself, there are two
lines of code that you'll need to remove. Edit the /admin/themes/
default/items/files-form.php file, lines 43 and 44:

<!-- MAX_FILE_SIZE must precede the file input field -->
<input type="hidden" name="MAX_FILE_SIZE" value="30000000" />

This should remove the limit, and allow you to upload the file.

Dave

Diana Moseman

unread,
Jul 15, 2009, 8:06:39 AM7/15/09
to omek...@googlegroups.com
Thanks. That really helped.

*~*~*~*~*~*~*~*~*~*
Diana L. Moseman, M.S.
Instructional Design Technician
B257 Milne Library
SUNY College at Oneonta
Oneonta, NY 13820

PHONE: (607) 436-2683
FAX: (607) 436-3677
E-MAIL: mose...@oneonta.edu

Don't anthropomorphize computers. They hate that.



> From: Dave Lester <davel...@gmail.com>
> Reply-To: <omek...@googlegroups.com>
Reply all
Reply to author
Forward
0 new messages