Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

document upload lim...
 
Notifications
Clear all

document upload limit

9 Posts
3 Users
0 Reactions
12.9 K Views
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 
[#360]

Hi,
Can you please suggest where we need to change upload_max_filesize variable?

Regards,
Evgueni


 
Posted : 15 Feb 2012 11H03
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

First, you must define it in the parameter.php file :
$paramAttachementMaxSize ( = '2097152' by defaut = 2Mo)
It is the limit you can define on your own.

But there may also exist a limit defined on your php server :
upload_max_filesize is defined in the php.ini.
This limit may be fixed by your provider without any possibility to change it. All depends on the provider.


 
Posted : 15 Feb 2012 11H53
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 

Thank you very much!
One more time I am very impressed with your support!

Regards,
Evgueni


 
Posted : 15 Feb 2012 11H58
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 

We have done it, restarted server, clear cache, etc. but still error coming up:
File size exeeds the limit of 2097152 bytes ($paramAttachementMaxSize)

Regards,
Evgueni


 
Posted : 15 Feb 2012 13H12
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 

Ok found it in another directory as well - now it works!
Thank you!


 
Posted : 15 Feb 2012 13H18
(@ffwrude)
Posts: 33
Active Member
 

Hi,

How did you do it ? Because i changed the $paramAttachementMaxSize from 2097152 to 209715200 and i still have the error File size exeeds the limit of 209715200 bytes ($paramAttachementMaxSize)

I modified the /projetctoria/files/config/parameters.php

php.ini is set at 10M


 
Posted : 17 Feb 2012 12H55
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Topic starter
 

Search for $paramAttachementMaxSize in all directories and replace value everywhere you found it... We have changed to double size.


 
Posted : 17 Feb 2012 13H00
(@ffwrude)
Posts: 33
Active Member
 

Thank you !


 
Posted : 17 Feb 2012 13H55
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Just to complete the asnwers :
look in /tools/parametersLocation.php : here is defined the parameters.php that is really used.
It may not be the default one, placed in /files/config, depending on parameters you defined in the configuration screen


 
Posted : 17 Feb 2012 16H15
Share:

Scroll to Top