RT Error

Some of our users got the following RT error:

error in file: /usr/local/rt2/lib/RT/User.pm
line 1199: Can’t call method “Id” on an undefined value
context:

1195: AuthSystem ExternalContactInfoId
1196: ContactInfoSystem );
1197:
1198: #if the field is public, return it.
1199: if ($self->_Accessible($field, ‘public’)) {
1200: return($self->SUPER::_Value($field));
1201:
1202: }
1203: #If the user wants to see their own values, let them

component stack: /autohandler [standard]
code stack: /usr/local/rt2/lib/RT/User.pm:1199
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm:409
/usr/local/rt2/WebRT/data/obj/STANDARD/autohandler:63

misc info: error while executing /autohandler [standard]:

I think it somehow related to apache seesion because after I remove all
the sessiondata in /usr/local/rt2/WebRT/sessiondata, everytime works normal.

I am using:
Red Hat Linux release 7.3 (Valhalla)
RT ver 2.0.13
Server version: Apache/1.3.27
mysql Ver 11.18 Distrib 3.23.53a
Browser: Internet Explorer 5.0 or above, Netscape 6.0 or above, Opera

Many Thanks,
Ting
RT Administrator
Outblaze Ltd

Hi,

I just upgraded my RT from 3.8.1 to 3.8.4. Attempt to restart httpd
fails with the following error.
==> httpd/error_log <==
[Tue Jul 07 10:24:01 2009] [error] Can’t locate object method “Config”
via package “RT” at /opt/rt/default/bin/webmux.pl line 100.\nBEGIN
failed–compilation aborted at /opt/rt/default/bin/webmux.pl line
102.\nCompilation failed in require at (eval 210) line 1.\n
[Tue Jul 07 10:24:01 2009] [error] Can’t load Perl file:
/opt/rt/default/bin/webmux.pl for server rt.mydomain.ca:0, exiting…

Any help is greatly appreciated.

Cheers,
Hossein

_____ _____ _____ _ _ _ _ ____ Hossein Rafighi
|_ || _ \ | || | | || _/ || __|TRIUMF, 4004 Wesbrook Mall
| | | |
| ) | | | | | || || |__ Vancouver BC, Canada, V6T 2A3
| | | _ / | | | _/ || _/ || |Voice: (604) 222-1047
| | | | \ \ | | | || | | || | Fax: (604) 222-1074
|| || _|
_| _/ || |||_| Website: http://www.triumf.ca

I fixed this problem. For the records, just in case somebody else falls
into this trap! I have been happily using and upgrading RT for few
years. For some odd/historical reason my perl was loaded and called from
/usr/lib/perl5/vendor_perl/5.8.8/RT who knows since when? I did an
export of PERL5LIB to point at /opt/rt/lib and did a re-install and no
longer see the error message.

Cheers,
Hossein

Hossein Rafighi wrote:

Hi,

I just upgraded my RT from 3.8.1 to 3.8.4. Attempt to restart httpd
fails with the following error.
==> httpd/error_log <==
[Tue Jul 07 10:24:01 2009] [error] Can’t locate object method “Config”
via package “RT” at /opt/rt/default/bin/webmux.pl line 100.\nBEGIN
failed–compilation aborted at /opt/rt/default/bin/webmux.pl line
102.\nCompilation failed in require at (eval 210) line 1.\n
[Tue Jul 07 10:24:01 2009] [error] Can’t load Perl file:
/opt/rt/default/bin/webmux.pl for server rt.mydomain.ca:0, exiting…

Any help is greatly appreciated.

Cheers,
Hossein

_____ _____ _____ _ _ _ _ ____ Hossein Rafighi
|_ || _ \ | || | | || _/ || __|TRIUMF, 4004 Wesbrook Mall
| | | |
| ) | | | | | || || |__ Vancouver BC, Canada, V6T 2A3
| | | _ / | | | _/ || _/ || |Voice: (604) 222-1047
| | | | \ \ | | | || | | || | Fax: (604) 222-1074
|| || _|
_| _/ || |||_| Website: http://www.triumf.ca