Hello everyone,
first of all - thank you for having such a community driven forum to help people figure stuff out. I’ve been banging my head against the following problem but i didn’t get very far yet.
I think that the search on this page has never worked before (i didn’t create this site) so i’m basically starting at 0.
The Problem:
SimpleSearch v2.2.2 does not work on my customers webpage using Grav v1.7.15 (Admin v1.10.15).
Whenever i search for something (f.e. “Home”) the url changes correctly as far as i can tell to “…/search/query:home”. But even if i change some things in this link around, i only get 404 pages - i never even saw a search results page.
The logs from the /wwwroot/logs folder don’t mention this plugin at all as far as i can tell.
What i’ve tried:
For now i’ve only really tried disabling the “filters” section (it’s basically standard now) in the config file attached below and updating all the plugins, my themes and GRAV itself.
I have to be honest, i’m not an expert on this topic so every tip is appreciated.
user/config/plugins/simplesearch.yaml:
enabled: true built_in_css: true built_in_js: true display_button: false min_query_length: 3 route: /search search_content: rendered template: simplesearch_results filters: filter_combinator: and ignore_accented_characters: false order: by: date dir: desc searchable_types: title: true content: true taxonomy: true header: false header_keys_ignored: ['title', 'taxonomy','content', 'form', 'forms', 'media_order']
I’m still figuring out how to update everything and keep it in GitHub/Azure but i guess i’ll have that in a few minutes.
In the meanwhile, if there’s any other useful information i can provide, please tell me!
Thanks in advance!
Best Regards,
Andreas