System error

error:  Can't locate object method "session" via package "HTML::Mason::Request::CGI" at /home/chezskud/websites/elizabethangeek.com/components/footer.mhtml line 5.
context: 
1:  <hr>
2:  <small>
3:  <p>
4: 
5:  % if ($m->session->{username}) {
6:  Logged in as <% $m->session->{username} %> - <a href="/users/logout.mhtml">Logout</a>
7:  % } else {
8:  <a href="/users/login.mhtml">Login</a> |
9:  <a href="/users/signup.mhtml">Create new account</a>
... 
code stack:  /home/chezskud/websites/elizabethangeek.com/components/footer.mhtml:5
/home/chezskud/websites/elizabethangeek.com/about.mhtml:67
/home/chezskud/websites/elizabethangeek.com/autohandler:48
raw error






























Can't locate object method "session" via package "HTML::Mason::Request::CGI" at /home/chezskud/websites/elizabethangeek.com/components/footer.mhtml line 5.


Trace begun at /home/chezskud/perl/lib/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method "session" via package "HTML::Mason::Request::CGI" at /home/chezskud/websites/elizabethangeek.com/components/footer.mhtml line 5.^J') called at /home/chezskud/websites/elizabethangeek.com/components/footer.mhtml line 5
HTML::Mason::Commands::__ANON__ at /home/chezskud/perl/lib/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x88b7790)') called at /home/chezskud/perl/lib/HTML/Mason/Request.pm line 1256
eval {...} at /home/chezskud/perl/lib/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef) called at /home/chezskud/websites/elizabethangeek.com/about.mhtml line 67
HTML::Mason::Commands::__ANON__ at /home/chezskud/perl/lib/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x84a0a3c)') called at /home/chezskud/perl/lib/HTML/Mason/Request.pm line 1256
eval {...} at /home/chezskud/perl/lib/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, undef) called at /home/chezskud/perl/lib/HTML/Mason/Request.pm line 915
HTML::Mason::Request::call_next('HTML::Mason::Request::CGI=HASH(0x8630e18)') called at /home/chezskud/websites/elizabethangeek.com/autohandler line 48
HTML::Mason::Commands::__ANON__ at /home/chezskud/perl/lib/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x88b36cc)') called at /home/chezskud/perl/lib/HTML/Mason/Request.pm line 1251
eval {...} at /home/chezskud/perl/lib/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, undef) called at /home/chezskud/perl/lib/HTML/Mason/Request.pm line 460
eval {...} at /home/chezskud/perl/lib/HTML/Mason/Request.pm line 460
eval {...} at /home/chezskud/perl/lib/HTML/Mason/Request.pm line 412
HTML::Mason::Request::exec('HTML::Mason::Request::CGI=HASH(0x8630e18)') called at /home/chezskud/perl/lib/HTML/Mason/CGIHandler.pm line 192
eval {...} at /home/chezskud/perl/lib/HTML/Mason/CGIHandler.pm line 192
HTML::Mason::Request::CGI::exec('HTML::Mason::Request::CGI=HASH(0x8630e18)') called at /home/chezskud/perl/lib/HTML/Mason/Interp.pm line 342
HTML::Mason::Interp::exec(undef, undef) called at /home/chezskud/perl/lib/HTML/Mason/CGIHandler.pm line 123
eval {...} at /home/chezskud/perl/lib/HTML/Mason/CGIHandler.pm line 123
HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH(0x8630414)', 'HASH(0x814cbb8)') called at /home/chezskud/perl/lib/HTML/Mason/CGIHandler.pm line 63
HTML::Mason::CGIHandler::handle_request('HTML::Mason::CGIHandler=HASH(0x8630414)') called at mason.cgi line 23