Zum Inhalt springen

tt_news plugin - weise Seite -

Erstellt am 22. August 2007 · 4 Antworten · letzte Antwort am 26. August 2007

Tags: tt_news, Frage

franky19721 ·

Hallo,

ich hab folgendes Problem :

Wenn ich ein Plugin "News" als Seiteninhalt einfüge, und dann speichere bekomme ich ne weiße seite angezeigt.

klicke ich dann wieder auf die seite mit dem plugin ist dieses mind. 1 bis 3 mal eingefügt worden.

wenn ich nun das plugin bearbeiten will kommt wieder nur eine weiße seite.

die news werden aber angezeigt über FE aber ohne filterkriterien...

weis einer von euch rat ?

Typo 4.0 und tt_news 2.5.0 sind im Einsatz

franky19721 ·

Hallo,

hab das Problem selbst gelöst ...

Es gibt dafür ein Patch auf www.typo3.org
hier der link http://bugs.typo3.org/view.php?id=4779

Und hier der Code aus dem Pach :

****************
--- class.t3lib_div.php.org 2006-12-20 13:38:16.000000000 +0100
+++ class.t3lib_div.php 2007-01-12 23:24:00.000000000 +0100
@@ -2081,7 +2081,7 @@
} else { // Just a value:

// Look for binary chars:
- if (strcspn($v,$binaryChars) != strlen($v)) { // Go for base64 encoding if the initial segment NOT matching any binary char has the same length as the whole string!
+ if ($v != null && strcspn($v,$binaryChars) != strlen($v)) { // Go for base64 encoding if the initial segment NOT matching any binary char has the same length as the whole string!
// If the value contained binary chars then we base64-encode it an set an attribute to notify this situation:
$content = chr(10).chunk_split(base64_encode($v));
$attr.=' base64="1"';

***************
Danach läuft alles

franky19721 ·

Hallo Du musst die Datei class.t3lib_div.php runterladen ( ist im Verzeichnis typo3/t3lib/ )

und dort musst Du eigentlich nur die Zeile 2081 dort ändern auf :
if ( $v!= null && strcspn($v,$binaryChars) != strlen($v)) {

die änderung ist $v!= null &&

hoffe das hilft...

😉