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 #1

Updated by Markus Klein over 12 years ago

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

Patch is on the way.

Actions #2

Updated by Gerrit Code Review over 12 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

Actions #3

Updated by Gerrit Code Review over 12 years ago

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

Actions #4

Updated by Sven Burkert over 12 years ago

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

Updated by Gerrit Code Review almost 12 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

Actions #6

Updated by Gerrit Code Review almost 12 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

Actions #7

Updated by Sven Burkert almost 12 years ago

  • Status changed from Under Review to Resolved
Actions #8

Updated by Gerrit Code Review over 11 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

Actions #9

Updated by Nicole Cordes about 11 years ago

  • Status changed from Under Review to Resolved

The latest patch doesn't exits anymore.

Actions #10

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF