Piwik

From Ever changing code
Revision as of 20:05, 24 November 2013 by Pio2pio (talk | contribs) (Created page with "Error after adding Pwiki extension ... Warning: require_once( /extensions/piwik/Piwik.php) [function.require-once]: failed to open stream: No such file or directory in /hom...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Error after adding Pwiki extension ...

Warning: require_once( /extensions/piwik/Piwik.php) [function.require-once]: failed to open stream: No such file or directory in /home/pio2pio/domains/pio2pio.vot.pl/public_html/wiki2/LocalSettings.php on line 141

Fatal error: require_once() [function.require]: Failed opening required ' /extensions/piwik/Piwik.php' (include_path='.:/usr/local/php5.3/lib/php') in /home/pio2pio/domains/pio2pio.vot.pl/public_html/wiki2/LocalSettings.php on line 141

Lines added to /home/pio2pio/public_html/wiki2/LocalSettings.php at the end of the file as per Piwik Integration extension.

# Add more configuration options below.
require_once(" /extensions/piwik/Piwik.php" );
$wgPiwikURL = "piwik.linuxpl.com/";
$wgPiwikIDSite = "6763";

Admin direct reports: PHP 5.2.17 version the same as: <?php phpinfo(); ?>. But Wikimedia special pages claims version 5.3.17 Special:Version

I found following on the Piwik forum: "Tell your hosting provider to use php_value to set the PHP include path. Piwik needs to set the include path so that Zend Framework files can be found. Your hosting provider uses php_admin_value to set the PHP include path. As of PHP 5.2.5, this cannot be overridden by a php_value setting in your .htaccess file or by a PHP script, such as Piwik."