Issue Bug Closed

#19020calls to ini_set produces warnings

Jan Bednarik 06/25/08, 22:03 updated 07/02/10, 11:19

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:
Warning: ini_set() has been disabled for security reasons in …\www\typo3\alt_clickmenu.php on line 174

(issue imported from #M8826)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.