February 20, 20197 yr 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 April 25, 20197 yr by pessoal2004
February 20, 20197 yr Solution 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.
February 21, 20197 yr Author 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 April 25, 20197 yr by pessoal2004
Create an account or sign in to comment