[TYPO3-Solr] Configuration troubles with Solr extension

Peter Ruijter Peter.Ruijter at vara.nl
Mon Jun 6 11:30:27 CEST 2011


Hi List,

I'm having a problem with the so likely easy to configure Solr community extension (1.3.0). We are willing to use a remote Solr server, which is perfectly accessible through a regular web browser. For test purposes I've installed a TYPO3 4.5.3 on an Apache 2.2.16 webserver with PHP 5.3.5 and a MySQL 5.0.7 database server on my local Windows XP machine. I've followed the installation instructions from the WIKI-pages (http://forge.typo3.org/projects/extension-solr/wiki/Setup_the_Solr_Extension), but I don't see any search box on my searchpage.

My SOLR configuration:

plugin.tx_solr.solr.host = http://mysolrserver.com    # is protected by a firewall
plugin.tx_solr.solr.port = 80
plugin.tx_solr.solr.path = /
plugin.tx_solr.solr.search.targetPage = 1

The developer log will only show the message:

1275399922: exception 'tx_solr_NoSolrConnectionFoundException' with message 'Could not find a Solr connection for root page [1] and language [0]. Initial page used was [73]' in C:\Projects\Typo3_4.5.3\t3lib\class.t3lib_div.php:5295 Stack trace: #0 C:\Projects\Typo3_4.5.3\t3lib\class.t3lib_div.php(5295): ReflectionClass->newInstanceArgs(Array) #1 C:\Projects\Typo3_4.5.3\typo3conf\ext\solr\classes\class.tx_solr_connectionmanager.php(113): t3lib_div::makeInstance('tx_solr_NoSolrC...', 'Could not find ...', 1275399922) #2 C:\Projects\Typo3_4.5.3\typo3conf\ext\solr\classes\pluginbase\class.tx_solr_pluginbase_pluginbase.php(160): tx_solr_ConnectionManager->getConnectionByPageId(73, 0, '') #3 C:\Projects\Typo3_4.5.3\typo3conf\ext\solr\pi_results\class.tx_solr_pi_results.php(197): tx_solr_pluginbase_PluginBase->initializeSearch() #4 C:\Projects\Typo3_4.5.3\typo3conf\ext\solr\classes\pluginbase\class.tx_solr_pluginbase_pluginbase.php(138): tx_solr_pi_results->initializeSearch() #5 C:\Projects\Typo3_4.5.3\typo3conf\ext\solr\classes\pluginbase\class.tx_solr_pluginbase_pluginbase.php(77): tx_solr_pluginbase_PluginBase->initialize(Array) #6 [internal function]: tx_solr_pluginbase_PluginBase->main('', Array) #7 C:\Projects\Typo3_4.5.3\typo3\sysext\cms\tslib\class.tslib_content.php(6348): call_user_func_array(Array, Array) #8 C:\Projects\Typo3_4.5.3\typo3\sysext\cms\tslib\content\class.tslib_content_user.php(51): tslib_cObj->callUserFunction('tx_solr_pi_resu...', Array, '') #9 C:\Projects\Typo3_4.5.3\typo3\sysext\cms\tslib\class.tslib_content.php(922): tslib_content_User->render(Array) #10 C:\Projects\Typo3_4.5.3\typo3\sysext\cms\tslib\class.tslib_fe.php(3263): tslib_cObj->USER(Array) #11 C:\Projects\Typo3_4.5.3\typo3\sysext\cms\tslib\class.tslib_fe.php(3202): tslib_fe->INTincScript_process(Array) #12 C:\Projects\Typo3_4.5.3\typo3\sysext\cms\tslib\index_ts.php(465): tslib_fe->INTincScript() #13 C:\Projects\Typo3_4.5.3\index.php(84): require('C:\Projects\Typ...') #14 {main}

This error is generated inside the initializeSearch() function inside the tx_solr_pluginbase_PluginBase class. I've added a try catch to this function to investigate where the initiation goes wrong. The generated error inside the dev-log is in my opinion curious, because I've added the Solr server configuration on the firstpage of the pagetree, which is also the root of the website and it has a domain-record. I'm stuck at the moment  and have no further time to continue to dive into the code to look for the cause.

Perhaps someone has an idea where to look further to solve the problem.

Best regards,

    Peter Ruijter
    Back-end developer
    Nieuwe media  - Studio

    [!] VARA

    Sumatralaan 49, 1217 GP Hilversum
    Postbus 175, 1200 AD Hilversum

    tel.nr.: +31(0)35-6711583
    mobiel.nr.: +31(0)6-22389971
* please don't print this e-mail unless you really need to - let's save some trees





  ________________________________

De informatie verzonden met en of in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde(n). Gebruik van deze informatie door anderen dan geadresseerde(n) is verboden, behoudens indien en voorzover anders is aangegeven. Openbaarmaking, vermenigvuldiging, verspreiding, en/of verstrekking van deze informatie aan derden is NIET toegestaan, behoudens indien en voorzover anders is aangegeven. Omroepvereniging VARA staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden e-mail, noch voor tijdige ontvangst daarvan.

The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful, unless and as far as otherwise is indicated in the contents. Vara is neither liable for the proper nor complete transmission of the information contained in this communication nor for any delay in its receipt.


More information about the TYPO3-project-solr mailing list