View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011117 | mantisbt | attachments | public | 2009-11-03 15:58 | 2010-02-22 14:35 |
Reporter | watergad | Assigned To | vboctor | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.0rc2 | ||||
Fixed in Version | 1.2.0 | ||||
Summary | 0011117: Unable to get files attached to ALL_PROJECTS | ||||
Description | When trying to download files attached to ALL_PROJECTS there's a WARNING 403 first, error "...headers are already sent..." then, file binary data then and then Fatal error caused by oversizing mem allocation for the file output. 'DISK' storage method. I suppose 'FTP' method has to be affected too. | ||||
Steps To Reproduce |
| ||||
Additional Information | This error caused by the line 203 of the file_api.php: $t_path = project_get_field( $p_project_id, 'file_path' ); project_cache_row() will always return 'false' for the ALL_PROJECT id (see line 66 of project_api.php) what causes error trigger in project_get_field(). Warning output breaks the following file output. Error trace: What to do: // $t_path = project_get_field( $p_project_id, 'file_path' ); // with: // That will fix the problem | ||||
Tags | No tags attached. | ||||
MantisBT: master-1.2.x 0b7510c0 2009-11-04 23:03 Details Diff |
Fixes 0011117: Unable to get files attached to ALL_PROJECTS - thanks to watergad. |
Affected Issues 0011117 |
|
mod - core/file_api.php | Diff File | ||
MantisBT: master e580d34c 2009-11-04 23:03 Details Diff |
Fixes 0011117: Unable to get files attached to ALL_PROJECTS - thanks to watergad. |
Affected Issues 0011117 |
|
mod - core/file_api.php | Diff File |