Windows: Server responded with 500 code on file upload

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Corobori
Posts: 3
Joined: Feb 19, 2018 11:48 am

Windows: Server responded with 500 code on file upload

Post by Corobori » Oct 29, 2018 8:32 am

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 ?

atrol
Site Admin
Posts: 7630
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Windows: Server responded with 500 code on file upload

Post by atrol » Oct 29, 2018 8:43 am

Do you get any errors or warnings when running admin/check/index.php ?
Maybe you have to install the PHP fileinfo extension.
Please use Search before posting and read the Manual

Corobori
Posts: 3
Joined: Feb 19, 2018 11:48 am

Re: Windows: Server responded with 500 code on file upload

Post by Corobori » Oct 29, 2018 8:59 am

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

atrol
Site Admin
Posts: 7630
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Windows: Server responded with 500 code on file upload

Post by atrol » Oct 29, 2018 9:11 am

Corobori wrote:
Oct 29, 2018 8:59 am
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
RTFM :wink: https://www.mantisbt.org/docs/master/en ... postcommon
Corobori wrote:
Oct 29, 2018 8:59 am
Is this something I can fix myself by uploading something or shoud I write to my hosting's support ?
Hard to say. Depends on the your rights on the server.
Windows users must include the bundled php_fileinfo.dll DLL file in php.ini to enable this extension.
http://php.net/manual/en/fileinfo.installation.php
Please use Search before posting and read the Manual

Post Reply