What does "premature end of script headers" mean in a cgi error?

Paulson

Elite Member
Feb 27, 2001
10,689
0
0
www.ifixidevices.com
This folks is why my pics.paulsonator.com site is not working... I can't figure it out, it's the exact same stuff as dwell's on pics.bbzzdd.com...

Anybody got any ideas?
 

GigaCluster

Golden Member
Aug 12, 2001
1,762
0
0
You could retrieve a backed-up version (you do have backups, don't ya? :) ), then perform a "diff" on them and carefully look at the changes you made. That seems to be the most efficient way to me.
 

Paulson

Elite Member
Feb 27, 2001
10,689
0
0
www.ifixidevices.com
how do you do this "diff"

is that just a command in linux I could use, or is it just looking over all the code?

I've used previous versions of members.cgi (the file giving me problems) and it still doesn't seem to work for me...

I don't know what to think...
 

GigaCluster

Golden Member
Aug 12, 2001
1,762
0
0
'diff' is indeed a program that comes with most, if not all, Linux/Unix distributions.

You can do something like:
diff -u script.wks script.cgi > script.diff
script.wks - the copy that was working at the time of backup
script.cgi - your current malfunctioning script
script.diff - a file containing all the differences between the two files

"man diff" for more information about 'diff'.
Good luck.