Version Information:
MantisBT Version 2.27.1
Database Schema Version 213
PHP Version 7.4.33
OS Information Linux unix3.gip.superb.net 5.14.0-503.23.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Feb 6 06:58:49 EST 2025 x86_64
Database Driver mysqli
Database Version, Description 10.11.11, 10.11.11-MariaDB-log
I've trying to get upload to disk to work. I copied the settings from an older installation of Mantis, but when I try to attach a file I get a bunch of garbage when I submit. See the attachment for an example.
There was no upload directly declared in the old config_defaults_inc.php I copied, but I added is using the Site Path from the Site Information page as the root. The directory has already been created.
I added a list of accepted extensions too.
Any clue what I'm doing wrong?
Can't Get Uploads Working
Moderators: Developer, Contributor
Can't Get Uploads Working
- Attachments
-
- UploadIssue.jpg (507.25 KiB) Viewed 142 times
Re: Can't Get Uploads Working
I figured it out. Apparently some spaces got inserted in front of the path to the upload directory. I removed the spaces and all works now.