I’m trying to get Piwik-2.1.0 running on a hand-configured PHP-5.5.10 install (as an alternative PHP setup next to the pre-configured PHP-5.3 that comes with Plesk).
I have configured PHP-5.5.10 with following options:
The solution for now is to enabel mbstring extensio in your PHP. Maybe in the next release we can put a fix but I recommend to enable mbstring for now.
The following error just broke Piwik (v2.1.0):
Call to undefined function Piwik\DataAccess\gzcompress()
in
${pathToPiwikInstall}/piwik/core/DataAccess/ArchiveWriter.php line 138
Yet, this seems to happen, too, when I rebuild without the --enable-mbstring option. Strange. Am I missing something?
Is your system check Green in Settings>System check?
because zlib should already be marked as “required” so this error should not happen
Hmm, can’t even get there: all I get is an error page (see screenshot). Do you mean that zlib should be enabled by default in PHP? I’m puzzled by the fact that I didn’t have the error before, but now it remains even if I compile PHP with the options from my first post…
A nice example of regenerative technology: all of a sudden, Piwik got through, still reporting the undefined gzcompress() function in the widgets. But I could check the system settings, which told me that my PHP version had been configured without zlib. So I could finally try your first suggestion for my original issue (enabling mbstring), and can confirm that Piwik 2.1 runs with following PHP configuration options: