Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

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

Solved by datakick

  • 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.

  • 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 by pessoal2004

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.