Project

General

Profile

Actions

Bug #24169

closed

Exception in Core during installation of new system extensions in 4.4

Added by Ralle Büchnitz almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-11-23
Due date:
% Done:

0%

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

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

16523_v1.patch (869 Bytes) 16523_v1.patch Administrator Admin, 2010-11-24 17:38

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #24866: implode() issues in Install ToolClosedSteffen Gebert2011-01-28

Actions
Actions #1

Updated by Chris topher almost 14 years ago

Could you please provide a patch for this issue?

Actions #2

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)

Actions #3

Updated by Steffen Gebert almost 14 years ago

Fixed with #24866

Actions

Also available in: Atom PDF