Forum

Upload files limita...
 
Notifications
Retirer tout

Upload files limitation to 2 mbits in document.

7 Posts
4 Utilisateurs
0 Reactions
13 K Vu
 Fab
(@fab)
Posts: 25
Trusted Member
Début du sujet
 
[#506]

Bonjour,Peut on augmenter cette limite.
Merci


 
Posté : 13/05/2012 8:19 pm
(@babynus)
Posts: 14952
Membre Admin
 

PLEASE POST IN ENGLISH !

Bonjour,Peut on augmenter cette limite.
Merci

Translation :

Can the limit be increased ?


 
Posté : 13/05/2012 9:15 pm
(@babynus)
Posts: 14952
Membre Admin
 

First, change value of $paramAttachementMaxSize in parameters.php file (location defined in /tool/parametersLocation.php). Value is in Bytes. So default value of '2097152' means 2Mb.
This is the applicative limit.

Then, check your php.ini file.
There is a parameter defining the limit, by default set to 2Mb

  upload_max_filesize = 2M

You will never be able to upload files greater than one of these limits.


 
Posté : 13/05/2012 9:21 pm
(@rutra)
Posts: 3
Active Member
 

First, change value of $paramAttachementMaxSize in parameters.php file (location defined in /tool/parametersLocation.php). Value is in Bytes. So default value of '2097152' means 2Mb.
This is the applicative limit.

Then, check your php.ini file.
There is a parameter defining the limit, by default set to 2Mb

  upload_max_filesize = 2M

You will never be able to upload files greater than one of these limits.

Hi Babynus,
If I increase the values in php.ini and parameters.php to 8MB will the application support uplodas up to 8MB? Thanks!


 
Posté : 03/06/2012 3:36 pm
(@babynus)
Posts: 14952
Membre Admin
 

If I increase the values in php.ini and parameters.php to 8MB will the application support uplodas up to 8MB?

Yes ! (and even more if you wish)


 
Posté : 03/06/2012 11:07 pm
CRESSON
(@thierrc49)
Posts: 97
Estimable Member
 

Hello Babynus,

I'm trying to increase the max file size, I have increased the parameter in php.ini to 10M see screen copy of PHPINFO()

upload_max_filesize 10M 10M

I have increased the parameter in projector see screen shot
taille maximum des fichiers attachés : 10485760 (10Mo too)

But when I'm trying to import document sized 2,41 Mo (2 527 232 octets)
Projector say me :

La taille du fichier excède la limite de 10485760 octets ($paramAttachementMaxSize)
Contact your administrator.

Any idea?

I'm using the 3.0.2 version of projector, PHP Version 5.3.6, and apache server on windows seven.

Thank for your help

THierry,


 
Posté : 09/01/2013 11:03 am
(@babynus)
Posts: 14952
Membre Admin
 

The error message "La taille du fichier excède la limite de 10485760 octets ($paramAttachementMaxSize). " is generic, and occurs any time file cannot be uploaded.
This may happen if tempory upload directory (defined in php.ini) is full...

Other point, php must be restarted to take into account php.ini changes.


 
Posté : 09/01/2013 12:19 pm
Share:
Retour en haut