Hi,
I am trying to enable file uploading with Mantis, I tried both disk and database option but both of them are coming back with the same error "Server responded with 500 code." I setup read/write/delete permissions on the directory to upload files.
Anybody around who managed to get this working on a Windows Server ?
Windows: Server responded with 500 code on file upload
Moderators: Developer, Contributor
Windows: Server responded with 500 code on file upload
Jean-Luc
Mantis: 2.25.4
PHP: 7.4.33
SQL: SQL Server 2016
DB Version: 13.00.5026
OS: Windows Server 2016
Mantis: 2.25.4
PHP: 7.4.33
SQL: SQL Server 2016
DB Version: 13.00.5026
OS: Windows Server 2016
Re: Windows: Server responded with 500 code on file upload
Do you get any errors or warnings when running admin/check/index.php ?
Maybe you have to install the PHP fileinfo extension.
Maybe you have to install the PHP fileinfo extension.
Re: Windows: Server responded with 500 code on file upload
Good point, indeed I have got a warning about the PHP fileinfo extension.
Is this something I can fix myself by uploading something or shoud I write to my hosting's support ?
Didn't know admin/check/index.php, I wrote it down for future issue
Is this something I can fix myself by uploading something or shoud I write to my hosting's support ?
Didn't know admin/check/index.php, I wrote it down for future issue
Jean-Luc
Mantis: 2.25.4
PHP: 7.4.33
SQL: SQL Server 2016
DB Version: 13.00.5026
OS: Windows Server 2016
Mantis: 2.25.4
PHP: 7.4.33
SQL: SQL Server 2016
DB Version: 13.00.5026
OS: Windows Server 2016
Re: Windows: Server responded with 500 code on file upload
RTFMCorobori wrote: 29 Oct 2018, 13:59 Good point, indeed I have got a warning about the PHP fileinfo extension.
Didn't know admin/check/index.php, I wrote it down for future issue
Hard to say. Depends on the your rights on the server.Corobori wrote: 29 Oct 2018, 13:59 Is this something I can fix myself by uploading something or shoud I write to my hosting's support ?
http://php.net/manual/en/fileinfo.installation.phpWindows users must include the bundled php_fileinfo.dll DLL file in php.ini to enable this extension.