I recently changed my Advanced tab Embedding script link back URL from mysearch.html to mysearch.php in order to include some other PHP functions on the page.
I encountered an error: "Warning: Cannot modify header information . . . " (see image)
Here's the content of my mysearch.php page:
<?php virtual("/includes/top.html"); ?>
<title>ICDMeister Online Search Page</title>
<?php virtual("/includes/middle.html"); ?>
<?php virtual("search.php"); ?>
<?php virtual("/includes/footer.html"); ?>
My PHP guru recommended commenting out lines 98 & 99 in the search.php file as seen here:
// Send HTTP header to define meta charset
// if (isset($Charset) && $NoCharset == 0)
// header("Content-Type: text/html; charset=" . $Charset);
Doing this eliminated the error I was seeing.
Will commenting out those lines cause any problems with other functioning of ZoomSearch?
Thanks in advance,
Andrew
I encountered an error: "Warning: Cannot modify header information . . . " (see image)
Here's the content of my mysearch.php page:
<?php virtual("/includes/top.html"); ?>
<title>ICDMeister Online Search Page</title>
<?php virtual("/includes/middle.html"); ?>
<?php virtual("search.php"); ?>
<?php virtual("/includes/footer.html"); ?>
My PHP guru recommended commenting out lines 98 & 99 in the search.php file as seen here:
// Send HTTP header to define meta charset
// if (isset($Charset) && $NoCharset == 0)
// header("Content-Type: text/html; charset=" . $Charset);
Doing this eliminated the error I was seeing.
Will commenting out those lines cause any problems with other functioning of ZoomSearch?
Thanks in advance,
Andrew
Comment