Low not displaying default list of 'All' items - search does not display anything,
Moved a website using Low for job board searches from dev to live and all of a sudden on the live server there are no vacancies being displayed on the live job board!
When someone clicks on the job board link all jobs should be shown before the user then searches for something. On the dev site it works perfectly - on the live we get nothing.
Nothing has changed - literally moved from one server to another. Have rebuilt, cleared caches etc etc.
Urgent help required!
Replies
Low 19 Apr 2013 14:38
I looked at your URLs you sent me over email. You're using Ajax to get the search results. On the live server, you're getting JS-errors, which is probably causing the no-results.
Are you sure all your JS is up to date and correct?
KarlBowers 19 Apr 2013 16:15
Hi Low,
Many thanks for the feedback, I'm actually the developer currently working on the site (I've taken over this site literally at the last minute, so have not developed the job board search).
All the JS appears to be up to date and correct. (I've even tried different versions of JQuery to see if this is the cause.). The live server version (which has the issue) is configured identically to the staging server. I've double checked all Low Search preferences and all JQuery / Angular.js links for the search filter dynamics etc.
So still really baffled on this so it appears to be Low Search that is the issue.
Would it help if Parb sends you log in details to take a look?
Low 19 Apr 2013 16:32
Well, it's environmental, that's for sure.
It looks like the default index-file of your live-server is set to something other than index.php. The search action submits to domain.com/?ACT=XX, which gives you a wrong page. The same action, but with index.php in it: domain.com/index.php?ACT=XX does work.
So, either use /index.php?ACT=XX as your form action, or maybe this rule in your .htaccess will work as well:
KarlBowers 19 Apr 2013 17:11
Absolutely fantastic!!!!
I added the .htaccess line as suggested and its all working!
KarlBowers 19 Apr 2013 17:12
Many thanks for taking a look for us Low, you are a life saver! :-)
Low 19 Apr 2013 17:28
Cool. :)