Project

General

Profile

Actions

Task #32773

closed

fe_adminLib.inc crashes on 5.3 because usage of preg_spliti()

Added by Sven Burkert over 12 years ago. Updated over 5 years ago.

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #21776: fe_adminLib.inc crashes on 5.3 because usage of split()ClosedSteffen Kamper2009-12-02

Actions
Actions

Also available in: Atom PDF