On Tue, 8 Feb 2005, vishwas bhakit wrote:

> I am running cgi script from browser [and] getting 
> Internal server error.
>  
> When i checked logs it is giving following error:
> BEGIN failed--compilation aborted at /path/to/file/file.cgi line 4.
>  
> what may be the cause of this
> can you [please] help me.
>  
> [Thanks] in advance

There seems to be a problem on line 4 of your script.

Have you looked there? 

Are you making up the error line as an example, or is your script 
*really* at /path/to/file/file.cgi ? This looks like the sort of path 
that someone would have recommended as a hypothetical example, not 
literal intent. Do you really have your script at this location ???

As is standard on this list, it is absolutely impossible to help you 
without sufficient background information: first & foremost WE NEED TO 
SEE THE BROKEN CODE, but additionally it also helps to know any other 
information that might help people help you find the problem, such as 
the operating system, the web server software, what the broken code is 
supposed to do , etc. You have provided none of this information.

Additionally, CGI questions have a beginners-cgi list, but whatever. 



-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to