Project

General

Profile

Actions

Bug #19020

closed

calls to ini_set produces warnings

Added by Jan Bednarik almost 16 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-06-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

There's a bunch of places in the source codes that call the ini_set() method. This method can be disabled by PHP configuration. When disabled, call to this function produces warning message, that is outputted to a browser.

Result is that e.g. the click menu in BE is not working, warning is shown in the BE (because of ini_set in t3lib_db when pconnect is enabled) etc.

Click menu is not working, because (free translation from czech of the Firefox debug message):

Error: Non-sense after the root element of the document:
Source: http://example.com/typo3/alt_clickmenu.php?table=pages&uid=0&listFr=0&enDisItems=&backPath=%7C8e4b633336&addParams=&amp%3Bbank=0&ajax=1
Line: 2, Column: 1
Source:
<b>Warning</b>: ini_set() has been disabled for security reasons in <b>...\www\typo3\alt_clickmenu.php</b> on line <b>174</b><br />

(issue imported from #M8826)


Files

8826.diff (2.33 KB) 8826.diff Administrator Admin, 2008-08-20 11:57
Actions #1

Updated by Dmitry Dulepov over 15 years ago

You have bad setting for displayErrors in Install tool. By default TYPO3 will mask these warnings.

Actions

Also available in: Atom PDF