Project

General

Profile

Actions

Bug #32815

closed

Search error in 4.7.0 alpha2 Introduction Package

Added by Alex no-lastname-given over 12 years ago. Updated over 6 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Steffen Gebert over 12 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.

Actions #2

Updated by Steffen Ritter about 12 years ago

  • Target version changed from 4.7.0 to 4.7.0-beta3
Actions #3

Updated by Chris Müller about 12 years ago

I can confirm this with 4.7.0 final release. It's a pity, that indexed search now isn't usable.

Actions #4

Updated by Björn Pedersen almost 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).

Actions #5

Updated by Gerrit Code Review almost 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

Actions #6

Updated by Gerrit Code Review almost 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

Actions #7

Updated by Gerrit Code Review almost 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

Actions #8

Updated by Gerrit Code Review almost 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

Actions #9

Updated by Steffen Ritter almost 12 years ago

  • Target version changed from 4.7.0-beta3 to 4.7.1
Actions #10

Updated by Felix Kopp almost 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #11

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF