Joomla! Forum Schweiz wird Teil der D-A-CH Community

Nach vielen Jahren als zentrale Anlaufstelle für Fragen rund um Joomla! in der Schweiz wird das Joomla! Forum Schweiz künftig als Archiv weitergeführt.

Die Joomla!-Communities aus Deutschland, Österreich und der Schweiz arbeiten heute enger denn je zusammen. Deshalb bündeln wir künftig auch den deutschsprachigen Support und Austausch an einem gemeinsamen Ort im Joomla! D-A-CH Forum.

Für neue Fragen, Diskussionen und den Austausch mit der Community nutzt bitte ab sofort:

forum.joomla.de

Das Joomla! Forum Schweiz bleibt weiterhin bestehen und wird als Archiv im Lesemodus erhalten. Die vielen Beiträge, Lösungen und Erfahrungen aus den vergangenen Jahren bleiben damit weiterhin zugänglich und über die Suche auffindbar.

Wir bedanken uns herzlich bei allen Mitgliedern, Moderatoren und Helfern, die das Schweizer Joomla! Forum über viele Jahre mit ihrem Wissen und ihrem Engagement geprägt haben.

Wir sehen uns im Joomla! D-A-CH Forum!

String functions are overloaded by mbstring

  • Snake77
  • Autor
  • Neues Mitglied
  • Neues Mitglied
Mehr
13 Aug. 2008 15:10 #15893 von Snake77
String functions are overloaded by mbstring wurde erstellt von Snake77
Hi Leute!
War lange nicht mehr hier, schöne grüße an alle die mich noch kennen!
So, nach jahrelanger Pause wollte ich mir heute mal wieder Joomla angucken.
Also, aktuelle Version (Joomla_1.5.6-Stable-Full_Package) runtergeladen, entpackt und rauf auf den Server.
Nun bekomme ich beim Aufruf der Seite (bin also noch garnicht zu Installation gekommen) folgende Fehlermeldung:
Fatal error: String functions are overloaded by mbstring in ......../libraries/phputf8/utf8.php on line 39
Für Hilfe wäre ich dankbar.
Gruß
Snake77
  • Sam Fisher
  • Neues Mitglied
  • Neues Mitglied
Mehr
13 Aug. 2008 15:16 #15894 von Sam Fisher
Hallo !
Das hat irgend etwas mit der PHP-Konfiguration zu tun. Du hast eine Möglichkeit, die aber ehrlich gesagt sehr schlecht ist. Du kannst die Datei utf8.php so bearbeiten, dass in der Zeile 39 folgender Inhalt steht:
Code:
if ( extension_loaded('mbstring') && false) {
Dann sollte dieser Codeteil nie weider ausgeführt werden. Wie gesagt, ist aber eine ****** Lösung, ich habe die auch nur asu einem anderen Forum.

Aber im Notfall *g*
Viele Grüße
Sam
Mehr
13 Aug. 2008 21:32 #15910 von Tribal6
How do I deal with UTF-8 issues in Joomla! 1.0.x series?

Many posts raise the issues of using utf-8 in the Joomla! 1.0.x series in spite of Joomla! 1.0.x not supporting utf-8. It is clear that there are community needs for utf-8 in Joomla! 1.0.x otherwise the issue would not come up so often. This article explains the issues of utf-8 in Joomla! 1.0.x series and provides a reasonable workaround for implementing utf-8.

To be fully utf-8 compatible the following needs to be fulfilled:

* The database needs to be utf-8 compliant otherwise there is a danger of data truncation. A 20 character string in utf-8 may be up to 60 bytes long. In a varchar field that is defined as utf-8 with a length of 20 - 20 utf-8 characters can be safely stored. The field adapts to the byte length. In a non-utf-8 database the same varchar (20) field will truncate the string after 20 bytes.
* The connection between the database and the php application needs to have utf-8 encoding otherwise unwanted conversions will occur and data corruption will result.
* Multibyte string functions need to be used when the applied data is encoded as utf-8. Unfortunately PHP's native string functions are not utf-8 aware and can seriously corrupt data (see --ALTER LINK WURDE ENTFERNT-- ). There is an extension package to PHP 4 and 5 that has utf-8 aware string function ('mb_string'). However this extension is not always loaded/installed and the php code needs to be modified to call the appropriate mb_ versions of the string function. (PHP 6 will be fully Unicode and utf-8 aware).
* The HTML page encoding needs to be set to utf-8 (setting charset in the language file)

....die "mb_string" Erweiterung muss auf dem Host-Server installiert sein ;)

Cheers
Roger

Tue das, was du kannst, mit dem was du hast, da wo du bist.
Moderatoren: Tribal6RePaoDragonlordChris Hoefligerpascaleadiheutschi.ch
Powered by Kunena Forum

Joomla! Verband Schweiz - Mitglied werden