Skip to content
Advertisement

Why is searching not returning results in Magento 1.9 with error messages appearing in nginx logs for FastCGI and Elastica?

I’m running Magento 1.9.4 on Ubuntu 18.04, PHP 7.2 with nginx 1.14 fronting it all. The shopping site is loading and navigable. However, when I search for a term, it does not list the matches in the drop-down and shows the no results page.

I can see the following message in the nginx error logs:

JavaScript

This was working prior to upgrading from Ubuntu 14.04 and PHP 7.0.

Advertisement

Answer

I need to find another job.

Magento is using Elastica client which in turn is pointing to AWS ElasticSearch service. I had to whitelist the host (Magento site) in the AWS ElasticSearch access policy in order for it to access the service.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement