[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Internal server error



On Thu, 5 Jun 2003, Chris L wrote:

>
> > I am having a strange problem with a cgi (perl) script.
> >
> > Any one any ideas ?
> > Is there a way to get more details of what is causing the error ?
>
> have you tried pico -w filename?
> add and remove a space, then save the file.

Another cause might be that whatever editor was used one of the script
lines wrapped around....which the pico -w overcomes.  I've shot myself in
the foot many times letting a script line wrap.

So, open it up with pico -w filename...and then look line-by-line for a
broken line.

Once you find and fix it, repeat at least a thousand times...."I will not
split lines."

Thom