Fatal Error - XCache: Cannot init


Since upgrading to v2.3.0, my Dashboard screen states:

A fatal error occurred

The following error just broke Piwik (v2.3.0):

XCache: Cannot init
Unknown line 0

I check my PHP Configuration and it states this:

XCache Version 3.0.3
Modules Built cacher

PHP Version 5.3.28

Configure Command ‘./configure’ ‘–enable-bcmath’ ‘–enable-calendar’ ‘–enable-exif’ ‘–enable-ftp’ ‘–enable-gd-native-ttf’ ‘–enable-intl’ ‘–enable-libxml’ ‘–enable-mbstring’ ‘–enable-pdo=shared’ ‘–enable-soap’ ‘–enable-sockets’ ‘–enable-wddx’ ‘–enable-zend-multibyte’ ‘–enable-zip’ ‘–prefix=/usr/local’ ‘–with-bz2’ ‘–with-curl=/opt/curlssl/’ ‘–with-curlwrappers’ ‘–with-freetype-dir=/usr’ ‘–with-gd’ ‘–with-gettext’ ‘–with-icu-dir=/usr’ ‘–with-imap=/opt/php_with_imap_client/’ ‘–with-imap-ssl=/usr’ ‘–with-jpeg-dir=/usr’ ‘–with-kerberos’ ‘–with-libdir=lib64’ ‘–with-libexpat-dir=/usr’ ‘–with-libxml-dir=/opt/xml2’ ‘–with-libxml-dir=/opt/xml2/’ ‘–with-mcrypt=/opt/libmcrypt/’ ‘–with-mysql’ ‘–with-mysqli’ ‘–with-openssl=/usr’ ‘–with-openssl-dir=/usr’ ‘–with-pcre-regex=/opt/pcre’ ‘–with-pdo-mysql=shared’ ‘–with-pdo-sqlite=shared’ ‘–with-pgsql=/usr’ ‘–with-pic’ ‘–with-png-dir=/usr’ ‘–with-pspell’ ‘–with-sqlite=shared’ ‘–with-tidy=/opt/tidy/’ ‘–with-xmlrpc’ ‘–with-xpm-dir=/usr’ ‘–with-xsl=/opt/xslt/’ ‘–with-zlib’ ‘–with-zlib-dir=/usr’ ‘–with-litespeed’

Server API LiteSpeed V6.6
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/lib
Loaded Configuration File /usr/selector.etc/php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
PHP API 20090626
PHP Extension 20090626
Zend Extension 220090626
Zend Extension Build API220090626,NTS
PHP Extension Build API20090626,NTS
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
Zend Multibyte Support enabled
IPv6 Support enabled
Registered PHP Streams compress.zlib, compress.bzip2, dict, ftp, ftps, gopher, http, https, imap, imaps, pop3, pop3s, rtmp, rtsp, smtp, smtps, telnet, tftp, php, file, glob, data, phar, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters zlib., bzip2., convert.iconv., mcrypt., mdecrypt., string.rot13, string.toupper, string.tolower, string.strip_tags, convert., consumed, dechunk

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright © 1998-2013 Zend Technologies
with XCache v3.0.3, Copyright © 2005-2013, by mOo
with the ionCube PHP Loader v4.4.1, Copyright © 2002-2013, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright © 1998-2010, by Zend Technologies
with Suhosin v0.9.33, Copyright © 2007-2012, by SektionEins GmbH

(Matthieu Aubry) #2

Please disable XCACHE from the Php configuration as it is not compatible with latest PHP and/or Piwik.

see also 301 Moved Permanently