APPLICATION ERROR #504 when uploading file
Posted: 24 Jan 2019, 17:53
Hi!
Environment: Windows Server 2012 R2, IIS 8.5.9600.16384, PHP 7.2.5, Mantis 2.14.0
Every time I try to upload a file I get the error message shown below. I'm aware of php.ini#sys_temp_dir and php.ini#upload_tmp_dir, both are NOT set, i.e. the system default (c:\windows\temp) will be used. The account IIS_IUSRS has full access to this directory.Nevertheless no upload is possible. Any idea?
APPLICATION ERROR #504
Keine Datei übertragen. Gehen Sie zurück und wählen Sie eine Datei aus, bevor Sie auf Datei übertragen drücken
Bitte benutzen Sie die „Zurück“-Taste Ihres Browsers, um auf die vorhergehende Seite zurückzukehren. Dort können Sie den hier angezeigten Eintrag korrigieren oder eine andere Aktion ausführen. Über das Menü können Sie auch direkt zu einer anderen Aktion wechseln.
Detailed error information
Full path: C:\inetpub\wwwroot\mantis\core\error_api.php
Line number: 85
Stack trace
# Filename Line Class Type Function Args
0 C:\inetpub\wwwroot\mantis\core\file_api.php 717 - - file_ensure_uploaded <array> { ['name'] => '.pgAdmin4.4076335879.log', ['type'] => '', ['tmp_name'] => '', ['error'] => 6, ['size'] => 0, ['browser_upload'] => true }
1 C:\inetpub\wwwroot\mantis\core\file_api.php 73 - - file_add <integer>45, <array> { ['name'] => '.pgAdmin4.4076335879.log', ['type'] => '', ['tmp_name'] => '', ['error'] => 6, ['size'] => 0, ['browser_upload'] => true }, <string>'bug'
2 C:\inetpub\wwwroot\mantis\core\commands\IssueAddCommand.php 339 - - file_attach_files <integer>45, <array> { [0] => <array> { ['name'] => '.pgAdmin4.4076335879.log', ['type'] => '', ['tmp_name'] => '', ['error'] => 6, ['size'] => 0 } }
3 C:\inetpub\wwwroot\mantis\core\commands\Command.php 137 IssueAddCommand -> process -
4 C:\inetpub\wwwroot\mantis\bug_report.php 246 Command -> execute -
Environment: Windows Server 2012 R2, IIS 8.5.9600.16384, PHP 7.2.5, Mantis 2.14.0
Every time I try to upload a file I get the error message shown below. I'm aware of php.ini#sys_temp_dir and php.ini#upload_tmp_dir, both are NOT set, i.e. the system default (c:\windows\temp) will be used. The account IIS_IUSRS has full access to this directory.Nevertheless no upload is possible. Any idea?
APPLICATION ERROR #504
Keine Datei übertragen. Gehen Sie zurück und wählen Sie eine Datei aus, bevor Sie auf Datei übertragen drücken
Bitte benutzen Sie die „Zurück“-Taste Ihres Browsers, um auf die vorhergehende Seite zurückzukehren. Dort können Sie den hier angezeigten Eintrag korrigieren oder eine andere Aktion ausführen. Über das Menü können Sie auch direkt zu einer anderen Aktion wechseln.
Detailed error information
Full path: C:\inetpub\wwwroot\mantis\core\error_api.php
Line number: 85
Stack trace
# Filename Line Class Type Function Args
0 C:\inetpub\wwwroot\mantis\core\file_api.php 717 - - file_ensure_uploaded <array> { ['name'] => '.pgAdmin4.4076335879.log', ['type'] => '', ['tmp_name'] => '', ['error'] => 6, ['size'] => 0, ['browser_upload'] => true }
1 C:\inetpub\wwwroot\mantis\core\file_api.php 73 - - file_add <integer>45, <array> { ['name'] => '.pgAdmin4.4076335879.log', ['type'] => '', ['tmp_name'] => '', ['error'] => 6, ['size'] => 0, ['browser_upload'] => true }, <string>'bug'
2 C:\inetpub\wwwroot\mantis\core\commands\IssueAddCommand.php 339 - - file_attach_files <integer>45, <array> { [0] => <array> { ['name'] => '.pgAdmin4.4076335879.log', ['type'] => '', ['tmp_name'] => '', ['error'] => 6, ['size'] => 0 } }
3 C:\inetpub\wwwroot\mantis\core\commands\Command.php 137 IssueAddCommand -> process -
4 C:\inetpub\wwwroot\mantis\bug_report.php 246 Command -> execute -