Bug #22543
closedNotice: undefined index.... in class.tslib_fe.php
0%
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
Updated by Chris topher over 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.
Updated by Martin over 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
Updated by Francois Suter over 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.
Updated by Benni Mack over 14 years ago
committed v2 of the patch to trunk (rev. 7497)