Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Subform with file object - rows limit?

Locked
alextouch
Posts: 38
Joined: Tue Jun 05, 2012 2:40 pm
Location: Bologna, Italy
Contact:

Subform with file object - rows limit?

Unread post by alextouch »

Hi

I have a subform with some text objects and a file object on each row.
It seems to work right, but when I insert more than 20 rows, after save, the 21th file object appears checked and no file is saved into the blob field, in effect the column "file" displays [BLOB -0B] and the file_name, file_type and file_size columns are empties.
All other text fields are saved normally.

I have nuBuilder v2.8.1-12.12.19-Build554, running on a Debian Squeeze LAMP server
There's something wrong somewhere?

Thank you
Alex
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Subform with file object - rows limit?

Unread post by massiws »

Alex, try to increase these values in your php.ini file:

Code: Select all

; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 100M

; Maximum number of files that can be uploaded via a single request
max_file_uploads = 20
Let me know how it goes.

Max
alextouch
Posts: 38
Joined: Tue Jun 05, 2012 2:40 pm
Location: Bologna, Italy
Contact:

Re: Subform with file object - rows limit?

Unread post by alextouch »

Max

Great job, now it works correctly.

Thank you very much.
Alex
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Subform with file object - rows limit?

Unread post by massiws »

Ok!
Locked