CGI Fiction Search Example

J. Landman Gay jacque at hyperactivesw.com
Thu Sep 2 23:19:12 EDT 2004


On 9/2/04 11:12 AM, Gregory Lypny wrote:

> Hello Jacqueline,
> 
> I found the error log.  Here are the last errors for Fiction Search and 
> World.
> 
>     Gregory
> 
> [Thu Sep  2 10:20:31 2004] [error] [client 127.0.0.1] Premature end of 
> script headers: /Library/WebServer/CGI-Executables/fictionsearch.mt
> 
> [Thu Sep  2 10:25:18 2004] [error] [client 127.0.0.1] Premature end of 
> script headers: /Library/WebServer/CGI-Executables/world.mt

Dave made some good suggestions; wrong permissions and bad line endings 
are the two things that I always forget too. Both will cause this error.

What OS are you testing on? OS X? If so, you really do have to use 
Terminal to set permissions -- the Get Info box in the Finder won't do 
it. Also, even though it is OS X Macintosh, you still need to use 
Unix-style line endings. If you don't want to do that using Dave's 
suggestion via Revolution, you can also set those using BBEdit.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list