Task #32773

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

Added by Sven Burkert over 10 years ago. Updated almost 4 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

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

Actions
#1

Updated by Markus Klein over 10 years ago

Please discard the last line of the description. This issue has not been imported!

Patch is on the way.

#2

Updated by Gerrit Code Review over 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7487

#3

Updated by Gerrit Code Review over 10 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/7487

#4

Updated by Sven Burkert over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#5

Updated by Gerrit Code Review about 10 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/12083

#6

Updated by Gerrit Code Review about 10 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/12084

#7

Updated by Sven Burkert about 10 years ago

  • Status changed from Under Review to Resolved
#8

Updated by Gerrit Code Review about 10 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/13271

#9

Updated by Nicole Cordes over 9 years ago

  • Status changed from Under Review to Resolved

The latest patch doesn't exits anymore.

#10

Updated by Benni Mack almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF