Actions
Bug #15791
closedforeach error when installing adodb
Status:
Closed
Priority:
Should have
Assignee:
Category:
Extension Manager
Target version:
-
Start date:
2006-03-09
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When installing adodb, a foreach error is thrown, relating to the suggestions array.
A simple is_array check avoids the problem and is attached as a patch, but I don't know if $conf['constraints']['suggests'] is supposed to be always available as an array.
(issue imported from #M2809)
Files
Updated by Michael Scharkow over 18 years ago
Oops, this should probably be in TER2 bugs, right?
Updated by Karsten Dambekalns over 18 years ago
No, it should be in EM bugs... :)
Updated by Franz Holzinger over 18 years ago
/** * Module: Extension manager * * $Id: index.php,v 1.51.2.11 2006/03/16 19:24:54 k-fish Exp $
Warning: Invalid argument supplied for foreach() in /var/www/html/TYPO3core/typo3/mod/tools/em/index.php on line 3441Call Stack
- Function Location
1 {main}() /var/www/html/TYPO3core/typo3/mod/tools/em/index.php:0
2 SC_mod_tools_em_index->main() /var/www/html/TYPO3core/typo3/mod/tools/em/index.php:4434
3 SC_mod_tools_em_index->importExtFromRep() /var/www/html/TYPO3core/typo3/mod/tools/em/index.php:508
4 SC_mod_tools_em_index->checkDependencies() /var/www/html/TYPO3core/typo3/mod/tools/em/index.php:1193
Call Stack
- Function Location
1 {main}() /var/www/html/TYPO3core/typo3/mod/tools/em/index.php:0
2 SC_mod_tools_em_index->main() /var/www/html/TYPO3core/typo3/mod/tools/em/index.php:4434
3 SC_mod_tools_em_index->importExtFromRep() /var/www/html/TYPO3core/typo3/mod/tools/em/index.php:508
4 SC_mod_tools_em_index->checkDependencies() /var/www/html/TYPO3core/typo3/mod/tools/em/index.php:1193
Call Stack
- Function Location
1 {main}() /var/www/html/TYPO3core/typo3/mod/tools/em/index.php:0
2 SC_mod_tools_em_index->main() /var/www/html/TYPO3core/typo3/mod/tools/em/index.php:4434
3 SC_mod_tools_em_index->importExtFromRep() /var/www/html/TYPO3core/typo3/mod/tools/em/index.php:508
4 SC_mod_tools_em_index->checkDependencies() /var/www/html/TYPO3core/typo3/mod/tools/em/index.php:1193
Extension Manager
Extension import results
Go backSUCCESS: /var/www/html/typo3/ext/xajax/
ext_emconf.php: /var/www/html/typo3/ext/xajax/ext_emconf.php
Updated by Karsten Dambekalns over 18 years ago
I added the suggested check to the code.
Actions