max_file_uploads limitation when uploading from a Matrix

Luke's Avatar

Luke

06 Sep, 2010 05:21 AM via web

Hi there, I ran into this problem when using the latest version (1.0.2) of nGen File Field, EE 1.6.9, PHP 5.2.6
Thanks to Drew McClennan's post I found a fix.

Upon adding the required jquery to jquery.ngen_file_field.js I noticed that you had already added some similar code which hadn't stopped the bug for me.

Not sure if this helps or not, but my line of jquery looks like this, added to the .parents("form").submit() event handler around line 17, and all is hunky dory again:

    // fix php max_file_uploads limitation
    $('input:file[value=""]').attr('disabled', true);

For some reason the selector and setter combination you have in there is not disabling my empty upload fields.

Thanks for the extension, it's essential for nearly all my projects!

Cheers
Luke

  1. Support Staff 2 Posted by Fred Boyle on 14 Oct, 2010 06:27 PM

    Fred Boyle's Avatar

    Not sure why you ran into a problem. Could you provide more details about your browser and version?

  2. 3 Posted by Luke on 15 Oct, 2010 07:10 AM

    Luke's Avatar

    I'm using Firefox 3.6 on a mac. My client also had the problem. Not sure what she was using.. pretty sure I tried other browsers too - Chrome and Safari to be specific.

  3. 4 Posted by Todd on 26 Oct, 2010 12:26 AM

    Todd 's Avatar

    Yeah Im having max upload limitations as well. Using 1.0.2 and EE 1.6.9

  4. 5 Posted by Nathan on 27 Oct, 2010 03:08 PM

    Nathan's Avatar

    I'm unable to upload as well. Not getting any error messages; images just don't upload.

  5. 6 Posted by Todd on 27 Oct, 2010 03:17 PM

    Todd 's Avatar

    I'm not sure why but, this issue is fixed when I use Firefox. Chrome and Safari are not allowing uploads of 20 or more.

  6. 7 Posted by Nathan on 27 Oct, 2010 04:28 PM

    Nathan's Avatar

    Confirming the same findings as Todd:

    Works in Firefox, Safari, and IE8 but not in Chrome. Strange.

  7. Support Staff 8 Posted by Fred Boyle on 29 Oct, 2010 02:59 PM

    Fred Boyle's Avatar

    Thanks for the info everyone. If some, or all, of you could each start a new private thread and provide a CP login to sites where you're experiencing the issue I'd like to look and do a bit of live debugging to aid me figure out a fix.

    Please include CP URL, username/password with same level of access of users experiencing the issue.

  8. 9 Posted by erufenix on 19 Nov, 2010 09:06 PM

    erufenix's Avatar

    Gracias man si me funciono esta sentencia, ya no tuve que mover el php.ini

  9. Fred Boyle closed this discussion on 22 Nov, 2010 08:49 PM.

Comments are currently closed for this discussion. You can start a new one.