[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: newbie with gnats/gnatsweb more specific problems...
From: |
Erwin, Richard D |
Subject: |
FW: newbie with gnats/gnatsweb more specific problems... |
Date: |
Thu, 10 Apr 2003 19:29:35 -0700 |
When I try to perform the test specified in the gnatsweb documentation, I get:
/usr/local/gnu/bin/make test USERNAME=gnats PASSWD=XXXXXXXX DATABASE=gnats-db
perl test.pl
Can't call method "self_url" on an undefined value at ./gnatsweb-site.pl line
2844, <SOCK> line 2.
connect...........................................FAIL
make: *** [test] Error 255
This is the code where it appears to fail in gnatsweb-site.pl...
# Login to selected database.
LOGIN:
{
# Issue CHDB command; revert to login page if it fails.
($response) = client_cmd("chdb $global_prefs{'database'}");
if (!$response)
{
login_page($q->self_url(), $gnats::ERRSTR);
exit();
}
# Get user permission level from USER command. Revert to the
# login page if the command fails.
($response) = client_cmd("user $db_prefs{'user'} $db_prefs{'password'}");
if (!$response)
{
login_page($q->self_url(), $gnats::ERRSTR);
exit();
}
$access_level = 'edit';
if ($response =~ /User access level set to (\w*)/)
{
$access_level = $1;
}
}
Per the installation guide, I have a working gnats installation. In my
/usr/local/share/gnats/gnats-adm/gnatsd.conf file, as well as in
/scratch/gnatsweb-2.93/gnatsweb-site.pl file being used for the test, I point
to the specific server and not localhost, but have tried it with localhost,
with no improvement. It is set to "edit" in either case.
Perl modules CGI.pm 2.89 (with File-Spec-0.8) and MIME:Base64 are in place for
Perl 5.6.0, which is pointed to in line 1 of gnatsweb-site.pl.
/etc/gnats-db.conf is setup as follows:
/usr/local/share/gnats/gnats-db:normal,standard,regular
All help greatfully accepted.
Thanks,
Rich Erwin
Boeing SSG - M&CT Support
(425) 865-3414
--Original Message-----
From: Erwin, Richard D
Sent: Thursday, April 10, 2003 1:19 PM
To: address@hidden
Subject: newbie with gnats/gnatsweb
Folks;
I'm having problems getting gnatsweb to work properly. I'm using gnats 3.113,
gnatsweb 2.9.3 and Solaris 8. The web server is Apache 1.3.27.
Apache and gnats appears to have installed just fine. However, the
instructions for installing gnatsweb are somewhat vague in spots. I assume
gnatsweb-site.pl goes into the cgi subdirectory of apache, and the two perl
modules, CGI.pm and MIME::BASE64 are installed, but testing the setup and such
seems to get confusing.
Any help would be gratefully appreciated.
Rich Erwin
Boeing SSG - M&CT Support
(425) 865-3414
_______________________________________________
Help-gnats mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-gnats
- FW: newbie with gnats/gnatsweb more specific problems...,
Erwin, Richard D <=