[TYPO3-english] EXT lorem_ipsum with PHP >=5.3; solution: replace 'ereg_replace' with 'preg_replace' in file 'class.tx_loremipsum_wiz.php'

Christopher Torgalson bedlamhotel at gmail.com
Sat Jul 24 20:00:03 CEST 2010


Hi there,

On Sat, Jul 24, 2010 at 9:44 AM, Stephan Kleiber <typo3 at a24cms.com> wrote:
> Hi @all,
>
> this is my first mailing in the list. So i hope it's o.k. to mail a recently
> reported bug including the solution.
>
> EXT lorem_ipsum with PHP >=5.3
>
> If you use the extension 'lorem_ipsum' with PHP >=5.3, there are errors in
> the backend, when a new content element is insertet.
>
> caused by 'ereg_replace' in the file 'class.tx_loremipsum_wiz.php', because
> ereg_replace is deprecated in 5.3
>
> solution is to replace 'ereg_replace' with 'preg_replace' in file
> 'class.tx_loremipsum_wiz.php'
> --> then it works with 5.3
> --> also testet with 5.2.12 ... everything o.k.
>
> i hope, this may save some typo3 beginners some minutes
>
> as this is my first bug report in the bugtracker too, i suppose someone else
> has to put the bugfix into the svn ... can anyone tell me, if i should
> directly contact someone instead?


If the project is listed in the bugtracker, you can report the bug
there and attach a patch file to the report.

-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list