Results 1 to 7 of 7

Thread: C3.0.5 - Maximum front end width & Simultaneous file uploads

  1. #1
    New user
    Join Date
    03-25-13.
    Posts
    7

    Default C3.0.5 - Maximum front end width & Simultaneous file uploads

    Hello,

    I noticed 2 issues on the contao 3.0.5.

    The first one :

    The "Maximum front end width" is divided by 4 on the front end.
    exemple : If I put "Maximum front end width = 2000", image width are resized at "500px" in the front.

    The second one :
    It seems that the "Simultaneous file uploads" is not considered.
    Exemple : I tried to upload 50 files simultaneously.
    I put "Simultaneous file uploads = 50" but I can't upload more than 20.
    I tried "Simultaneous file uploads = 10" and it upload 20 too !

    Can you confirm that it is a problem from Contao 3.0.5 ?

    Thanks !
    PS: I love Contao ! You do great job guys !

    Ren

  2. #2
    User
    Join Date
    06-20-09.
    Posts
    115

    Default Re: C3.0.5 - Maximum front end width & Simultaneous file upl

    In your root, have you a php.ini file?
    This was my problem, it was overriding my settings in Contao with:
    Code:
    ; Maximum number of files that can be uploaded via a single request
    max_file_uploads = 20
    So i just deleted the entire file, because I didn't have a use for it.
    geung

  3. #3
    New user
    Join Date
    03-25-13.
    Posts
    7

    Default Re: C3.0.5 - Maximum front end width & Simultaneous file upl

    Thanks but no php.ini in any folder.
    It's a fresh install of contao 3.

  4. #4
    User
    Join Date
    06-20-09.
    Posts
    115

    Default Re: C3.0.5 - Maximum front end width & Simultaneous file upl

    It maybe because your server has default settings of max upload 20 and it needs to be overridden.
    It that case, why not create a php.ini file at your root and place the above code in it, to max upload 50.
    It's worth a try. That's the limit of my knowledge on this unfortunately.

    Also look into, execution times too, and max upload size, since uploading 50 files takes a while:
    Code:
    post_max_size = 256M
    upload_max_filesize = 256M
    max_execution_time = 1000
    max_input_time = 1000
    max_file_uploads = 50
    maybe this post might give you a hint viewtopic.php?f=6&t=6081
    geung

  5. #5
    New user
    Join Date
    03-25-13.
    Posts
    7

    Default Re: C3.0.5 - Maximum front end width & Simultaneous file upl

    Ok great geung, it works. Big thanks !
    I used the .htaccess (php_value max_file_uploads 100) instead of php.ini or server config.
    BUT it seems that the local config is not considered properly, because I tried to put "2" in the backoffice config and I can stil upload 50 photos at the same time.

    And what about this "Maximum front end width" divided by 4 ? is it a bug from contao ?

    Ren

  6. #6
    User
    Join Date
    06-20-09.
    Posts
    115

    Default Re: C3.0.5 - Maximum front end width & Simultaneous file upl

    Hi Ren, glad you got one thing fixed.
    The "Maximum front end width" is something I don't use, my field is left empty.

    The only thing I can think of is maybe it has something to do with these settings?:
    Files and images > Maximum GD image width
    Upload settings > Maximum image width


    it all depends on the scenario I guess, most of my images are small and gets a mediabox popup. The size of the image in the mediabox is determined by the maximum possible screen size and aspect ratio fo the image, some can be quite small. Even though I upload my images widths in 1024x800 size.

    Hopefully someone else can pitch in.
    geung

  7. #7
    New user
    Join Date
    03-25-13.
    Posts
    7

    Default Re: C3.0.5 - Maximum front end width & Simultaneous file upl

    I don't know what i've done but it's working now... :D
    So sorry for the inconvenience about that "divide by 4" story !

    Thanks again geung

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •