There is an error. Please report the message (Piwik 1.11.1) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).
Warning: htmlspecialchars() [<a href='function.htmlspecialchars'>function.htmlspecialchars</a>]: Invalid multibyte sequence in argument in /home/www/piwik/core/DataTable/Filter/SafeDecodeLabel.php on line 53
Backtrace -->
#0 Piwik_ErrorHandler(...) called at [:]
#1 htmlspecialchars(...) called at [/home/www/piwik/core/DataTable/Filter/SafeDecodeLabel.php:53]
#2 Piwik_DataTable_Filter_SafeDecodeLabel::safeDecodeLabel(...) called at [/home/www/piwik/core/DataTable/Filter/SafeDecodeLabel.php:70]
#3 Piwik_DataTable_Filter_SafeDecodeLabel->filter(...) called at [/home/www/piwik/core/DataTable.php:387]
#4 Piwik_DataTable->filter(...) called at [/home/www/piwik/core/DataTable.php:414]
#5 Piwik_DataTable->applyQueuedFilters(...) called at [/home/www/piwik/core/API/ResponseBuilder.php:300]
#6 Piwik_API_ResponseBuilder->handleDataTable(...) called at [/home/www/piwik/core/API/ResponseBuilder.php:78]
#7 Piwik_API_ResponseBuilder->getResponse(...) called at [/home/www/piwik/core/API/Request.php:129]
#8 Piwik_API_Request->process(...) called at [/home/www/piwik/core/ViewDataTable.php:431]
#9 Piwik_ViewDataTable->loadDataTableFromAPI(...) called at [/home/www/piwik/core/ViewDataTable/HtmlTable.php:80]
#10 Piwik_ViewDataTable_HtmlTable->main(...) called at [/home/www/piwik/plugins/Actions/Controller.php:464]
#11 Piwik_Actions_Controller->configureGenericViewActions(...) called at [/home/www/piwik/plugins/Actions/Controller.php:406]
#12 Piwik_Actions_Controller->configureViewActions(...) called at [/home/www/piwik/plugins/Actions/Controller.php:46]
#13 Piwik_Actions_Controller->getPageUrls(...) called at [:]
#14 call_user_func_array(...) called at [/home/www/piwik/core/FrontController.php:136]
#15 Piwik_FrontController->dispatch(...) called at [/home/www/piwik/index.php:52]
To fix the problem edit SafeDecodeLabel.php and replace line 53 :
$value = htmlspecialchars($value, $style, ‘UTF-8’);
by
$value = htmlspecialchars($value, $style);
UTF-8 charset wasn’t forced in last release
Don’t forget to report the fix on 1.1.12
I’ve got the same error on RedHat5.9 which provides PHP 5.1.6 (of course fully patched with security fixes).
There IS actually an RPM upgrade option to PHP5.3 but this involves a complete uninstall of PHP5.1 (with an unsure outcome regarding dependencies, haven’t tested that yet).
For now (and near future) i’d be glad to have 5.1 still supported in Piwik. And i’ll bet i’m not the only one.
Why upgrading hardware server ? LAMP can work smoothly on a P2 633Mhz/256Mo RAM… no xeon needed with some gigs of ram
Everything is working fine on this server… PHP 5.4.4-14 now… For me, it will be “downgrading” (when I see your 5.2.1), not upgrading… But this downgrade can solve the problem, yeah
beleoko, that’s not the point.
RHEL 5.x is still widely used (7 years of support). As nice as it’d be, i have not the option of producing downtime right now. This is a huge installation where people rely on availability, not my own, personal site.