Hi,
Am trying to increase the size of files that can be attached to in project docs.
$g_allow_file_upload = ON;
$g_max_file_size = 10000000; # 10 MB
$g_file_upload_method = DISK;
In the PHP configuration file :
upload_max_filesize = 16M
but could not succeed.
Pls. suggest.
Thanx
Unable to increase the project document size for upload
Moderators: Developer, Contributor
What is the Mantis version? the error message (if any)?
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
Upload File error
hi,deboutv wrote:What is the Mantis version? the error message (if any)?
The version is mantis-1.0.5 and am running on Apache. Php5..
If i mention the thresholds i would not see the Add file option itself.
$g_allow_file_upload = ON;
$g_max_file_size = 10000000; # 10 MB
$g_file_upload_method = DISK; #DATABASE,DISK,FTP
$g_upload_project_file_threshold = 10000000;
$g_upload_bug_file_threshold = 5000000;
and if i mask it,
#$g_upload_project_file_threshold = 10000000; only then i am able to see the Add file option
and when i proceed attaching a file, i get this error...
APPLICATION ERROR #500
File upload failed. This is likely because the filesize was larger than is currently allowed by this PHP installation.
and the php.ini has the following conifg
file_uploads = On
upload_tmp_dir = "C:\Program Files\xampp\tmp"
; Maximum allowed size for uploaded files.
upload_max_filesize = 16M
Pls. advise
Re: Upload File error
Normalsri wrote:hi,deboutv wrote:What is the Mantis version? the error message (if any)?
The version is mantis-1.0.5 and am running on Apache. Php5..
If i mention the thresholds i would not see the Add file option itself.
$g_allow_file_upload = ON;
$g_max_file_size = 10000000; # 10 MB
$g_file_upload_method = DISK; #DATABASE,DISK,FTP
$g_upload_project_file_threshold = 10000000;
$g_upload_bug_file_threshold = 5000000;
and if i mask it,
#$g_upload_project_file_threshold = 10000000; only then i am able to see the Add file option
$g_upload_*_threshold must be set to one of the following values: VIEWER, REPORTER, UPDATER, DEVELOPER, MANAGER or ADMINISTRATOR.
And what about post_max_size (in the php.ini file)?and when i proceed attaching a file, i get this error...
APPLICATION ERROR #500
File upload failed. This is likely because the filesize was larger than is currently allowed by this PHP installation.
and the php.ini has the following conifg
file_uploads = On
upload_tmp_dir = "C:\Program Files\xampp\tmp"
; Maximum allowed size for uploaded files.
upload_max_filesize = 16M
Pls. advise
If you change the php.ini file, don't forget to restart Apache.
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
done the changes suggested, but still have issues
hi,
php.ini now has this config:
----------------
file_uploads = On
upload_tmp_dir = "C:\Program Files\xampp\tmp"
upload_max_filesize = 16M
post_max_size = 16M
and config_inc has:
$g_allow_file_upload = ON;
$g_max_file_size = 10000000; # 5 MB
$g_file_upload_method = DISK; #DATABASE,DISK,FTP
$g_upload_project_file_threshold = REPORTER;
$g_upload_bug_file_threshold = 2000000;
and tried attaching a 3MB file to project docs.
But it throws an Error 503
Invalid upload path directory either does not exist or not writable to webserver...
php.ini now has this config:
----------------
file_uploads = On
upload_tmp_dir = "C:\Program Files\xampp\tmp"
upload_max_filesize = 16M
post_max_size = 16M
and config_inc has:
$g_allow_file_upload = ON;
$g_max_file_size = 10000000; # 5 MB
$g_file_upload_method = DISK; #DATABASE,DISK,FTP
$g_upload_project_file_threshold = REPORTER;
$g_upload_bug_file_threshold = 2000000;
and tried attaching a 3MB file to project docs.
But it throws an Error 503
Invalid upload path directory either does not exist or not writable to webserver...
Re: done the changes suggested, but still have issues
You need to change $p_upload_bug_file_threshold.sri wrote:hi,
php.ini now has this config:
----------------
file_uploads = On
upload_tmp_dir = "C:\Program Files\xampp\tmp"
upload_max_filesize = 16M
post_max_size = 16M
and config_inc has:
$g_allow_file_upload = ON;
$g_max_file_size = 10000000; # 5 MB
$g_file_upload_method = DISK; #DATABASE,DISK,FTP
$g_upload_project_file_threshold = REPORTER;
$g_upload_bug_file_threshold = 2000000;
In the project management page, you need to fill the Upload file path and check that the directory exists and that the webserver could write in it.and tried attaching a 3MB file to project docs.
But it throws an Error 503
Invalid upload path directory either does not exist or not writable to webserver...
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
That is it ... now it works.. Thanks a lot
Deboutv...
i was behind config files.. and missed checking the path to be configured in Mantis.. a blunder !!
Thank you...
i was behind config files.. and missed checking the path to be configured in Mantis.. a blunder !!
Thank you...