What a solution!!!
Thank you very much Torsten Gries!
You have resolved my problem. You saved my days.
Yohanes
Torsten Gries said:
Hi, I got the same issue but I solved it for my own purpose like this:
The affected files are "k2category.php" and "k2item.php" in .../administrator/components/com_k2/tables/
and "route.php" in .../components/com_k2/helpers/.
Modifications - commenting out the lines with mb_regex and mb_ereg... as shown...
@ route.php, lines 56 & 59:
mb_internal_encoding("UTF-8");
// mb_regex_encoding("UTF-8");
$alias = trim(mb_strtolower($user->name));
$alias = str_replace('-', ' ', $alias);
// $alias = mb_ereg_replace('
:space:+', ' ', $alias);
@ k2category.php, lines 50 & 53:
mb_internal_encoding("UTF-8");
// mb_regex_encoding("UTF-8");
$this->alias = trim(mb_strtolower($this->alias));
$this->alias = str_replace('-', ' ', $this->alias);
// $this->alias = mb_ereg_replace('
:space:+', ' ', $this->alias);
@ k2item.php, lines 75 & 78:
mb_internal_encoding("UTF-8");
// mb_regex_encoding("UTF-8");
$this->alias = trim(mb_strtolower($this->alias));
$this->alias = str_replace('-', ' ', $this->alias);
// $this->alias = mb_ereg_replace('
:space:+', ' ', $this->alias);
This modifications are really nonprofessional but they work for me very fine!
I'm no php expert - the above is the result of "try and error" analysis. But as far as I can interprete the codes, the disabled functions seem to have something to do with title/url encoding. I tested some german special characters without recognizing faults.
I can't estimate, whether they affect any other malfunction inside the k2 component - the future will show.
Remember: please make a backup before you apply this modifications :-)
Have fun!
Torsten