Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

  • 0
pessoal2004

Elasticsearch: product page “404 Not Found” and category error

Question

We are a stuck with elasticsearch, because we have two errors:

1) The search page work fine but after that if we select on product to open there product page we get “404 Not Found”. 

2) With elastsearch when we click at any category we get the error:
Warning: file_put_contents(/usr/share/nginx/html/log/20190219_exception.log): failed to open stream: Permission denied in /usr/share/nginx/html/classes/log/FileLogger.php on line 93

Any ideas to solve this will be appreciate. 

Edited by pessoal2004

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
5 hours ago, pessoal2004 said:

2) With elastsearch when we click at any category we get the error:
Warning: file_put_contents(/usr/share/nginx/html/log/20190219_exception.log): failed to open stream: Permission denied in /usr/share/nginx/html/classes/log/FileLogger.php on line 93

When some error occurs, thirtybees tries to log it into file. But in your case, because of incorrect directory permission, it's not able to create file in /usr/share/nginx/html/log/ directory, thus failing with this warning. And we don't know the root cause of this problem, because the original error is lost.

So, first of all, fix the directory permissions so it's writable. Then test again, and let us know what error message appears in the error log.

Share this post


Link to post
Share on other sites
  • 0

Thank you datakick, you are right, my first issue was a permission question, now it’s solved.
My second issue still is not solved, the search page work fine but after that if we select on product to open there product page we get that page http://192.168.1.1/coffee-and-tea/Coffee/coffee-beans with  “500 Internal Server Error”.
Any help will be appreciate  

Edited by pessoal2004

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×