0
I use Sorl version 5.4, working perfectly the interface of Solr itself.
I installed the Solarium to facilitate application development. However, when testing the examples following the initial guidelines I get the following error:
Fatal error: Uncaught Solarium\Exception\HttpException: Solr HTTP
error: HTTP request failed, Connection timed out after 5001 milliseconds in solarium/library/Solarium/Core/Client/Adapter/Curl.php:195 Stack trace: #0
solarium/library/Solarium/Core/Client/Adapter/Curl.php(92): Solarium\Core\Client\Adapter\Curl->check('', Array, Resource id #37) #1
solarium/library/Solarium/Core/Client/Adapter/Curl.php(213): Solarium\Core\Client\Adapter\Curl->getResponse(Resource id #37, false) #2
solarium/library/Solarium/Core/Client/Adapter/Curl.php(68): Solarium\Core\Client\Adapter\Curl->getData(Object(Solarium\Core\Client\Request), Object(Solarium\Core\Client\Endpoint)) #3
solarium/library/Solarium/Core/Client/Client.php(804): Solarium\Core\Client\Adapter\Curl->execute(Object(Solarium\Core\Client\Request), Object(Solariu in solarium/library/Solarium/Core/Client/Adapter/Curl.php on line 195
I have installed php7, libcurl, php-Curl (php70w-common) as instructions found in Webtatic.
Someone’s been through this trouble?
Thank you!
Version 5.4 of what? php? Sorl is what, is it Solarium itself? If you give a few details it makes it easier to help you. Many answers come from people who have never developed in the environments of those who ask, but if you take a north makes it easier to help. At first the error seems of connection.
– Guilherme Nascimento
Hello @Guilhermenascimento Solr 5.4 (http://lucene.apache.org/solr/), Solarium is a front end option for Sorl... but I think I’ve figured it out... Solarium uses PECL Solr, which is a PHP library for connections, however, PECL Sorl does not yet work with php 7. They should release now this week as the developer replies. Thank you anyway.
– Evert