View Issue Details

IDProjectCategoryView StatusLast Update
0020863mantisbtattachmentspublic2016-05-26 05:11
Reportertegger Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Platformx64OSWindows ServerOS Version2008 R2
Product Version1.3.0-rc.1 
Summary0020863: APPLICATION ERROR #505 with file upload to DISK
Description

Hello,

i didn't get file upload with IIS to disk running, is there an error or is this a special for IIS and its security ?

--- Attachments / File Uploads ---

$g_allow_file_upload = ON;
$g_file_upload_method = DISK;
$g_absolute_path_default_upload_folder = 'C:\inetpub\wwwroot\mantis\uploads';
$g_max_file_size = 10000000;

Security for
"C:\Windows\Temp" and "C:\inetpub\wwwroot\mantis\uploads"
is set to "Full control" for IUSR and IIS_IUSRS. Without IUSR i got Upload Error #503

TagsNo tags attached.

Activities

atrol

atrol

2016-04-29 08:30

developer   ~0053037

Does changing (append trailing ) to
$g_absolute_path_default_upload_folder = 'C:\inetpub\wwwroot\mantis\uploads\';
fix the issues?

tegger

tegger

2016-04-29 09:06

reporter   ~0053038

this ends with a internal server error 500

atrol

atrol

2016-04-30 13:24

developer   ~0053044

this ends with a internal server error 500
This might be caused by an outdated PHP version.
Check your web server logs for more details.

I can't provide more help as I don't use Mantis with IIS.

tegger

tegger

2016-05-02 04:19

reporter   ~0053052

PHP 5.6.20 x64 is used with IIS.
I also tried the "offical" php.iis.net 5.3.28

this seems to be a problem with php and the Windows Security

atrol

atrol

2016-05-02 07:37

developer   ~0053054

tegger,

I searched the web for: php iis internal server error 500
and found a lot of pages, e.g.
http://serverfault.com/questions/613927/500-error-on-fresh-install-of-iis-and-php

This seems not to be a bug or feature request for MantisBT (you are asking for help on how to configure IIS / PHP on Windows ). I am therefore resolving this issue as "no change required".

Please use the forums, the mantisbt-help mailing list or IRC to get support on customizing and using MantisBT (refer to http://www.mantisbt.org/support.php for links and further details).

Feel free to reopen the issue if you finally find that there is a bug in Mantis.

It would be fine if you could add a note if you find a PHP/IIS/Windows setting that fixed the issue.

tegger

tegger

2016-05-09 03:03

reporter   ~0053098

Hello,

i got a solution with IIS, the global Setting g_absolute_path didn't work
$g_absolute_path_default_upload_folder = 'C:\inetpub\wwwroot\mantis\uploads';
when i set the upload path for a projekt, the file to disk is working