[rt-users] Can't call method "FETCH"

Michael Hess mhess at greenhillsschool.org
Tue Aug 17 10:51:34 EDT 2004


I have just installed rt.  the sbin/rt-test-dependances works fine with no
errors. I can start apache fine with this config:

<VirtualHost ip>
    ServerName host
    DocumentRoot /opt/rt3/share/html
    AddDefaultCharset UTF-8


    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl

    <Location />
        SetHandler perl-script
        PerlHandler RT::Mason
    </Location>
</VirtualHost>



However, when I go to the website I get
Trace begun at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Exceptions.pm line 131
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "FETCH" on
an undefined value at /usr/local/lib/perl5/5.8.5/CGI/Cookie.pm line
76.^J') called at /usr/local/lib/perl5/5.8.5/CGI/Cookie.pm line 76
CGI::Cookie::get_raw_cookie at /usr/local/lib/perl5/5.8.5/CGI/Cookie.pm
line 43
CGI::Cookie::fetch('CGI::Cookie') called at
/opt/rt3/share/html/Elements/SetupSessionCookie line 27
HTML::Mason::Commands::__ANON__ at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x931096c)')
called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line
1074
eval {...} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 1068
HTML::Mason::Request::comp(undef, undef) called at
/opt/rt3/share/html/autohandler line 57
HTML::Mason::Commands::__ANON__ at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x92e4574)')
called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line
1069
eval {...} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 338
eval {...} at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
line 297
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x92f28e4)')
called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm
line 134
eval {...} at
/usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x92f28e4)')
called at /usr/local/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm
line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x9215368)',
'Apache=SCALAR(0x8882d40)') called at /opt/rt3/bin/webmux.pl line 105
eval {...} at /opt/rt3/bin/webmux.pl line 105
RT::Mason::handler('Apache=SCALAR(0x8882d40)') called at /dev/null line 0
eval {...} at /dev/null line 0




Does anyone have an idea as to why?

I am running mod_perl1 with mysql




More information about the rt-users mailing list