[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

You didn't mess with a header line like:
print "Content-type: text/html\n\n";
This is needed in front of any stdout that is printed and
sometimes this error is not defined for a header failure
correctly through the carp module, as uploading in wrong mode does too
(binary).

  David Hahn

  PageKeeper Service
  1512 Deborah Road #102
  Rio Rancho, New Mexico 87124 US
  505-892-8723

  http://www.pagekeeperservice.com

  "providing reliable hosting and domain name solutions"
  Internet Programming + Unix/Linux/Sun/Cobalt Consulting

  Outgoing mail is certified Virus Free.
  Checked by Symantec anti-virus system (http://www.symantec.com/).
  Version: 9.00.68b / Virus Database Updated Hourly

  This E Mail transmission and any accompanying attachments contain
  confidential information intended only for the use by the individual
  or entity named above. Any dissemination, distribution, copying or
  action taken in reliance on the contents of this E Mail by anyone
  other than the intended recipient, is strictly prohibited. If you
  have received this E Mail in error please immediately delete it and
  notify sender to stop any future mailings.