Please help me... I have had no response yet

Hi guys, I am getting this error when trying to create my first ticket…
Can anyone help?

error in file: /opt/rt2/bin/webmux.pl
line 94: Can’t call method “cgi_object” on an undefined value
context:

90: $RT::Mason::r->content_type($type);
91: }
92:
93: sub CGIObject {
94: $m->cgi_object();
95: }
96:
97: }
98:

component stack: /Ticket/Display.html [standard]
/autohandler [standard]
code stack: /opt/rt2/bin/webmux.pl:94
/opt/rt2/lib/RT/Interface/Web.pm:369
/opt/rt2/WebRT/data/obj/STANDARD/Ticket/Display.html:50
/opt/rt2/WebRT/data/obj/STANDARD/autohandler:69

Here is the raw error dump:

error while executing /Ticket/Display.html [standard]:
Can’t call method “cgi_object” on an undefined value at
/opt/rt2/bin/webmux.pl line 94, line 48.
HTML::Mason::Interp::ANON(‘Can’t call method “cgi_object” on an
undefined value at /opt/rt…’) called at /opt/rt2/bin/webmux.pl line 94
HTML::Mason::Commands::CGIObject() called at
/opt/rt2/lib/RT/Interface/Web.pm line 369
HTML::Mason::Commands::MakeMIMEEntity(‘Subject’, ‘ta’, ‘From’, undef,
‘Cc’, ‘’, ‘Body’, ‘rfgsdv’, …) called at
/opt/rt2/WebRT/data/obj/STANDARD/Ticket/Display.html line 50
HTML::Mason::Commands::ANON(‘Due’, ‘’, ‘new-RefersTo’, ‘’, ‘Status’,
‘new’, ‘MemberOf-new’, ‘’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x99b98a
8)’, ‘Due’, ‘’, ‘new-RefersTo’, ‘’, ‘Status’, ‘new’, ‘MemberOf-new’, …)
called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653
require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm
line 653
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x998ab
a8)’, ‘HTML::Mason::Component::FileBased=HASH(0x99b98a8)’, ‘Due’, ‘’,
‘new-RefersTo’, ‘’, ‘Status’, ‘new’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 316
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0x
998aba8)’) called at /opt/rt2/WebRT/data/obj/STANDARD/autohandler line 69
HTML::Mason::Commands::ANON(‘Due’, ‘’, ‘new-RefersTo’, ‘’, ‘Status’,
‘new’, ‘MemberOf-new’, ‘’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x984ce3
0)’, ‘Due’, ‘’, ‘new-RefersTo’, ‘’, ‘Status’, ‘new’, ‘MemberOf-new’, …)
called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653
require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm
line 653
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0x998ab
a8)’, ‘HASH(0x999d2d4)’,
‘HTML::Mason::Component::FileBased=HASH(0x984ce30)’, ‘Due’, ‘’,
‘new-RefersTo’, ‘’, ‘Status’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 159
require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm
line 159
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x998ab
a8)’, ‘/Ticket/Display.html’, ‘Due’, ‘’, ‘new-RefersTo’, ‘’, ‘Status’,
‘new’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 914
HTML::Mason::ApacheHandler::handle_request_1(‘HTML::Mason::ApacheHandler=HAS
H(0x97c89b8)’, ‘Apache=SCALAR(0x9987ec4)’,
‘HTML::Mason::Request::ApacheHandler=HASH(0x998aba8)’, undef) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 560
require 0 called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 560
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(
0x97c89b8)’, ‘Apache=SCALAR(0x9987ec4)’) called at /opt/rt2/bin/webmux.pl
line 165
RT::Mason::handler(‘Apache=SCALAR(0x9987ec4)’) called at /dev/null line
0
require 0 called at /dev/null line 0

Hi.
I’m probably not the right person to answer this, (not a clue about
Mason), but here’s my two cents.

I’d look in the direction of the correct versions of Mason and other
libraries. I know RT doesn’t like the latest (unstable) release of
Mason - so you’ll need to check that the versions you have are the
ones that the “testdeps” and “fixdeps” scripts require.

I believe the’re a FAQ on how to uninstall CPAN modules (look on
perl.com then CPAN).

I wouldn’t say you have an apache / perl problem, as you’re getting
the login page up.

