Hi,
I seem to have the wrong library path in OpenSRS.conf --- however when I
hard-code the $PATH_LIB variable in verify_install.cgi, it works. I don't
know Perl at all, so this might be a syntax problem?
This is what I have in OpenSRS.conf:
$PATH_SOURCE = "D:/Inetpub/opensrs"; # e.g.,
"/home/username/opensrs"
$PATH_LIB = "$PATH_SOURCE/lib";
$PATH_TEMPLATES = "$PATH_SOURCE/templates";
verify_install.cgi has this:
BEGIN {
do "D:/Inetpub/opensrs/etc/OpenSRS.conf";
}
use lib $PATH_LIB;
use OpenSRS::XML_Client;
use OPS;
use Config;
The above yields the following error:
The specified CGI application misbehaved by not returning a complete set of
HTTP headers. The headers it did return are:
Empty compile time value given to use lib at
D:\Inetpub\phtxcgi-bin\verify_install.cgi line 37
Can't locate OpenSRS/XML_Client.pm in @INC (@INC contains: D:/Perl/lib
D:/Perl/site/lib .) at D:\Inetpub\phtxcgi-bin\verify_install.cgi line 38.
BEGIN failed--compilation aborted at
D:\Inetpub\phtxcgi-bin\verify_install.cgi line 38.
HOWEVER --- if I hard code the line in verify_install.cgi as follows, it
seems to work:
use lib "D:/Inetpub/opensrs/lib";
Please help!
Shane Miller
Prophetechs Corporation
107 North Oak Street
Port Angeles, WA 98362
360-417-0845
http://www.prophetechs.com
[EMAIL PROTECTED]