The libsparkline-php dependency is missing. This is why the sparklines
are broken. But even after installing it, it fails to load...
After copying the Sparkline.php file in place from the "squeeze"
library, I get this error:
Warning: require_once(Object.php): failed to open stream: Aucun fichier ou dossier de ce type in /usr/share/piwik/core/ViewDataTable/Sparkline.php on line 24
Backtrace -->
#0 Piwik_ErrorHandler(...) called at [/usr/share/piwik/core/ViewDataTable/Sparkline.php:24]
#1 require_once(...) called at [/usr/share/piwik/core/ViewDataTable/Sparkline.php:24]
#2 require_once(...) called at [/usr/share/piwik/core/Loader.php:72]
#3 Piwik_Loader::loadClass(...) called at [/usr/share/piwik/core/Loader.php:109]
#4 Piwik_Loader::autoload(...) called at [:]
#5 spl_autoload_call(...) called at [/usr/share/piwik/core/ViewDataTable.php:229]
#6 Piwik_ViewDataTable::factory(...) called at [/usr/share/piwik/core/Controller.php:166]
#7 Piwik_Controller->getLastUnitGraph(...) called at [/usr/share/piwik/plugins/MultiSites/Controller.php:225]
#8 Piwik_MultiSites_Controller->getEvolutionGraph(...) called at [:]
#9 call_user_func_array(...) called at [/usr/share/piwik/core/FrontController.php:138]
#10 Piwik_FrontController->dispatch(...) called at [/usr/share/piwik/index.php:53]
The problem is that we are symlinking files that are not related in
debian/rules.
usr/share/php/sparkline/Sparkline.php usr/share/piwik/core/ViewDataTable/Sparkline.php
usr/share/php/sparkline/Sparkline.php usr/share/piwik/core/Visualization/Sparkline.php
Those two files are *not* the same, and they are not part of the
sparkline package. There is a similar problem with a bunch of links
around.
usr/share/php/HTMLPurifier.php usr/share/piwik/core/HTMLPurifier.php
I have made a patch to remove those packages, can I just push it to the
repository?
Also, note that reinstalling the package destroys the config.inc.php
file, because it is being written to /usr/share/piwik/config instead of
/etc/piwik...
A.
--
Arrêtez les bombardements | Stop the bombings | Pare los bombardeos
Arrêtez le génocide | Stop the genocide | Pare los genocide
Anti-guerre | Anti-war | Contra guerra
Attachment:
pgpzXIeOO0tnr.pgp
Description: PGP signature