Y.---- On 9 Apr 2002, at 13:30, Jacques Grove wrote: ----

Hi guys, I am getting this error when trying to create my first
ticket… Can anyone help?

error in file: /opt/rt2/bin/webmux.pl
line 94: Can’t call method “cgi_object” on an undefined value
context:

90: $RT::Mason::r->content_type($type);
91: }
92:
93: sub CGIObject {
94: $m->cgi_object();
95: }
96:
97: }
98:

component stack: /Ticket/Display.html [standard]
/autohandler [standard]
code stack: /opt/rt2/bin/webmux.pl:94
/opt/rt2/lib/RT/Interface/Web.pm:369
/opt/rt2/WebRT/data/obj/STANDARD/Ticket/Display.html:50
/opt/rt2/WebRT/data/obj/STANDARD/autohandler:69

Here is the raw error dump:

error while executing /Ticket/Display.html [standard]:
Can’t call method “cgi_object” on an undefined value at
/opt/rt2/bin/webmux.pl line 94, line 48.
HTML::Mason::Interp::ANON(‘Can't call method “cgi_object” on an
undefined value at /opt/rt…’) called at /opt/rt2/bin/webmux.pl line
94 HTML::Mason::Commands::CGIObject() called at
/opt/rt2/lib/RT/Interface/Web.pm line 369
HTML::Mason::Commands::MakeMIMEEntity(‘Subject’, ‘ta’, ‘From’, undef,
‘Cc’, ‘’, ‘Body’, ‘rfgsdv’, …) called at
/opt/rt2/WebRT/data/obj/STANDARD/Ticket/Display.html line 50
HTML::Mason::Commands::ANON(‘Due’, ‘’, ‘new-RefersTo’, ‘’,
‘Status’, ‘new’, ‘MemberOf-new’, ‘’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x
99b98a 8)’, ‘Due’, ‘’, ‘new-RefersTo’, ‘’, ‘Status’, ‘new’,
‘MemberOf-new’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653 require
0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line
653
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0
x998ab a8)’, ‘HTML::Mason::Component::FileBased=HASH(0x99b98a8)’,
‘Due’, ‘’, ‘new-RefersTo’, ‘’, ‘Status’, ‘new’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 316
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=H
ASH(0x 998aba8)’) called at
/opt/rt2/WebRT/data/obj/STANDARD/autohandler line 69
HTML::Mason::Commands::ANON(‘Due’, ‘’, ‘new-RefersTo’, ‘’,
‘Status’, ‘new’, ‘MemberOf-new’, ‘’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x
984ce3 0)’, ‘Due’, ‘’, ‘new-RefersTo’, ‘’, ‘Status’, ‘new’,
‘MemberOf-new’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653 require
0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line
653
HTML::Mason::Request::comp(‘HTML::Mason::Request::ApacheHandler=HASH(0
x998ab a8)’, ‘HASH(0x999d2d4)’,
‘HTML::Mason::Component::FileBased=HASH(0x984ce30)’, ‘Due’, ‘’,
‘new-RefersTo’, ‘’, ‘Status’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 159 require
0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line
159
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0
x998ab a8)’, ‘/Ticket/Display.html’, ‘Due’, ‘’, ‘new-RefersTo’, ‘’,
‘Status’, ‘new’, …) called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 914
HTML::Mason::ApacheHandler::handle_request_1(‘HTML::Mason::ApacheHandl
er=HAS H(0x97c89b8)’, ‘Apache=SCALAR(0x9987ec4)’,
‘HTML::Mason::Request::ApacheHandler=HASH(0x998aba8)’, undef) called
at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 560
require 0 called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 560
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler
=HASH( 0x97c89b8)’, ‘Apache=SCALAR(0x9987ec4)’) called at
/opt/rt2/bin/webmux.pl line 165
RT::Mason::handler(‘Apache=SCALAR(0x9987ec4)’) called at /dev/null
line 0 require 0 called at /dev/null line 0


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

Yan Fitterer
IT Manager, Royal Academy of Music
E-mail : y.fitterer@ram.ac.uk
Marylebone Rd, London, NW1 5HT
Phone (+44) 20 7873 7365 Fax (+44) 20 7873 7364