View Issue Details

IDProjectCategoryView StatusLast Update
0003464Composrcorepublic2017-12-24 15:33
ReporterChris GrahamAssigned ToChris Graham 
Severityfeature 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0003464: Major incompatibility with PHP 5.1 & PHP 5.2
DescriptionUnfortunately 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 InformationThese 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.
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2017-12-24 15:33

administrator  

files.php (32,820 bytes)

Issue History

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