View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023737 | mantisbt | attachments | public | 2017-12-16 17:33 | 2018-02-04 07:03 |
Reporter | mbrillante | Assigned To | atrol | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 2.9.0 | ||||
Summary | 0023737: Cannot download or view attachments | ||||
Description | I have tried both DISK and DATABASE options and in both cases the attachment is saved either in the database or on the disk. I use a windows server 2012 R2 machine. This page isn’t working below my config_inc.php content for attachments and upload
| ||||
Steps To Reproduce | open an issue, | ||||
Tags | No tags attached. | ||||
I found the solution; I had opcache enabled in PHP; as soon as I disabled then the attachment feature worked correctly |
|
my opcache settings were these below [opcache] |
|
I think that I had that enabled for word press |
|
Thanks for telling the solution. |
|
no problem; it would be nice to know if I can use opcache but with different settings |
|
I assume this is a bug in Opcache. |
|
OK I'll try, I am using PHP 7.1.5. I will download the latest and re-enable opcache and etst it. I will keep you posted |
|
I updated my working v2.8.0 to v2.9.0, and now I have the very same problem. As far I can see, I don't have opcache enabled. |
|
Does it mean you get the same error message ?
If not, open a new issue for it. |
|
The very same problem. Using Firefox i have a blank screen. I also updated to latest PHP 7.1.12, but nothing changes. my previosly working MBT cfg params are: # 5.19 File Uploads |
|
Did you
|
|
I ran it and it reported that I miss '\' at the end of $g_absolute_path_default_upload_folder. I changed all present '/' to '\', and now it seems working fine. Thank you |
|
wait... I verified a v2.8.0 link... same bug on v2.9.0 still has the problem |
|
digging around, I enabled 'php_fileinfo.dll' extension into my php.ini, and it seems to solve the problem. I wonder what is changing about between the 2 versions. |
|
Seems you did not follow my instructions
It would have told you the reason for the problem. So your issue is the same like 0023707
https://github.com/mantisbt/mantisbt/commit/5f6292fbabea4de238cb10cb28e3449f71fa8679 |
|
[../check/index.php] I compared the report of the two versions, and I have the same warnings (excluding some security items to verify). In both versions, I had the following: Attachments This put me in the right direction. |
|
... later I have discovered, that using this extension (under Windows) is causing failure on uploading files. Now I rolled back to v2.8.1 that is working fine. |
|