View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003464 | Composr | core | public | 2017-12-24 15:33 | 2017-12-24 15:33 |
| Reporter | Chris Graham | Assigned To | Chris Graham | ||
| Severity | Feature-request | ||||
| Status | resolved | Resolution | fixed | ||
| Product Version | |||||
| Fixed in Version | |||||
| Summary | 0003464: Major incompatibility with PHP 5.1 & PHP 5.2 | ||||
| Description | Unfortunately a bug came in with the latest 2 patch releases, causing incompatibility with PHP 5.1 & PHP 5.2, which we do support. It's because I did not realise that in older PHP versions, for *some* PHP functions, passing extra parameters not supported in that PHP version will cause an error (usually they are just ignored). This caused an error with an optimisation made for use of the clearstatcache, making use of a parameter introduced in PHP 5.3. Attached is a fix for sources/files.php. Just upload this file after upgrading and it should be fine. | ||||
| Additional Information | These PHP versions are not actually supported by the PHP developers anymore, with the minimum supported version being PHP 5.6. So you should look to upgrade PHP anyway. That's not an excuse for the bug, just an observation worth adding. | ||||
| Tags | No tags attached. | ||||
| Time estimation (hours) | |||||
| Sponsorship open | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2017-12-24 15:33 | Chris Graham | New Issue | |
| 2017-12-24 15:33 | Chris Graham | File Added: files.php | |
| 2017-12-24 15:33 | Chris Graham | Status | non-assigned => resolved |
| 2017-12-24 15:33 | Chris Graham | Resolution | open => fixed |
| 2017-12-24 15:33 | Chris Graham | Assigned To | => Chris Graham |