[rt-users] HTML:Mason Error

Jacques Grove jacques at mindspring.co.za
Mon Apr 8 06:26:50 EDT 2002


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






More information about the rt-users mailing list