Actions
Task #32773
closedfe_adminLib.inc crashes on 5.3 because usage of preg_spliti()
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
easy
Sprint Focus:
Description
I get the error
"_Fatal error: Call to undefined function preg_spliti() in /.../typo3/sysext/cms/tslib/media/scripts/fe_adminLib.inc on line 1494_"
I can't find any documentation of function preg_spliti. PHP version 5.3.8 is used on the server. You are sure this function exists?
Perhaps better use this solution:
- $parts = preg_spliti('<title>|</title>', $content, 3); + $parts = preg_split('/<title>|<\/title>/i', $content, 3);
(issue imported from #M12889)
Actions