Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2013-05-30 17:01:28
- vickilh
- Member
- Registered: 2007-10-30
- Posts: 96
Search results disappeared
Our search has been working for years, but suddenly we noticed that we were no longer getting any search results. I haven’t changed anything in a while. I’m stumped.
The search result count still displays, but no articles are listed below this.
Here’s what we’ve got:
<txp:if_search>
<txp:article pgonly="1" />
<txp:search_result_count /></b></p>
<txp:article sortby="Posted" sortdir="desc" form="search_results" />
</txp:if_search>
If I change txp:article to txp:article_custom, it will then write out a bunch of results, but including a bunch of wrong ones.
Here’s Our site
Any ideas/ help would be greatly appreciated!
Offline
Re: Search results disappeared
can you also post the search_results
form?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2013-05-30 17:22:02
- vickilh
- Member
- Registered: 2007-10-30
- Posts: 96
Re: Search results disappeared
Here’s the search_results form:
<h2><txp:permlink><txp:title /></txp:permlink></h2>
<p style="margin-bottom:18px"><txp:search_result_excerpt /><br/>
<small><txp:permlink><txp:permlink /></txp:permlink> ·
<txp:posted /></small></p>
Thanks!
Offline
Re: Search results disappeared
What happens if you change your code to
<txp:if_search>
<txp:article pgonly="1" searchall="0" />
<txp:if_search_results>
<txp:search_result_count />
</txp:if_search_results>
<txp:article sortby="Posted" sortdir="desc" form="search_results" />
</txp:if_search>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#5 2013-05-30 18:05:50
- vickilh
- Member
- Registered: 2007-10-30
- Posts: 96
Re: Search results disappeared
Still no results are listed. – Now the search result count also doesn’t show up.
This is so odd!
Offline
Re: Search results disappeared
Ok, could you switch your site to debug mode, someone here will be able to spot what’s wrong through that.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#7 2013-05-30 18:55:14
- vickilh
- Member
- Registered: 2007-10-30
- Posts: 96
Re: Search results disappeared
ok – will my site still work as usual?
Offline
Re: Search results disappeared
It will depend if there are bugs in your code:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#9 2013-05-30 19:01:07
- vickilh
- Member
- Registered: 2007-10-30
- Posts: 96
Re: Search results disappeared
Could we coordinate this so that it’s in debug mode for X number of minutes? I’ll email you my info.
Offline
#10 2013-05-30 19:25:24
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: Search results disappeared
In my judgement this is not a standard Textpattern search, it seems to be customized. Is it possible that it looks only in the section “Search”? Look at the URL of a search result.
There is a tag in the source code that might cause this: <input type="hidden" name="s" value="Search" />
.
Also, I’m a bit stumped about the result when I enter a normal query like http://chapelhillpubliclibrary.org/txp/?q=media
into the URL field. Just try.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Search results disappeared
vickilh wrote:
Could we coordinate this so that it’s in debug mode for X number of minutes? I’ll email you my info.
It’s 10.30pm here. Tomorrow might be better.
>edit. Uli came to the rescue
Last edited by colak (2013-05-30 19:29:43)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#12 2013-05-30 19:42:33
- vickilh
- Member
- Registered: 2007-10-30
- Posts: 96
Re: Search results disappeared
It’s all pretty weird, especially when you consider that it’s been working for years!
Offline