Problem with validators:maxfilesize

Archived from the Xataface Users forum.

dbaron2 — Wed Nov 18, 2009 7:16 pm

Hello,

I am trying to limit the size of file uploads to 20MB using the validators:maxfilesize directive in fields.ini. I set my PHP.ini upload_max_filesize to 21MB.

When I go over 20MB the upload fails, but I don’t get a message that it failed. The save is simply “successful”.

In PHP.ini:

upload_max_filesize = 21MB

In fields.ini:

validators:maxfilesize = 20000000

validators:maxfilesize:message = “The file you are uploading is too big!”

What am I missing?