[TYPO3-dev] [TYPO3-core] RFC: #8049, #8157: fixing t3editor IE issues
Tobias Liebig
mail_news at etobi.de
Wed Apr 23 09:34:06 CEST 2008
Am Dienstag, den 22.04.2008, 23:27 +0200 schrieb Helmut Hummel:
> Ingo Renner wrote:
> > Helmut Hummel wrote:
> >
> > Hi Helmut,
> >
> >> Now t3editor is completly unsable for me, because the Ajax saving
> >> seems to be broken. It ends up in the dimmed screen with the rotating
> >> circle.
> >
> > did you clear the browser cache?
>
> Yes! there is another problem I just found readig the php log:
>
> json_encode() is used, which was introduced in PHP 5.2:
>
> Call to undefined function json_encode() in class.tx_t3editor.php
thanks for finding this bug and the hind on t3lib_div::array2json
> I know that the official minimum requrement for TYPO3 4.2 is PHP 5.2, but afaik,
> we agreed, that inofficialy we do not require more than PHP 5.1.?
>
> After changing this function call to t3lib_div::array2json everything worked
> fine on my php 5.1 machine...
other also reported this bug, but i never could reproduce it. Now i know
why :-)
> Will you fix this nobrainer, or shall I make a RFC in corelist?
>
> btw. for 4.3 t3editor should use the great ajax class, that was introduced,
> shouldn't it?
when i started implementing the editor there was no "ajax class". Beside
that i want to use exacly the code used when saving without the editor,
to make sure everything works equal (Saving, TCE processing, ClearCache)
and avoid duplicating code
regards
tobias
More information about the TYPO3-dev
mailing list