Bug #32815

Search error in 4.7.0 alpha2 Introduction Package

Added by Alex no-lastname-given almost 10 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Indexed Search
Target version:
Start date:
2011-12-23
Due date:
% Done:

100%

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

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: ?>
@


Related issues

Has duplicate TYPO3 Core - Bug #35210: indexed search errors etc. after updateClosed2012-03-24

Actions

Also available in: Atom PDF