Fatal error after update 1.2 > 1.2.1

Hello.

Following error since autoupdate from 1.2 to 1.2.1


PHP Fatal error:  Call to undefined function _readfile() in .../core/Piwik.php on line 758

your copy of libs/upgradephp/upgrade.php doesn’t appear to have been updated

after the autoupdate i updated all files via ftp, but still the same error

i think it’s beacause of the gzipped version of the piwik.js. we are using this on every site. i deactivated it and there are no more errors.

is this possible?

Call to undefined function _readfile() in …/core/Piwik.php on line 758
Error only if the gzipped version of piwik.js is used.

758:


if(!_readfile($file))

changed to


if(!readfile($file))

now it’s working. can anyone confirm this?

Oh I see. Thanks. Fix is here: http://dev.piwik.org/trac/changeset/4135