Bug #32815
closedSearch error in 4.7.0 alpha2 Introduction Package
100%
Description
After clean installation of Introduction Package 4.7.0 alpha 2 through the 1-2-3-4 tool the whole site is working but when I'm trying to search for anything in the search box it throws an error (the bottom part of text). The 4.6.3 Introduction Package searchbox works without problem. I'm using WAMP installation from wampserver.com. For both x32 and x64 installations of local web server if gives the same result - the search is working in the 4.6.3 introduction package and gives an error in 4.7.0 alpha2.
I've submitted this situation to the typo3-team-bugs mail list. It was confirmed and it was recommended to open a new bug issue.
The error message is:
---------------------
@
#1283790586: There is no entry in the $TCA array for the table
"index_config". This means that the function enableFields() is called
with an invalid table name as argument. (More information)
InvalidArgumentException thrown in file
D:\wamp\www\t3lib\class.t3lib_page.php in line 1049.
11 t3lib_pageSelect::enableFields("index_config", 0)
D:\wamp\www\typo3\sysext\cms\tslib\class.tslib_content.php:
07116: $table,
07117: $show_hidden ? $show_hidden : ($table == 'pages' ? $GLOBALS['TSFE']->showHiddenPage : $GLOBALS['TSFE']->showHiddenRecords)
07118: );
07119: }
07120:
10 tslib_cObj::enableFields("index_config")
D:\wamp\www\typo3\sysext\indexed_search\pi\class.tx_indexedsearch.php:
00241: if ($this->conf['search.']['defaultFreeIndexUidList']) {
00242: $uidList = t3lib_div::intExplode(',', $this->conf['search.']['defaultFreeIndexUidList']);
00243: $indexCfgRecords = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('uid,title','index_config','uid IN ('.implode(',',$uidList).')'.$this->cObj->enableFields('index_config'),'','','','uid');
00244:
00245: foreach ($uidList as $uidValue) {
9 tx_indexedsearch::initialize()
D:\wamp\www\typo3\sysext\indexed_search\pi\class.tx_indexedsearch.php:
00114:
00115: // Initialize:
00116: $this->initialize();
00117: // Do search:
00118: // If there were any search words entered...
8 tx_indexedsearch::main("", array)
7 call_user_func_array(array, array)
D:\wamp\www\typo3\sysext\cms\tslib\class.tslib_content.php:
06434: ), array(
06435: $content, $conf
06436: ));
06437: } else {
06438: $GLOBALS['TT']->setTSlogMessage('Method "' . $parts1 . '" did not exist in class "' . $parts0 . '"', 3);
6 tslib_cObj::callUserFunction("tx_indexedsearch->main", array, "")
D:\wamp\www\typo3\sysext\cms\tslib\content\class.tslib_content_user.php:
00048: }
00049: $this->cObj->includeLibs($conf);
00050: $tempContent = $this->cObj->callUserFunction($conf['userFunc'], $conf, '');
00051: if ($this->cObj->doConvertToUserIntObject) {
00052: $this->cObj->doConvertToUserIntObject = FALSE;
5 tslib_content_User::render(array)
D:\wamp\www\typo3\sysext\cms\tslib\class.tslib_content.php:
00751: return $this->getContentObject('USER_INT')->render($conf);
00752: } else {
00753: return $this->getContentObject('USER')->render($conf);
00754: }
00755: }
4 tslib_cObj::USER
D:\wamp\www\typo3\sysext\cms\tslib\class.tslib_fe.php:
03230: break;
03231: case 'FUNC':
03232: $incContent = $INTiS_cObj->USER;
03233: break;
03234: case 'POSTUSERFUNC':
3 tslib_fe::INTincScript_process(array)
D:\wamp\www\typo3\sysext\cms\tslib\class.tslib_fe.php:
03167: $INTiS_config = $this->config['INTincScript'];
03168: $this->INTincScript_includeLibs($INTiS_config);
03169: $this->INTincScript_process($INTiS_config);
03170: // Check if there were new items added to INTincScript during the previous execution:
03171: $INTiS_config = array_diff_assoc($this->config['INTincScript'], $INTiS_config);
2 tslib_fe::INTincScript()
D:\wamp\www\typo3\sysext\cms\tslib\index_ts.php:
00397: if ($TSFE->isINTincScript()) {
00398: $TT->push('Non-cached objects','');
00399: $TSFE->INTincScript();
00400: $TT->pull();
00401: }
1 require("D:\wamp\www\typo3\sysext\cms\tslib\index_ts.php")
D:\wamp\www\index.php:
00076: // **********
00077:
00078: require (PATH_tslib.'index_ts.php');
00079:
00080: ?>
@
Updated by Steffen Gebert almost 13 years ago
- Category set to Indexed Search
- Status changed from New to Accepted
- Priority changed from Should have to Must have
- Target version set to 4.7.0
Can reproduce this. I don't know, if its Intro-Package config or indexed_search itself.
Updated by Steffen Ritter over 12 years ago
- Target version changed from 4.7.0 to 4.7.0-beta3
Updated by Chris Müller over 12 years ago
I can confirm this with 4.7.0 final release. It's a pity, that indexed search now isn't usable.
Updated by Björn Pedersen over 12 years ago
Looking at the code, it seems like the TCA is only added correctly, if crawler is loaded before index_search ( see ext_tables.php, ext_localconf.php).
Updated by Gerrit Code Review over 12 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11145
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11145
Updated by Gerrit Code Review over 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/11145
Updated by Gerrit Code Review over 12 years ago
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/11198
Updated by Steffen Ritter over 12 years ago
- Target version changed from 4.7.0-beta3 to 4.7.1
Updated by Felix Kopp over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 505855aeacdc1364425611e6ac2a28e74c96b122.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed