Can't locate object method

i am having severe trouble installing rt2.0.4 on a RedHat 7.1 system, with
a handbuilt perl (5.6.1), MySQL (3.23.40), apache (1.3.20) and mod_perl
(1.26).

every time i run “apachectl configtest” i get
k[root@rt /root]# /usr/local/apache/bin/apachectl configtest
perl_tie_hash: Can’t locate object method “TIEHASH” via package
"Apache::Table" (perhaps you forgot to load “Apache::Table”?) at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 365.
[Mon Aug 6 18:45:47 2001] [error] Can’t locate object method “get” via
package “Apache::Table” (perhaps you forgot to load “Apache::Table”?) at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 365.
Compilation failed in require at /usr/local/rt2/bin/webmux.pl line 18.
BEGIN failed–compilation aborted at /usr/local/rt2/bin/webmux.pl line 18.
Compilation failed in require at (eval 4) line 1.

Syntax error on line 286 of /usr/local/apache/conf/httpd.conf:
Can’t locate object method “get” via package “Apache::Table” (perhaps you
forgot to load “Apache::Table”?) at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 365.
Compilation failed in require at /usr/local/rt2/bin/webmux.pl line 18.
BEGIN failed–compilation aborted at /usr/local/rt2/bin/webmux.pl line 18.
Compilation failed in require at (eval 4) line 1.

and i have rebuilt from scratch several times now. i’m beginning to run
out of steam - can anyone have a good laugh at me, then tell me what i’m
doing wrong?

thanks.

tom yates
unix chap

Tom Yates wrote:

i am having severe trouble installing rt2.0.4 on a RedHat 7.1 system, with
a handbuilt perl (5.6.1), MySQL (3.23.40), apache (1.3.20) and mod_perl
(1.26).

every time i run “apachectl configtest” i get
k[root@rt /root]# /usr/local/apache/bin/apachectl configtest
perl_tie_hash: Can’t locate object method “TIEHASH” via package
"Apache::Table" (perhaps you forgot to load “Apache::Table”?)

Apache::Table seems to be part of mod_perl. Are you sure, that
mod_perl is not built as a DSO (which seems to give Problems)?

Ralph
Ralph Angenendt | "Military justice is to justice what military
http://www.letras.de | music is to music"
ra@letras.de | – Groucho Marx

Hello,

I am trying to learn the code of RT to make changes in it as per our
requirements. So I tried to duplicate on of its module of creating, editing
group.

I have included a new folder as groups1 in /share/html/Admin folder & made a
new package as groups1.pm & group1.pm & accordingly .

Everything went fine to some extent but now I am facing one problem as its
showing below error when included above changes

ERROR:

error: Can’t locate object method “new” via package “RT::Groups1” (perhaps
you forgot to load “RT::Groups1”?) at
/opt/rt3/share/html/Admin/Groups1/index.html line 40, line 134.
context:

36:

37:

38:

39:

<%INIT>

40:

my $Groups1 = RT::Groups1->new($session{‘CurrentUser’});

41:

$Groups1->LimitToUserDefinedGroups();

42:

my $title = loc(‘Select a group_newcustomized’);

43:

my $caption;

44:

code stack: /opt/rt3/share/html/Admin/Groups1/index.html:40
/opt/rt3/share/html/Admin/autohandler:49
/opt/rt3/share/html/autohandler:315

Can any body help what might be the problem?

Hello,

I am trying to learn the code of RT to make changes in it as per our
requirements. So I tried to duplicate on of its module of creating,
editing group.

I have included a new folder as groups1 in /share/html/Admin folder &
made a new package as groups1.pm & group1.pm & accordingly .

Everything went fine to some extent but now I am facing one problem as
its showing below error when included above changes

ERROR:

error: Can’t locate object method “new” via package “RT::Groups1”
(perhaps you forgot to load “RT::Groups1”?) at
/opt/rt3/share/html/Admin/Groups1/index.html line 40, line 134.
context:

36:

37:

38:

39:

<%INIT>

40:

my $Groups1 = RT::Groups1->new($session{‘CurrentUser’});

41:

$Groups1->LimitToUserDefinedGroups();

42:

my $title = loc(‘Select a group_newcustomized’);

43:

my $caption;

44:

code stack: /opt/rt3/share/html/Admin/Groups1/index.html:40
/opt/rt3/share/html/Admin/autohandler:49
/opt/rt3/share/html/autohandler:315

Can any body help what might be the problem?

Line 40 should be

40:

my $Groups1 = RT::Group->new($session{‘CurrentUser’});

RT:Group is the type and $Groups1 is an instance of that type.

Jeff