|
|
sybperl-l Archive
Up Prev Next
From: jaiveer dot narwal-glb at bankerstrust dot com
Subject: CGI-Sybperl problem
Date: Sep 29 1998 7:51PM
Hi,
We are having problem in executing Sybperl CGI script from Web Browser.
Sybperl Script works fine from command line. It connects to Sybase and
produces the correct result in HTML format
which can be viewed in a web browser. So I dont think if there is any
coding problem in the Sybperl CGI script.
I tried setting SYBASE env in the script .
I also tried setting @INC variable to the value I got from command line
execution of the script. - didn't work
Our script works if we comment "use Sybase::Dblib" line. At least we get
some HTML form on the browser. Script fails at "use Sybase::DBlib" line.
???
Version info :
Sybase Open Client 11.1.1
Perl version = 5.00502 ( Activestate perl )
SYBPERL = 2.09_03
Webserver = Microsoft Internet Information Server 4.0
Windows NT - 4.0 with Service pack 3
@INC=C:\Program Files\Sybase\Shared\Open Client
C:\Perl\5.00502\lib/MSWin32-x86-object
C:\Perl\5.00502\lib C:\Perl\site\5.00502\lib/MSWin32-x86-object
C:\Perl\site\5.00502\lib
Script does not produce any error message in the browser. Webserver error
log doesnt say much except , error number 500 which means internal error
in executing the script.
Are we missing some env variables ?? Or what is the correct version of
Sybperl/Perl that we should be using ?
Thanx,
Jaiveer
|