I’m probably missing something silly, but I can’t resolve this issue and can’t find anything to help in the docs or forums. I’m trying a vanilla implementation of the search module and getting this error when I search:
A PHP Error was encountered
Severity: Notice
Message: Undefined index: result_page
Filename: search/mod.search.php
Line Number: 84I’ve tried a number of different variations on defining the path to results page (with group, without group, full path, etc.). I have also tried to define the path from both the search instantiation and the channel prefs. I’ve verified that all the markup is valid. I have a flat file structure (everything is in one group called “stories”). Here is my search code:
{exp:search:simple_form channel="stories" search_in="everywhere" result_page="stories/results" no_result_page="stories/results_none" results="5"}
<input type="text" name="keywords" id="keywords" value="" maxlength="100" class="input-small search-query">
<input type="submit" class="btn" value="submit" class="submit">
{/exp:search:simple_form}Here’s the meat of my results page:
{exp:search:search_results}
<div class="well result">
<h2><a href="http://{auto_path}">{title}</a></h2>
<p> </div><br />
{/exp:search:search_results}When I hit the results page on its own, I get “Your search did not return any results.”
Thanks in advance for any insight!
-Ammon