Project

General

Profile

Actions

Bug #22543

closed

Notice: undefined index.... in class.tslib_fe.php

Added by Martin almost 14 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-04-28
Due date:
% Done:

0%

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

Description

In Typo3 4.3.3 some notice warnings if error_reporting is set to E_ALL.

for example:
Notice: Undefined index: disableCharsetHeader in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3374
Notice: Undefined index: sendCacheHeaders_onlyWhenLoginDeniedInBranch in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3457
Notice: Undefined index: additionalHeaders in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3385
Notice: Undefined index: USERNAME_substToken in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3540
Notice: Undefined index: USERUID_substToken in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3545
Notice: Undefined index: prefixLocalAnchors in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3318
Notice: Undefined index: contentPostProc-output in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3424
Notice: Undefined index: enableContentLengthHeader in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3433
Notice: Undefined index: EXTincScript in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3584

Notice: Undefined index: microtime_BE_USER_end in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3606
Notice: Undefined index: microtime_BE_USER_start in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3606
Notice: Undefined index: stat_excludeBEuserHits in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3718
Notice: Undefined index: stat_excludeIPList in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3719
Notice: Undefined index: stat_apache in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3782
Notice: Undefined index: hook_eofe in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3855
Notice: Undefined index: beLoginLinkIPList in typo3_src-4.3.3/typo3/sysext/cms/tslib/class.tslib_fe.php on line 3869

Please correct this. Patch is provided.

(issue imported from #M14243)


Files

patch_tslib_fe_20100428_1.patch (8.75 KB) patch_tslib_fe_20100428_1.patch Administrator Admin, 2010-04-28 19:06
patch_14243_for_trunk.diff (9.92 KB) patch_14243_for_trunk.diff Administrator Admin, 2010-04-29 11:46

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22526: Notice: Undefined index: language_alt in class.tslib_pibase.php on line 223ClosedChristian Kuhn2010-04-27

Actions
Actions #1

Updated by Chris topher almost 14 years ago

Hi Martin,

thank you for this and your other patches!

You now have to send each of them to Core List as explained here:
http://typo3.org/teams/core/core-mailinglist-rules/

Btw: TYPO3 produces thousands of notices. In the past they were not fixed, because they are not shown by default and because this could worsen readability of the code. For the whole discussion see #15025.

Actions #2

Updated by Martin almost 14 years ago

Hi Christopher,

thats right but the notices are shown on pages with Extension "page_php_content" only. Only this 20 notices are shown. At pages with HTML/Text Content no notices are shown. I don't know why!

So i think this 20 notices should be corrected.

Regards Martin

Actions #3

Updated by Francois Suter almost 14 years ago

Hi Martin,

Extension page_php_content is potentially a huge security hole and should be avoided at all costs. If this extension is the only way to reproduce this bug, I'm afraid it's never going to be fixed.

Actions #4

Updated by Benni Mack almost 14 years ago

committed v2 of the patch to trunk (rev. 7497)

Actions #5

Updated by Susanne Moog about 13 years ago

  • Target version deleted (4.4.0)
Actions

Also available in: Atom PDF