Bug #24169
closedException in Core during installation of new system extensions in 4.4
0%
Description
I get the following error in the install tool (Look additional information field).
I was trying to install new system extensions like recycler. Actually the update seems to work, as the selected extensions are installed. Only the result page didn't show up.
I assume the 'result'-page is trying to implode something that is not an array. Should be a no brainer, as the update works ;)
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1: PHP Warning: implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed in /html/typo3/typo3_src-4.4.4/typo3/sysext/install/mod/class.tx_install.php line 6623 | t3lib_error_Exception thrown in file /html/typo3/typo3_src-4.4.4/t3lib/error/class.t3lib_error_errorhandler.php in line 106
09:29:54 . . Sys! . Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1: PHP Warning: implode() [<a href='function.implode'>function.implode</a>]: Invalid arguments passed in /html/typo3/typo3_src-4.4.4/typo3/sysext/install/mod/class.tx_install.php line 6623 | t3lib_error_Exception thrown in file /html/typo3/typo3_src-4.4.4/t3lib/error/class.t3lib_error_errorhandler.php in line 106
(issue imported from #M16523)
Files
Updated by Chris topher almost 14 years ago
Could you please provide a patch for this issue?
Updated by Ralle Büchnitz almost 14 years ago
I think the variable $databaseQueries needs to be initialized as an array. Otherwise implode won't work, as it expects an array as second pararmeter.
So I created and added a patch for that.
For testing you need to take care of the following options during update in install tool:
if ($this->INSTALL['update']['showDatabaseQueries']) { ... }
This condition also prevents the "dirty" initialization of $databaseQueries as an array. (See source)