Hello, I just recently installed mantis 1.2.4 onto my system running iis7 win2k8. Everything seems to be in order except I cannot upload files within the issues. Below is the error I get.
APPLICATION ERROR #15
File upload failed. File is not readable by MantisBT. Please check the project settings.
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
any help on this would be great.
Thanks,
Dan
Issue uploading file into Mantis
Moderators: Developer, Contributor
Re: Issue uploading file into Mantis
I just did and it was commented out. I changed it to the upload path, "c:\uploads"
I still get that error however. I added the IIS_IUSER group and everyone to be able to write to that folder. In the projects, the upload path is set to c:\uploads\. Is it something with the config_inc.php file?
I still get that error however. I added the IIS_IUSER group and everyone to be able to write to that folder. In the projects, the upload path is set to c:\uploads\. Is it something with the config_inc.php file?
Re: Issue uploading file into Mantis
I think no, at least if you did not change the default setting of parameter $g_file_upload_methoddhebert24 wrote:Is it something with the config_inc.php file?
Re: Issue uploading file into Mantis
I did at first because I thought that was the problem, but have since put it back. Below is the attachment part for config_inc.php Also a copy of the php.ini
# --- Attachments / File Uploads ---
$g_allow_file_upload = ON;
$g_file_upload_method = DATABASE; # or DISK
$g_absolute_path_default_upload_folder = ''; # used with DISK, must contain trailing \ or /.
$g_max_file_size = 5000000; # in bytes
$g_preview_attachments_inline_max_size = 256 * 1024;
$g_allowed_files = 'doc,xls,ppt,pdf,bmp,jpeg,jpg,gif,zip,png'; # extensions comma separated, e.g. 'php,html,java,exe,pl'
$g_disallowed_files = 'exe'; # extensions comma separated
# --- Attachments / File Uploads ---
$g_allow_file_upload = ON;
$g_file_upload_method = DATABASE; # or DISK
$g_absolute_path_default_upload_folder = ''; # used with DISK, must contain trailing \ or /.
$g_max_file_size = 5000000; # in bytes
$g_preview_attachments_inline_max_size = 256 * 1024;
$g_allowed_files = 'doc,xls,ppt,pdf,bmp,jpeg,jpg,gif,zip,png'; # extensions comma separated, e.g. 'php,html,java,exe,pl'
$g_disallowed_files = 'exe'; # extensions comma separated
Re: Issue uploading file into Mantis
?dhebert24 wrote:Also a copy of the php.ini
Which PHP version do you use?
Did you get the same error message when using DISK upload method? (don't forget to set $g_absolute_path_default_upload_folder)
Did you have a look at the error / log files of php and the webserver?
Did you have a look at the logs of Windows (I don't know how this is called in an English Windows version, in German version it's called "Ereignisanzeige" maybe something like "System Event Log" in English)
Re: Issue uploading file into Mantis
PHP Version 5.3.5
MySQL version 5.5
In the system event log, nothing shows up for mantis. Nothing in the application log as well. and PHP is set to log there.
MySQL version 5.5
In the system event log, nothing shows up for mantis. Nothing in the application log as well. and PHP is set to log there.
Re: Issue uploading file into Mantis
Maybe related to your problem
http://www.howyoudo.info/index.php/how- ... ions-error
I never used IIS, I hope another can share his experience
http://www.howyoudo.info/index.php/how- ... ions-error
I never used IIS, I hope another can share his experience