Problem with validators:maxfilesize

A place for users and developers of the Xataface to discuss and receive support.

Problem with validators:maxfilesize

Postby 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?
dbaron2
 
Posts: 15
Joined: Wed Sep 30, 2009 10:27 pm

Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 26 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved