In Testlink default its only allowed 400kb for upload files. when your uploading files it will show following warning.
To Increase the file size edit the value in config.inc.php
$tlCfg->import_file_max_size_byte = 409600 to the value you want
eg: increasing the value to 100M
$ sudo nano /var/www/testlink/config.inc.php
import_file_max_size_byte = '104857600';
ctrl + o save , ctrl + x exit
Restart the Apache
$ sudo service apache2 restart
now you can see the file size if the upload is 100m
To Increase the file size edit the value in config.inc.php
$tlCfg->import_file_max_size_byte = 409600 to the value you want
eg: increasing the value to 100M
$ sudo nano /var/www/testlink/config.inc.php
import_file_max_size_byte = '104857600';
ctrl + o save , ctrl + x exit
Restart the Apache
$ sudo service apache2 restart
now you can see the file size if the upload is 100m
Thanks.. Its worked for me.
ReplyDeleteyou are welcome
ReplyDeleteI was looking for a quick solution. This came first and it worked. Thanks.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThanks for this post. In case some is looking to do this for AWS Marketplace Testlink instance, the file is located at /opt/bitnami/apps/testlink/htdocs/config.inc.php
ReplyDeleteand to restart the service must run
sudo /opt/bitnami/ctlscript.sh restart
However, in out case, file upload dialog was not showing 409600 as the max upload size but rather 10485760 (1MB).
The setting that we needed to change was repository_max_filesize = 10; //MB It was 1 by default.