- Posts: 25
- Thank you received: 0
Kunena 6.2.5 & module Kunena Latest 6.0.7 released
The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
Question [beendet] php error in persönliche Infos
15 years 2 weeks ago - 15 years 1 week ago #1
by mraab
[beendet] php error in persönliche Infos was created by mraab
Wenn ich mir das Profil von Kunena Nutzern ansehen möchte, dann bekomme ich die folgenden Fehler:
Kunena 1.0.8
Joomla 1.5.9
Ist der Fehler bekannt oder schon behoben?
Matthias
Kunena 1.0.8
Joomla 1.5.9
Ist der Fehler bekannt oder schon behoben?
Matthias
Last edit: 15 years 1 week ago by Lintzy.
Please Log in or Create an account to join the conversation.
15 years 2 weeks ago - 15 years 2 weeks ago #2
by Lintzy
Replied by Lintzy on topic Re:php error in persönliche Infos
Das steht in Zeile 1296 der class.kunena.php:
Es hat irgendetwas mit Umlauten zu tun. Und ser Funktion mb_convert_encoding
Lies mal hier: Multibyte muss in der php.ini enabled sein. Aber das sind jetzt von mir Mutmaßungen, bin kein PHP-Crack.
Sieh dir mal deine PHP.info an (im Joomla Backend unter Hilfe /Systeminfo) und frag deinen Hoster wegen mbstring.
Siehe auch hier:
www.kunena.com/forum?func=view&id=5506&catid=4#5506
Code:
function mb_convert_encoding($text,$target_encoding,$source_encoding) {
return $text;}
Es hat irgendetwas mit Umlauten zu tun. Und ser Funktion mb_convert_encoding
Lies mal hier: Multibyte muss in der php.ini enabled sein. Aber das sind jetzt von mir Mutmaßungen, bin kein PHP-Crack.
Sieh dir mal deine PHP.info an (im Joomla Backend unter Hilfe /Systeminfo) und frag deinen Hoster wegen mbstring.
Siehe auch hier:
www.kunena.com/forum?func=view&id=5506&catid=4#5506
Last edit: 15 years 2 weeks ago by Lintzy.
Please Log in or Create an account to join the conversation.
15 years 1 week ago #3
by Lintzy
Replied by Lintzy on topic Re:php error in persönliche Infos
Gibt es nun eine Lösung des Problems?
Please Log in or Create an account to join the conversation.
14 years 10 months ago #4
by mraab
Replied by mraab on topic Re:[beendet] php error in persönliche Infos
Habe den Fehler mit Hilfe von Matias gefunden:
muss ersetzt werden mit:
und alles läuft wieder wie geschmiert.
Vielen Dank für Eure unendliche Mühe und Unterstützung, die Ihr liefert.
Matthias
Code:
if (!function_exists('mb_detect_encoding')) {
// We're on an aged PHP version
function mb_detect_encoding($text) {
return 'UTF-8';
}
function mb_convert_encoding($text,$target_encoding,$source_encoding) {
return $text;
}
}
muss ersetzt werden mit:
Code:
if (!function_exists('mb_detect_encoding')) {
function mb_detect_encoding($text) {
$c=0; $b=0;
$bits=0;
$len=strlen($text);
for($i=0; $i<$len; $i++){
$c=ord($text[$i]);
if($c > 128){
if(($c >= 254)) return 'ISO-8859-1';
elseif($c >= 252) $bits=6;
elseif($c >= 248) $bits=5;
elseif($c >= 240) $bits=4;
elseif($c >= 224) $bits=3;
elseif($c >= 192) $bits=2;
else return 'ISO-8859-1';
if(($i+$bits) > $len) return 'ISO-8859-1';
while($bits > 1){
$i++;
$b=ord($text[$i]);
if($b < 128 || $b > 191) return 'ISO-8859-1';
$bits--;
}
}
}
return 'UTF-8';
}
}
if (!function_exists('mb_convert_encoding')) {
function mb_convert_encoding($text,$target_encoding,$source_encoding=NULL) {
return $text;
}
}
if (!function_exists('mb_substr')) {
function mb_substr($str, $start, $lenght=NULL, $encoding=NULL) {
if ($lenght===NULL) $lenght = strlen($str);
return substr($str, $start, $lenght);
}
}
und alles läuft wieder wie geschmiert.
Vielen Dank für Eure unendliche Mühe und Unterstützung, die Ihr liefert.
Matthias
Please Log in or Create an account to join the conversation.
Time to create page: 0.397 seconds