Page 1 of 1
fileuploads missing
Posted: 15 May 2006, 22:08
by getagrip
I have enabled fileuploads in both mantis and php.ini, however I cannot find an upload/attach button anywhere on the whole page neither in new-issue nor in edit-issue mode. any ideas?
Posted: 19 May 2006, 00:27
by atomoid
- Make sure your 'config_inc.php' flag "$g_allow_file_upload = ON;" doesnt have a '#' in front of it.
- Also make sure the permissions allow it. see "Upload issue attachment" on the 'adm_permissions_report.php' page.
Posted: 26 May 2006, 20:39
by sqook
I am experiencing this problem as well. My config file is set up correctly, and I also have made sure that the webserver has write permission to the appropriate directory. The only thing I can think of that might be causing this is that the file path could be bad.... my mantis installation is set up at "/mantis", and I've set up a "/mantis-uploads" directory to store files, with each project having a subdir under that. When I configure my projects, I made the upload path "../mantis-uploads/whatever". Is this correct?
Posted: 01 Jun 2006, 19:22
by atomoid
Try something simpler first to eliminate potential pitfalls. It works for me in this simple setup:
$g_file_upload_method = DISK;
$g_absolute_path_default_upload_folder = '/home/httpd/mantis/mantis-files/';
Each project's "Upload File Path": /home/httpd/mantis/mantis-files/
...and make sure the dirrectory is preexisting, in case it cant create it on the fly.