Undefined subroutine

First of all, my apologies if I am positing to the wrong list.

I just installed the latest version of RT 3.8.4 on a dev box at work
(Redhat). I’ve configured httpd.con and RT_SiteConfig.pm but am
unable to get to the actual web interface. I checked the httpd error
logs and saw this:

Undefined subroutine &RT::System::AddRights called at /opt/rt3/
bin/…/lib/RT/Dashboard.pm line 77.\nCompilation failed in require
at /opt/rt3/bin/…/lib/RT.pm line 441.\n

I did a ‘make testdeps’ and it shows everything as found. The Mysql
user account works and httpd starts cleanly. Any ideas?

Thanks,
Alex

smime.p7s (2.39 KB)

Hi Alex,On Thu, Jul 02, 2009 at 08:47:50PM -0500, Alex Meyer wrote:

Undefined subroutine &RT::System::AddRights called at /opt/rt3/
bin/…/lib/RT/Dashboard.pm line 77.\nCompilation failed in require
at /opt/rt3/bin/…/lib/RT.pm line 441.\n

Do you have a local override of RT::System? A new function was added to
that package, AddRights, and you seem to be missing it. RT::Dashboard is
just one of the few places that uses it.

Shawn

Hi all,

I’v tried to install rt2.0 and i got 2 errors:

1.) I was unable to create the field int table “Transactions”
with the name “Data” within mysql 3.22.
every variations work “Data1, DataX…” but not Data.
upgrading to 3.23 solved this problem.

2.) I got the error:
“[error] Undefined subroutine &HTML::Mason::handler called.”
(webmux.pl is called from PerlRequire and has a subroutine
calld “handler”)
how can i debug this?

robert

di. robert rotman inode.graz
phone → ++43-(0)316 813141 ++43-(0)316 818600/15 ← fax
rotman@inode.at http://www.graz.inode.at/
this letter was written on recycled bytes used by deleted mail.

Be forewarned that rt2 isn’t stable yet. What rev of the RT2 dev code are you using?

Hi all,

I’v tried to install rt2.0 and i got 2 errors:

1.) I was unable to create the field int table “Transactions”
with the name “Data” within mysql 3.22.
every variations work “Data1, DataX…” but not Data.
upgrading to 3.23 solved this problem.

Hrm. We may end up needing to change the datatype. though mysql 3.23
may also be a requirement

2.) I got the error:
“[error] Undefined subroutine &HTML::Mason::handler called.”
(webmux.pl is called from PerlRequire and has a subroutine
calld “handler”)
how can i debug this?

can you show us the apropriate stanza of your apache config file?
Mine looks like this:

<VirtualHost 127.0.0.1>
DocumentRoot /opt/rt-1.3/WebRT/html
ServerName localhost
ServerAlias mason
PerlRequire /opt/rt-1.3/bin/webmux.pl

SetHandler perl-script
PerlHandler RT::Mason

robert


di. robert rotman inode.graz
phone → ++43-(0)316 813141 ++43-(0)316 818600/15 ← fax
rotman@inode.at http://www.graz.inode.at/

this letter was written on recycled bytes used by deleted mail.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

jesse reed vincent — root@eruditorum.orgjesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
“If IBM wanted to make clones, we could make them cheaper and faster than
anyone else!” - An IBM Rep. visiting Vassar College’s Comp Sci Department.

1.) I was unable to create the field int table “Transactions”
with the name “Data” within mysql 3.22.
every variations work “Data1, DataX…” but not Data.
upgrading to 3.23 solved this problem.

Hrm. We may end up needing to change the datatype. though mysql 3.23
may also be a requirement

it was ounly for your information…

SetHandler perl-script PerlHandler RT::Mason

thank you,
i’m not quite familiar with those perl-hendlers:(

iv got “PerlHandler HTML::Mason” from the README…
maby you should change this to avoid email-traffic;)

one mor question which i should maby ask in the apache mailinglist:

when i go to the html-directory i got all references to the main host not
to the vhost.
eg:

action="http://my.main.host//webrt//Ticket/Display.html

so the whole thing dosnt work:(

do you know where to change this?

robert

1.) I was unable to create the field int table “Transactions”
with the name “Data” within mysql 3.22.
every variations work “Data1, DataX…” but not Data.
upgrading to 3.23 solved this problem.

Hrm. We may end up needing to change the datatype. though mysql 3.23
may also be a requirement

it was ounly for your information…

It’s good to know! Thanks!

SetHandler perl-script PerlHandler RT::Mason

thank you,
i’m not quite familiar with those perl-hendlers:(

iv got “PerlHandler HTML::Mason” from the README…
maby you should change this to avoid email-traffic;)

What version of the RT2 distribution are you running? Current
READMEs say RT::Mason. At least I think they do :confused:

one mor question which i should maby ask in the apache mailinglist:

when i go to the html-directory i got all references to the main host not
to the vhost.
eg:

action="http://my.main.host//webrt//Ticket/Display.html

That’s an undocumented bit in the config.pm that I’ve never touched
and need to redo. look for “WebRT Configuration” in etc/config.pm
and replace the variables as apropriate.

-j

so the whole thing dosnt work:(

do you know where to change this?

robert

jesse reed vincent — root@eruditorum.orgjesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
Transporters are so ungodly. if god had wanted us to travel great distances
instantaneously, he would have given us an internal
materialisation/dematerialisation control.
– Shoshe Cole