Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search broken #8

Open
hifall opened this issue Apr 16, 2017 · 5 comments
Open

Search broken #8

hifall opened this issue Apr 16, 2017 · 5 comments

Comments

@hifall
Copy link

hifall commented Apr 16, 2017

Searching from the left sidebar from the RTFM skeleton (downloaded from: https://getgrav.org/downloads/skeletons) doesn't work.

Repro:
1 perform a clean install of the skeleton on the server;
2 enter some text in the search box on the left sidebar, and hit Enter;
3 the contents on the page never change (to show the expected search results).

@hifall
Copy link
Author

hifall commented Apr 17, 2017

More info: the Chrome console shows "https://subdomain.domain.com/grav/search.json/query:keyword 500 (Internal Server Error)".

So it seems that it fails when it tries to fetch search.json under grav root.

@hifall hifall changed the title Search broken? Search broken Apr 17, 2017
@flaviocopes
Copy link

Works fine for me. Are you using Windows? Also check the PHP error log for more info on the error

@hifall
Copy link
Author

hifall commented Apr 18, 2017

I was using macOS 10.12, Chrome 57.0.2987.133, Ubuntu0.16.04.4, PHP 7.0, Apache 2.4.18, and the latest version of RTFM skeleton.

@hifall
Copy link
Author

hifall commented Apr 18, 2017

Could you please tell me how to check the PHP error log?

Trying to tail -f /var/log/apache2/error.log did not find anything related.

@flaviocopes
Copy link

The location of the PHP error log file is specified in your PHP.ini. You can lookup "error_log" in the Admin configuration by going to yoursite.com/admin/config/info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants