[freeside-users] Viewing Typeset
Richard Siddall
richard.siddall at elirion.net
Sun Oct 9 06:23:19 PDT 2005
sales at michianawireless.com wrote:
> And still get the error which changed to this:
>
> System error
>
> error: Can't locate object method "header_out" via package
> "Apache2::RequestRec" at /usr/lib/perl5/site_perl/5.8.6/FS/CGI.pm line 94.
>
Looks like the same error to me.
> context: ...
> 90: ## is this the correct pacakge for $r ??? for 1.0x and 1.1x ?
> 91: if ( $header =~ /^Content-Type$/ ) {
> 92: $HTML::Mason::Commands::r->content_type($value);
> 93: } else {
> 94: # $HTML::Mason::Commands::r->header_out( $header => $value );
> 95: # Modified for mod_perl 1.99+
> 96: $HTML::Mason::Commands::r->headers_out->{ $header } = $value;
> 97: }
> 98: } else {
> ...
Doesn't match the code.
This looks like a Mason caching problem; it's showing you the new code
and using the old compiled code. Stop Apache, clear out the Mason
cache, and then start Apache again.
Regards,
Richard.
More information about the freeside-users
mailing list