You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BugFor errors / faults / flaws / inconsistencies etc.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
Hi Leute,
Seit dem Upgrade von Piwik 1.10 auf Piwik 1.11.1 kommt im Browserfenster eine Warning mit folgendem Backtrace (Ausschnitt):
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!).
Backtrace -->
#0 Piwik_ErrorHandler(...) called at [:] #1 htmlspecialchars(...) called at [/var/www/html/piwik/core/DataTable/Filter/SafeDecodeLabel.php:53] #2 Piwik_DataTable_Filter_SafeDecodeLabel::safeDecodeLabel(...) called at [/var/www/html/piwik/core/DataTable/Filter/SafeDecodeLabel.php:73]
...
...
In der betreffenden Zeile (Datei core/DataTable/Filter/SafeDecodeLabel.php) steht:
$value = htmlspecialchars($value, $style, 'UTF-8');
In der betreffenden Website wird aber ISO-8859-15 Kodierung verwendet, deshalb die Warnung
Ich habe folgenden Workaround gemacht:
$value = @htmlspecialchars($value, $style, 'UTF-8');
if (empty($value)) {
$value = htmlspecialchars($value, $style, 'ISO-8859-15');
}
Knnt Ihr das Encoding variabel auslesen?
Viele Gre
Helmut
Keywords: htmlspecialchars
The text was updated successfully, but these errors were encountered:
BugFor errors / faults / flaws / inconsistencies etc.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
Hi Leute,
Seit dem Upgrade von Piwik 1.10 auf Piwik 1.11.1 kommt im Browserfenster eine Warning mit folgendem Backtrace (Ausschnitt):
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() href='function.htmlspecialchars'>function.htmlspecialchars</a>: Invalid multibyte sequence in argument in /var/www/html/piwik/core/DataTable/Filter/SafeDecodeLabel.php on line 53
Backtrace -->
#0 Piwik_ErrorHandler(...) called at [:]
#1 htmlspecialchars(...) called at [/var/www/html/piwik/core/DataTable/Filter/SafeDecodeLabel.php:53]
#2 Piwik_DataTable_Filter_SafeDecodeLabel::safeDecodeLabel(...) called at [/var/www/html/piwik/core/DataTable/Filter/SafeDecodeLabel.php:73]
...
...
In der betreffenden Zeile (Datei core/DataTable/Filter/SafeDecodeLabel.php) steht:
$value = htmlspecialchars($value, $style, 'UTF-8');
In der betreffenden Website wird aber ISO-8859-15 Kodierung verwendet, deshalb die Warnung
Ich habe folgenden Workaround gemacht:
$value = @htmlspecialchars($value, $style, 'UTF-8');
if (empty($value)) {
$value = htmlspecialchars($value, $style, 'ISO-8859-15');
}
Knnt Ihr das Encoding variabel auslesen?
Viele Gre
Helmut
Keywords: htmlspecialchars
The text was updated successfully, but these errors were encountered: