[TYPO3-english] Bizar RTE rendering with v4.5 on PHP5.4

Loek Hilgersom loek at netcoop.nl
Sun Sep 29 18:56:28 CEST 2013


Hi all,

I'm a bit further with debugging this: it's got nothing to do with the RTE: if I 
disable the RTE, the bodytext field remains empty, also if I open another 
tt_content record which does contain text.

If I copy and paste the plain contents from e.g. PhpMyAdmin into the record with 
disabled RTE and save it, then the problem gets solved, that is, for this 
particular record. After that, I can enable the RTE again, open the record, edit 
and save, everything works correctly then. Apparently something gets corrected 
this way, but what?

Tonight further with debugging. Any hints still welcome!

Loek


On 29-09-13 15:02, Loek Hilgersom wrote:
> Hi all,
>
> Last week I upgraded several sites to use PHP 5.4 and today I discovered some
> really weird and problematic behaviour:
>
> In a standart tt_content text record there is this content in the database:
>
> <h3>2013 </h3>
> <i>Werkgroep De Negentiende Eeuw<br /></i>Congres 'Keerpunt 1813', Amsterdam,
> 13-12-2013.
> <hr />
>
> But on the site it comes out as this:
>
> <h3>2013 </h3>
> <p class="bodytext"><i>Werkgroep De Negentiende Eeuw<br /></i><hr />
> </p>
> <p class="bodytext">&nbsp;</p>
>
> Nothing wrong with the tags, but there is a whole line of text missing.
> What's worse is that if you try to edit the record in the BE, you'll see
> nothing, and after saving everything is gone!
>
> First I thought it was something specific for this server (Debian 7, mostly
> standard config), but it turns out my local dev environment (also on PHP 5.4,
> but now Ubuntu) shows the same behaviour. Not with all records, just some.
>
> The only thing I can think of is a PHP 5.4 compatibility issue in the RTE
> transformations and/or rendering. I have not found any related issues yet on
> forge or the lists. Thank you for any pointers!
>
> Loek


More information about the TYPO3-english mailing list