From genaim@CS.BGU.AC.IL Mon Jan 20 17:19:05 2025 From: Samir Genaim To: ciao-users@cliplab.org Subject: Re: Pillow Problems Date: Fri, 03 Mar 2000 18:48:40 +0200 Message-ID: <14527.60648.515370.612853@gargle.gargle.HOWL> In-Reply-To: <9137E22D7DFFD111BC2B00A0C9B292A80410F706@frodo.hud.ac.uk> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6176068597923140395==" --===============6176068597923140395== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > When I try to access the cgi script via a browser I get an Internal Server > Error. > When I run the files in a shell tool I get the following It seem that you have two problems: (1) The "Internal server error" arise when you script does not print the Content-Type line as a first line. In order to solve this problem you should redirect the stderr to /dev/null when you run html_forms.cgi, so sicstus loading messages ignored and your browser see "Content-Type text/html" first. (2) The existence of main/0 you already got an answer from daniel for this. > hades{c9651239}6: html_forms.cgi > SICStus 3.7: Tue Sep 08 19:55:50 MET DST 1998 > Licensed to hud.ac.uk > {SICStus state restored from > /stud/yrf/bsccsd4/c9651239/pillow/pillow/examples/html_forms.cgi} > Content-type: text/html > > html.pl Error Report >
> src="http://www.clip.dia.fi.upm.es/images/warning_large.gif">

html_pl > Error Report

>
> The following error was encountered: > existence_error(main,0,procedure,:(user,/(main,0)),0) >
> > > > I have checked everything I can think so I wondered if anyone had any ideas. > > Thanks > Dan -- Samir --===============6176068597923140395==--