Project

General

Profile

Actions

Bug #24366

closed

PHP warning in any system BE module

Added by Oliver Klee almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-12-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Using today's trunk, I get the following warning in each and every system BE module (Page, List, Recycler, EM, Reports):

PHP Warning
PHP Warning: strstr() [function.strstr]: Empty delimiter in /home/klee/eclipse/typo3_src/t3lib/class.t3lib_extmgm.php line 339

This happens independent of whether a page has been selected in the page tree.

I don't remember seeing this error message two or three days ago.

(issue imported from #M16780)


Files

16780.diff (1.15 KB) 16780.diff Administrator Admin, 2010-12-19 15:06
16780_v2.patch (2.13 KB) 16780_v2.patch Administrator Admin, 2010-12-19 15:55

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #23815: addToAllTCATypes after certain fields does not work anymoreClosedSteffen Kamper2010-10-21

Actions
Related to TYPO3 Core - Bug #24441: [Unit tests] Failing tests in t3lib_extmgmTestClosedSteffen Kamper2010-12-29

Actions
Has duplicate TYPO3 Core - Bug #24368: PHP Warning: strstr() [function.strstr]: Empty delimiter in /home/webmaster/frm2/typo3_src_svn/t3lib/class.t3lib_extmgm.php lineClosed2010-12-20

Actions
Actions #1

Updated by Jo Hasenau almost 14 years ago

It seems that the parameters for strstr have been swapped and nobody noticed it, since the behaviour was fine.
strpos would have been the better choice anyway, so I changed that as well.

Could you check, if the error messages disappear with the following patch?

Actions #2

Updated by Steffen Kamper almost 14 years ago

attached is same patch but also strict comparison.

Actions #3

Updated by Björn Pedersen almost 14 years ago

Patch v2 is working here.

Actions #4

Updated by Oliver Klee almost 14 years ago

This patch fixes the problem for me. +1 by testing.

Actions #5

Updated by Steffen Kamper almost 14 years ago

committed to trunk rev. 9858

Actions #6

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF