System error
| error: |
Can't locate object method "header_out" via package "Apache2::RequestRec" at /product/share/bookfinder/site/about/mentions/index.mhtml line 100.
|
| context: |
| ... |
|
| 96: |
$m->clear_buffer; |
| 97: |
$r->method('GET'); |
| 98: |
$r->headers_in->unset('Content-length'); |
| 99: |
$r->content_type('text/html'); |
| 100: |
$r->header_out( 'Location' => $ENV{BF_SITE_URL} . loc('/') ); |
| 101: |
$m->abort(301); |
| 102: |
} |
| 103: |
|
| 104: |
my $key; |
| ... |
|
|
| code stack: |
/product/share/bookfinder/site/about/mentions/index.mhtml:100
|
raw error
Can't locate object method "header_out" via package "Apache2::RequestRec" at /product/share/bookfinder/site/about/mentions/index.mhtml line 100.
Trace begun at /usr/local/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method "header_out" via package "Apache2::RequestRec" at /product/share/bookfinder/site/about/mentions/index.mhtml line 100.^J') called at /product/share/bookfinder/site/about/mentions/index.mhtml line 100
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f181995e388)') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl5/HTML/Mason/Request.pm line 484
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 484
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 436
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f181b56f048)') called at /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f181b56f048)') called at /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f181474cbd8)', 'Apache2::RequestRec=SCALAR(0x7f18198c8c40)') called at (eval 1103) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7f18198c8c40)') called at -e line 0
eval {...} at -e line 0