[rt-users] "Can't call cgi_object method unless CGI.pm was used to handle incoming arguments" error when I try to create a new ticket

Dennis L. Cumro dennis at summitdesign.net
Fri Mar 29 14:21:46 EST 2002


Hi Rt users,

I'm new to rt having just installed it yesterday.  I am having problems adding tickets.  When I fill out the form and press "create" button I get a mason error: 

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


error while executing /Ticket/Display.html [standard]:
Can't call cgi_object method unless CGI.pm was used to handle incoming arguments.
HTML::Mason::Interp::__ANON__('Can\'t call cgi_object method unless CGI.pm was used to handle i...') called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 55
HTML::Mason::Request::ApacheHandler::cgi_object('HTML::Mason::Request::ApacheHandler=HASH(0x9083190)') called at /usr/local/rt2/bin/webmux.pl line 100
HTML::Mason::Commands::CGIObject() called at /usr/local/rt2/lib/RT/Interface/Web.pm line 369
HTML::Mason::Commands::MakeMIMEEntity('Subject', '', 'From', undef, 'Cc', '', 'Body', 'dsfdfasdf', ...) called at /usr/local/rt2/WebRT/data/obj/STANDARD/Ticket/Display.html line 50
HTML::Mason::Commands::__ANON__('Due', '', 'Status', 'new', 'new-RefersTo', '', 'MemberOf-new', '', ...) called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9095d3c)', 'Due', '', 'Status', 'new', 'new-RefersTo', '', 'MemberOf-new', ...) called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 653
eval {...} called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 653
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9083190)', 'HTML::Mason::Component::FileBased=HASH(0x9095d3c)', 'Due', '', 'Status', 'new', 'new-RefersTo', '', ...) called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 316
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x9083190)') called at /usr/local/rt2/WebRT/data/obj/STANDARD/autohandler line 69
HTML::Mason::Commands::__ANON__('Due', '', 'Status', 'new', 'new-RefersTo', '', 'MemberOf-new', '', ...) called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9094cbc)', 'Due', '', 'Status', 'new', 'new-RefersTo', '', 'MemberOf-new', ...) called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 653
eval {...} called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 653
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x9083190)', 'HASH(0x9081560)', 'HTML::Mason::Component::FileBased=HASH(0x9094cbc)', 'Due', '', 'Status', 'new', 'new-RefersTo', ...) called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 159
eval {...} called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 159
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9083190)', '/Ticket/Display.html', 'Due', '', 'Status', 'new', 'new-RefersTo', '', ...) called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 914
HTML::Mason::ApacheHandler::handle_request_1('HTML::Mason::ApacheHandler=HASH(0x889e56c)', 'Apache=SCALAR(0x90a278c)', 'HTML::Mason::Request::ApacheHandler=HASH(0x9083190)', undef) called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 560
eval {...} called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 560
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x889e56c)', 'Apache=SCALAR(0x90a278c)') called at /usr/local/rt2/bin/webmux.pl line 172
RT::Mason::handler('Apache=SCALAR(0x90a278c)') called at /dev/null line 0
eval {...} called at /dev/null line 0
It seems that I have problems on pages with forms but not pages with links.  I tried replacing:
use HTML::Mason::ApacheHandler (args_method => 'CGI'); 
withuse HTML::Mason::ApacheHandler (args_method=>'mod_perl')
in webmux.pl but that didn't help.  

I am using rt2-0-13.  Thanks in advance for any help.

Dennis Cumro


____________________________________________
Summit Communication Design
6065 S. Quebec St. Suite 202
Englewood, CO 80111
Phone:  303-290-1898
FAX: 303-265-9379
http://www.SummitDesign.net


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20020329/7332639d/attachment.htm>


More information about the rt-users mailing list