Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
search problems
Using 404 Using the search form which looks like this: <h3><txp:permlink><txp:title /></txp:permlink></h3>
<p><txp:search_result_excerpt /><br/>
<small><txp:permlink><txp:permlink /></txp:permlink> ·
<txp:posted /></small></p>
returns
*
Fatal error: Call to undefined function array_null() in /users/home/yiannis/domains/hblack.net/web/public/hblack/textpattern/publish.php on line 516*
So I changed it to <h3><txp:search_result_title /></h3>
<p><txp:search_result_excerpt hilight="strong" /><br/>
<small><txp:search_result_url /></small></p> so as to use the 404 tags. The error remains the same.
http://hblack.net/hblack/?q=helene A link to demonstrate…
More info:
I call the search from the default template like this: @<txp:if_search>
<txp:output_form form=“menu_search” />
<txp:else />… </txp:if_search>@
And in the ‘menu_search’ form I call the “search_results” form in this way: <txp:article limit="100" form="search_results"/>
Does anyone have any idea what might be the problem?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#2 2006-11-22 13:17:04
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: search problems
It means you’re using a development version of publish.php, but otherwise running 4.0.4.
Offline
Re: search problems
Mary wrote:
It means you’re using a development version of publish.php, but otherwise running 4.0.4.
yep:(
fixed it now… Thanks mary
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1