Elasticsearch-PHP requires cURL...

Hallo Leute, das LOGGING Problem, um an diese Fehlermeldung zu kommen, habt Ihr ja schnell gelöst. Eigentlich dachte ich, ich käme dann weiter… aber das erschließt sich mir doch nicht… Was kann ich jetzt hier tun? curl ist instlliert… curl-php auch… Viele Grüße Tino Elasticsearch-PHP requires cURL, or a custom HTTP handler. in vendor/elasticsearch/elasticsearch/src/Elasticsearch/ClientBuilder.php on line 108 Stack trace: #0 vendor/elasticsearch/elasticsearch/src/Elasticsearch/ClientBuilder.php(342): Elasticsearch\ClientBuilder::defaultHandler() #1 Shopware/Bundle/ESIndexingBundle/ClientFactory.php(47): Elasticsearch\ClientBuilder->build() #2 var/cache/production_201510221322/proxies/ShopwareProductionProjectContainer.php(658): Shopware\Bundle\ESIndexingBundle\ClientFactory::createClient(Array) #3 vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer->getShopwareElasticSearch_ClientService() #4 Shopware/Components/DependencyInjection/Container.php(253): Symfony\Component\DependencyInjection\Container->get(‚shopware_elasti…‘) #5 Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container->load(‚shopware_elasti…‘) #6 var/cache/production_201510221322/proxies/ShopwareProductionProjectContainer.php(702): Shopware\Components\DependencyInjection\Container->get(‚shopware_elasti…‘) #7 vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer->getShopwareElasticSearch_PropertyIndexerService() #8 Shopware/Components/DependencyInjection/Container.php(253): Symfony\Component\DependencyInjection\Container->get(‚shopware_elasti…‘) #9 Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container->load(‚shopware_elasti…‘) #10 var/cache/production_201510221322/proxies/ShopwareProductionProjectContainer.php(718): Shopware\Components\DependencyInjection\Container->get(‚shopware_elasti…‘) #11 vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer->getShopwareElasticSearch_PropertySynchronizerService() #12 Shopware/Components/DependencyInjection/Container.php(253): Symfony\Component\DependencyInjection\Container->get(‚shopware_elasti…‘) #13 Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container->load(‚shopware_elasti…‘) #14 var/cache/production_201510221322/proxies/ShopwareProductionProjectContainer.php(666): Shopware\Components\DependencyInjection\Container->get(‚shopware_elasti…‘) #15 vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer->getShopwareElasticSearch_CompositeSynchronizerFactoryService() #16 Shopware/Components/DependencyInjection/Container.php(253): Symfony\Component\DependencyInjection\Container->get(‚shopware_elasti…‘) #17 Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container->load(‚shopware_elasti…‘) #18 var/cache/production_201510221322/proxies/ShopwareProductionProjectContainer.php(662): Shopware\Components\DependencyInjection\Container->get(‚shopware_elasti…‘) #19 vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer->getShopwareElasticSearch_CompositeSynchronizerService() #20 Shopware/Components/DependencyInjection/Container.php(253): Symfony\Component\DependencyInjection\Container->get(‚shopware_elasti…‘) #21 Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container->load(‚shopware_elasti…‘) #22 var/cache/production_201510221322/proxies/ShopwareProductionProjectContainer.php(650): Shopware\Components\DependencyInjection\Container->get(‚shopware_elasti…‘) #23 vendor/symfony/dependency-injection/Container.php(327): ShopwareProductionProjectContainer->getShopwareElasticSearch_BacklogProcessorService() #24 Shopware/Components/DependencyInjection/Container.php(253): Symfony\Component\DependencyInjection\Container->get(‚shopware_elasti…‘) #25 Shopware/Components/DependencyInjection/Container.php(188): Shopware\Components\DependencyInjection\Container->load(‚shopware_elasti…‘) #26 Shopware/Bundle/ESIndexingBundle/Subscriber/DomainBacklogSubscriber.php(63): Shopware\Components\DependencyInjection\Container->get(‚shopware_elasti…‘) #27 [internal function]: Shopware\Bundle\ESIndexingBundle\Subscriber\DomainBacklogSubscriber->onProductStockWasChanged(Object(Enlight_Event_EventArgs)) #28 Enlight/Event/Handler/Default.php(91): call_user_func(Array, Object(Enlight_Event_EventArgs)) #29 Enlight/Event/EventManager.php(210): Enlight_Event_Handler_Default->execute(Object(Enlight_Event_EventArgs)) #30 Shopware/Core/sOrder.php(972): Enlight_Event_EventManager->notify(‚product_stock_w…‘, Array) #31 Shopware/Core/sOrder.php(736): sOrder->refreshOrderedVariant(‚51019‘, ‚1‘) #32 Shopware/Controllers/Frontend/Checkout.php(803): sOrder->sSaveOrder() #33 Shopware/Controllers/Frontend/Checkout.php(319): Shopware_Controllers_Frontend_Checkout->saveOrder() #34 Enlight/Controller/Action.php(158): Shopware_Controllers_Frontend_Checkout->finishAction() #35 Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch(‚finishAction‘) #36 Enlight/Controller/Front.php(227): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #37 Shopware/Kernel.php(148): Enlight_Controller_Front->dispatch() #38 vendor/symfony/http-kernel/HttpCache/HttpCache.php(492): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #39 Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #40 vendor/symfony/http-kernel/HttpCache/HttpCache.php(263): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #41 vendor/symfony/http-kernel/HttpCache/HttpCache.php(280): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #42 Shopware/Components/HttpCache/AppCache.php(133): Symfony\Component\HttpKernel\HttpCache\HttpCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #43 vendor/symfony/http-kernel/HttpCache/HttpCache.php(209): Shopware\Components\HttpCache\AppCache->invalidate(Object(Symfony\Component\HttpFoundation\Request), true) #44 Shopware/Components/HttpCache/AppCache.php(114): Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #45 shopware.php(101): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #46 {main}

Welche PHP Version?

Hallo… es ist PHP 5.4 daran lag es aber nicht… ich habe es diese Nacht gegen 2 Uhr gelöst :slight_smile: CURL war installiert. das hat ja apt-get … immer schön gesagt… Die Curl.so war auch im richtigen Verzeichnis… nur in der PHP.INI hat extension => curl.so gefehlt… Viele Grüße Tino

Installiert heisst ja wie du siehst nicht immer gleich das es auch aktiviert ist. Das nächste mal schau am besten in deine phpinfo(); Da wärst du direkt darauf gekommen, dass curl nicht geladen wird :wink: