Originally Posted by
DigiBooks
The source code on the page is here - it stops at Limit to Categories (Genre):
Code:
<div class="centerColumn" id="advSearchDefault">
<form name="advanced_search" action="http://digi-books.org.uk/team/admin_db_library/index.php?main_page=advanced_search_result" method="get" onsubmit="return check_form(this);"><input type="hidden" name="main_page" value="advanced_search_result" />
<h1 id="advSearchDefaultHeading">Advanced Search</h1>
<fieldset>
<legend>Choose Your Search Terms</legend>
<div class="forward"><a href="javascript:popupWindow('http://digi-books.org.uk/team/admin_db_library/index.php?main_page=popup_search_help')">Search Help [?]</a></div>
<br class="clearBoth" />
<div class="centeredContent"><input type="text" name="keyword" value="keywords" onfocus="RemoveFormatString(this, 'keywords')" /> <input type="checkbox" name="search_in_description" value="1" checked="checked" id="search-in-description" /><label class="checkboxLabel" for="search-in-description">Search In Book Descriptions</label></div>
<br class="clearBoth" />
</fieldset>
<fieldset class="floatingBox back">
<legend>Limit to Genre:</legend>
<div class="floatLeft"><div class="systemError">WARNING: An Error occurred, please refresh the page and try again.<div class="systemError">WARNING: An Error occurred, please refresh the page and try again.
Looks like the code in includes/templates/YOUR_TEMPLATE/tpl_advanced_search_default.php that follows the last output line is generating an error, though it is odd that the error is not logged in the ZC logs folder. Does seem like the host is/was having issues as well, so there could be two things going on there. The fact that otherwise the store is operational seems to indicate that there may be some piece of database information that is possibly causing some sort of loop or something.
The code in a default install/version of that file at that location is:
Code:
<?php echo zen_draw_pull_down_menu('categories_id', zen_get_categories(array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES)), '0' ,'', '1'), $sData['categories_id']); ?></div>
<?php echo zen_draw_checkbox_field('inc_subcat', '1', $sData['inc_subcat'], 'id="inc-subcat"'); ?><label class="checkboxLabel" for="inc-subcat"><?php echo ENTRY_INCLUDE_SUBCATEGORIES; ?></label>
Bookmarks