I moved my site to a new host, and am having some problems with zoom.
I had to put the cgi file into a different folder than I had it on my server, so the string that calls the cgi is:
<cfhttp url="http://www.salleboise.com/cgi-bin/search/search.cgi?#cgi.QUERY_STRING#" method="GET" timeout="60" throwonerror="yes" charset="iso-8859-1"></cfhttp>
And when trying the search, I'm getting:
"CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers".
Anyone have any suggestions?
To start with you should read through this page on common CGI issues.
I would also get it working in a standalone fashion before trying to wrap it up in another script. Wrapping it will probably hide the real errors.
I'm not sure what you mean by stand-alone..... but I'm not seeing the error I'm getting in that list of troubleshooting problems.....
You didn't mention it, but I assume by the use of "cfhttp" that you are wrapping our script in some Cold Fusion code.
I am suggesting that while you are debugging the problem that you don't use CF, and instead call the CGI directly. CF is probably hiding the real error. And the real error is probably mentioned on the CGI page mentioned above.
How do you call it directly? What are the paramaters that need to be sent? I assume that its the same commands that would be used if I used the CF??I am suggesting that while you are debugging the problem that you don't use CF, and instead call the CGI directly.
Ok, even if I call the search.cgi directly by using
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
Your URL is not valid. A valid URL would be.
And the "complete set of HTTP headers" error was covered in the CGI FAQ page referenced above. Please have a look at the page again, it is about half way down the page.
Installation of a CGI script can be significantly harder than a PHP or ASP script (depending on your server and permissions on the server). So unless your site is huge (>10,000 pages) and you need the higher performance of the CGI you might be better off using the Zoom PHP or ASP option.
Can you wrap the .php version in a CF tag that you're aware of?
I don't know much about CF, but I suspect the cfhttp command can be used with any URL.