Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: RE: Using sybperl with cgi
Date: Feb 16 1999 6:07PM
>>>>> "Sheree" == Sheree Hemphill writes:
Sheree> Michael, Well, I am getting closer. I added the sybase
Sheree> environment variable that you mentioned in your response,
Sheree> however I am still getting a generic "Server Error" message on
Sheree> this script. It doesn't like something about my foreach loop,
Sheree> when I cycle through the results (again, this is identical to
Sheree> the one that works as a shell script). I'm not sure if I'm
Sheree> having a sybperl problem or a cgi problem at this point.
The script looks fine at first sight.
I suspect that something gets printed to stdout before the print
Try moving the print header() to before the new Sybase::CTlib.
Also, look in the server's error log for any messages.
Michael Peppler -||- Data Migrations Inc.
firstname.lastname@example.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: email@example.com