View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008043||mantisbt||bugtracker||public||2007-06-08 06:45||2008-10-28 21:11|
|Target Version||Fixed in Version|
|Summary||0008043: Upload file is impossible in safe mode|
We get an error 15 and/or 504(not sure of this numbers) in safe mode when trying to upload file.
"APPLICATION ERROR #15
File upload failed. File is not readable by Mantis. 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."
|Steps To Reproduce|
Install mantis in a safe mode PHP
in core/file_api.php, I had to unactivate the lines:
|Tags||No tags attached.|
It would be great if you can upload a zipped copy of the file_api.php after modification.
I just commented the lines...
I have the same problem. I looked at your suggestions above and was about to do the same. However, it occurred to me that I had it worked on my test environment with the exact same installation. I did some investigation and found that all I need to do is just create a folder and set appropriate permission on that folder then modify this entry "upload_tmp_dir" in php.ini to point to my folder and reset my web server and it worked. Hope it will help someone with the same problem. Mind you that I did in Windows environment and I think it should do the trick for Linux env.