Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 类型3 solr不显示搜索结果_Php_Solr_Typo3_Extbase_Typo3 6.1.x - Fatal编程技术网

Php 类型3 solr不显示搜索结果

Php 类型3 solr不显示搜索结果,php,solr,typo3,extbase,typo3-6.1.x,Php,Solr,Typo3,Extbase,Typo3 6.1.x,我已经成功地用typo3 6.2安装了solr Solr版本4.2 第3版6.2 类型3 solr扩展2.8 索引处理工作正常,因为我在devlog扩展中没有得到任何东西。但问题是,当我试图在前端搜索某个东西时,我得到了这样的错误 Es tut uns leid. Ihre Suchanfrage konnte nicht verarbeitet werden. 在后端typo3 devlog中,我得到一个类似这样的错误 0:异常“Apache_Solr_parserxception”,消息

我已经成功地用typo3 6.2安装了solr

Solr版本4.2
第3版6.2
类型3 solr扩展2.8

索引处理工作正常,因为我在devlog扩展中没有得到任何东西。但问题是,当我试图在前端搜索某个东西时,我得到了这样的错误

 Es tut uns leid. Ihre Suchanfrage konnte nicht verarbeitet werden.
在后端typo3 devlog中,我得到一个类似这样的错误

0:异常“Apache_Solr_parserxception”,消息“Solr response似乎不是有效的JSON,请使用/html/typo3/typo3conf/ext/Solr/lib/solrppclient/Apache/Solr/response.php中的getRawResponse()方法检查原始响应:#0/html/typo3/typo3conf/ext/Solr/lib/solrppclient/response.php中的原始响应(164):Apache_Solr_Response->u parseData()#1/html/typo3/typo3conf/ext/Solr/classes/class.tx_Solr_search.php(365):Apache_Solr_Response->u get('Response')#2/html/typo3/typo3conf/ext/Solr/pi_results/class.tx_Solr_pi_-results->.php(167):tx_Solr_-getNumberOfResults()php(62):tx_solr_pluginbase_pluginbase_commandpluginbase_pluginbase.php(62):tx_solr_pi_results->getCommandList()#4/html/typo3/typo3conf/ext/solr/classes/pluginbase/class.tx_solr_pluginbase->pluginbase.php(106):tx_solr_pluginbase_pluginbase_pluginbase_commandpluginbase_呈现(NULL)#5[内部函数]:tx_solr_pluginbase_pluginbase->main('',数组)#6/html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(6579):调用_user_func数组(数组,数组)#7/html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php(6579):TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction('tx_solr_pi_resu…',Array',)\8/html/TYPO3/TYPO3\TYPO3\src-6.2.4/TYPO3/sysext/Frontend/Classes/ContentObject/ContentObjectRenderer.php(863):TYPO3\CMS\Frontend\ContentObject\UserContentObject->->renderer(Array)#9/html/typo3/typo3#src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3641):typo3\CMS\frontend\ContentObject\ContentObjectRenderer->USER(Array)#10/html/typo3/typo3/typo3#src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3589):TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript_进程(数组)#11/html/TYPO3/TYPO3\TYPO3\src-6.2.4/TYPO3/sysext/Frontend/Classes/Controller/TypoScriptFrontendController.php(3557):TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyreplaceintp占位符sincontent()12/html/typo3/typo3_src-6.2.4/typo3/sysext/cms/tslib/index_ts.php(231):typo3\cms\Frontend\Controller\TypoScriptFrontendController->INTincScript()#13/html/typo3/typo3_src-6.2.4/index.php(28):require('/html/typo3/typo3/typ…)#14{main}

0: exception 'Apache_Solr_ParserException' with message 'Solr response does not appear to be valid JSON, please examine the raw response with getRawResponse() method' in /html/typo3/typo3conf/ext/solr/lib/SolrPhpClient/Apache/Solr/Response.php:206 Stack trace: #0 /html/typo3/typo3conf/ext/solr/lib/SolrPhpClient/Apache/Solr/Response.php(164): Apache_Solr_Response->_parseData() #1 /html/typo3/typo3conf/ext/solr/classes/class.tx_solr_search.php(365): Apache_Solr_Response->__get('response') #2 /html/typo3/typo3conf/ext/solr/pi_results/class.tx_solr_pi_results.php(167): tx_solr_Search->getNumberOfResults() #3 /html/typo3/typo3conf/ext/solr/classes/pluginbase/class.tx_solr_pluginbase_commandpluginbase.php(62): tx_solr_pi_results->getCommandList() #4 /html/typo3/typo3conf/ext/solr/classes/pluginbase/class.tx_solr_pluginbase_pluginbase.php(106): tx_solr_pluginbase_CommandPluginBase->render(NULL) #5 [internal function]: tx_solr_pluginbase_PluginBase->main('', Array) #6 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(6579): call_user_func_array(Array, Array) #7 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php(41): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->callUserFunction('tx_solr_pi_resu...', Array, '') #8 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php(863): TYPO3\CMS\Frontend\ContentObject\UserContentObject->render(Array) #9 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3641): TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->USER(Array) #10 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3589): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript_process(Array) #11 /html/typo3/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php(3557): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->recursivelyReplaceIntPlaceholdersInContent() #12 /html/typo3/typo3_src-6.2.4/typo3/sysext/cms/tslib/index_ts.php(231): TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->INTincScript() #13 /html/typo3/typo3_src-6.2.4/index.php(28): require('/html/typo3/typ...') #14 {main}
有人能帮我吗

任何形式的帮助都将不胜感激


提前感谢

据我所知,Typo3 solr extension 2.8与Typo3 6.2不兼容。请改用3.0.0

服务器日志说明了什么,getRawResponse()返回了什么?~$this->\u response->getStatusMessage()~此函数返回了一个内部服务器错误Yes,但
getStatusMessage()
不是
getRawResponse()
。无论如何,Solr服务器的服务器日志才是有趣的,因为触发错误的异常将记录在那里。我已经设法找到了问题。/select返回了一个内部服务器错误。我已经联系了托管人员,希望他们能够解决这个问题。