[TYPO3-core] RFC #6415: Bug: preg_replace error on php5.2 sometimes resulting in empty pages.

Ingo Renner ingo at typo3.org
Wed Dec 3 18:23:17 CET 2008


Martin Kutschker wrote:
> Francois Suter schrieb:
>> Hi,
>>
>>> I've reviewed this bug report again during the October Bug Day. New
>>> remarks have been added recently to the bugtracker entry, but they
>>> point to other problems. I think we should get this patch committed
>>> and the other problems can be solved with another patch.
>> I've had this bug happening on a 4.1 install too, so I would recommend
>> applying this patch to the 4_1 branch too. Attached is a patch for that
>> branch.
>>
>> I have also slightly modified the patch proposed before to rename a
>> variable that didn't use camel case.
> 
> Comitted to TYPO3_4-1, TYPO3_4-2 and trunk. For trunk I have removed the
> check for preg_last_error() as it required PHP 5.2.

couldn't see it here: 
http://forge.typo3.org/repositories/diff/typo3v4-core/trunk/typo3/sysext/cms/tslib/class.tslib_fe.php?rev=4533

so I just removed the function_exists() call...
http://forge.typo3.org/repositories/diff/typo3v4-core/trunk/typo3/sysext/cms/tslib/class.tslib_fe.php?rev=4534


best
Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2


More information about the TYPO3-team-core mailing list