How to fix error "Undefined subroutine &main::SearchRunTime called"
This article describes how to fix the following error:
Perl Error: Undefined subroutine &main::SearchRunTime called at (eval 1) line 154.
The exact line number may vary.
The underlying problem is that FDSE is trying to search a runtime realm, but it has not loaded the required library "common_parse_page.pl". All reported cases of this problem so far have involved administrators using custom HTML search forms with the following hidden field:
<input type="hidden" name="nocpp" value="1" />
There are three possible fixes for this error:
upgrade to the latest version of FDSE, or
remove the hidden "nocpp" field from the custom search form, or
stop using runtime realms
There is an outside chance that the same error message could arise for a different reason, such as a corrupt parse_page library. If you aren't using custom search forms, then your problem is different than the one described here, and you should file a bug report.
This bug will likely occur in FDSE versions 2.0.0.0035 through 2.0.0.0041, which were the first versions to use this optimization.
With versions 2.0.0.0042 through 0053, the template code for custom search forms no longer included the "nocpp" optimization, reducing the chance of this error. Furthermore, starting with version 2.0.0.0044, the script would transparently sidestep calls to
SearchRunTime when the "nocpp" bit was set (thus runtime realms would be ignored, but at least visitors wouldn't see the ugly error message above).
As of FDSE version 2.0.0.0054, the "nocpp" bit is no longer used at all.
"How to fix error "Undefined subroutine &main::SearchRunTime called"" http://www.xav.com/scripts/search/help/1080.html