Search Returns 0 Results unless im logged in

Permalink
Hi Guys
This is something which i cannot fathom.
The search function is not working on my site unless i am logged into it.
Can anyone offer me any suggestions on why this might be?

The attached is my results when performing a such for Dell.
I get the same 0 results and same populated search field data no matter what search term i use.

Wierdly, the search works when im logged in.

1 Attachment

 
PMorrison replied on at Permalink Reply
Just add to this -- as this might be insightful to someone who wishes to help...

I have a dev site on another server which points to the same database as my live site.
The search function DOES work on the dev site regardless of whether i am logged in or not.

What files should i be looking at which be causing the live search issue?
stewblack23 replied on at Permalink Reply
stewblack23
If you are using git for version control you can just look at the differences in the files. Also see if there are any console issue on search page vs the live to dev site.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
It appears from your description that this is a server issue..
A couple things to check on the server:
Mod_Security try switching it off.
Is the server running a back-end cache system like 'Varnish' or 'CacheWall' or 'Litespeed Caching'.
'Varnish' and 'CacheWall' can be switched off.
'Litespeed Caching' has no switch so you need to add an extra rule to your htaccess RewriteEngine (append it to Concrete5 Rewrite rules)
RewriteRule (.*) - [E=Cache-Control:no-cache]