[TYPO3-Solr] Exception while trying to index a page > No Solr instance available
Patrick Schriner
patrick.schriner at diemedialen.de
Wed Aug 10 11:45:51 CEST 2011
On Tue, 09 Aug 2011 17:44:40 +0200, Boris Hinzer <b.hinzer at web-vision.de>
wrote:
> Hi,
>
> we are facing the problem that pages are not indexed and we are getting
> this error:
>
> exception 'Exception' with message 'No Solr instance available while
> trying to index a page.' in
> /var/www/vhosts/portfolio-institutional.co.uk/httpdocs/typo3conf/ext/solr/classes/class.tx_solr_typo3pageindexer.php:142
> Stack trace:
> #0
> /var/www/vhosts/portfolio-institutional.co.uk/httpdocs/typo3conf/ext/solr/classes/class.tx_solr_typo3pageindexer.php(105):
> tx_solr_Typo3PageIndexer->initializeSolrConnection()
> #1 [internal function]:
> tx_solr_Typo3PageIndexer->__construct(Object(tslib_fe))
> #2
> /var/www/vhosts/portfolio-institutional.co.uk/httpdocs/typo3_src-4.5.4/t3lib/class.t3lib_div.php(5306):
> ReflectionClass->newInstanceArgs(Array)
> #3
> /var/www/vhosts/portfolio-institutional.co.uk/httpdocs/typo3conf/ext/solr/classes/class.tx_solr_indexer.php(98):
> t3lib_div::makeInstance('tx_solr_Typo3Pa...', Object(tslib_fe))
> #4
> /var/www/vhosts/portfolio-institutional.co.uk/httpdocs/typo3_src-4.5.4/typo3/sysext/cms/tslib/class.tslib_fe.php(3169):
> tx_solr_Indexer->hook_indexContent(Object(tslib_fe))
> #5
> /var/www/vhosts/portfolio-institutional.co.uk/httpdocs/typo3_src-4.5.4/typo3/sysext/cms/tslib/index_ts.php(453):
> tslib_fe->generatePage_postProcessing()
> #6
> /var/www/vhosts/portfolio-institutional.co.uk/httpdocs/typo3_src-4.5.4/index.php(84):
> require('/var/www/vhosts...')
> #7 {main}
>
> Accessing SOLR through lynx localhost:8080/solr/ works fine.
> But lynx localhost:8080/solr/admin doesn't work - I guess because of the
> changed path.
> We can acesss SOLR interface when we enter "Admin en_core"
>
> Aditionally SOLR search plugin isn't appearing on search page.
>
> Best regards,
>
> Boris
>
Probably a different issue - but we faced a similar problem where
communication to Solr would fail on HEAD requests (that are used by the
Solr PHP Client to find out if the configured Solr instance is actually
running).
That was resolved by changing the Solr PHP Client to use regular POST (or
GET) to find the instances.
The actual communication between is working just fine.
--
Patrick Schriner
More information about the TYPO3-project-solr
mailing list