Hi Yuri, I deleted the line containing (max_file_size ) in grants.php <div> <input type="hidden" name="max_file_size" value="<?php echo $iMaxSize; ?>"/> (THIS LINE) <?php uploadProgressField($up); ?> <input name="file" class="element file required" type="file"/> </div>
I deleted the line containing (max_file_size ) in newtickets.php <div> <input type="hidden" name="max_file_size" value="<?php echo $iMaxSize; ?>"/> <?php uploadProgressField($up); ?> <input name="file" class="element file required" type="file"/> </div> I set php.ini post_max_size = 0 upload_max_filesize = 0 http.conf LimitRequestBody 5120000000 config.php $maxSize = '5G'; if I try to download a file larger than 5GB, I don't' have the red error message file too big. My browser gets error, blank page . It's pity. It should be nice if we can always have the red error message, your file is too big. There are an other pb with the size of available ticket. It's not correct in the interface. A file 2.5gb return the following size in web interface -1734967296 octets A file 4.4gb return the following size in web interface 165 Mb Regards. > -----Message d'origine----- > De : Yuri D'Elia [mailto:wav...@thregr.org] > Envoyé : mercredi 15 janvier 2014 21:41 > À : Download Ticket Service > Objet : Re: [dl-ticket-service] send files bigger than 2Go > > On 01/15/2014 03:53 PM, Yuri D'Elia wrote: > > On 01/15/2014 03:41 PM, MOKRANI Rachid wrote: > >> Everything works I can upload iso DVD 4.4gb with the following > parameters. > >> > >> php.ini > >> post_max_size = 0 > >> upload_max_filesize = 0 > >> > >> http.conf > >> LimitRequestBody 5120000000 > >> > >> config.ini > >> //$maxSize = ini_get('upload_max_filesize'); > >> > >> But in the same config, if I set manually $maxSize in config.ini (5000M or > 5G or 5120000000) , the upload stop approximately to 1gb > > > > I'd have to look at this, but the code looks ok. > > Hah.. in the upload form, I also add the hidden field "MAX_FILE_SIZE" > (which is produced according $maxSize). Turns out PHP has also the same > overflow issue parsing this field when it is read back... > > You need to remove the lines: > > htdocs/include/grants.php:23 > htdocs/include/newtickets.php:31 > > to fix the issue. > > Since I don't know when the issue will be fixed in PHP, I simply have to > disable this additional field. > > __________________________ Avant d'imprimer, pensez à l'environnement ! Please consider the environment before printing ! Ce message et toutes ses pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. IFP Energies nouvelles décline toute responsabilité au titre de ce message. This message and any attachments are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. IFP Energies nouvelles should not be liable for this message. __________________________