fileuploads missing

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
getagrip
Posts: 1
Joined: 15 May 2006, 22:07

fileuploads missing

Post 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?
atomoid
Posts: 108
Joined: 18 Aug 2005, 00:46
Location: santa cruz, ca

Post 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.
sqook
Posts: 2
Joined: 26 May 2006, 20:37

Post 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?
atomoid
Posts: 108
Joined: 18 Aug 2005, 00:46
Location: santa cruz, ca

Post 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.
Post Reply