[freeside-users] Error when adding customer
Richard Siddall
richard.siddall at elirion.net
Wed Jan 31 19:21:59 PST 2007
Charles Sprickman wrote:
> Hello,
>
> I just recently got Freeside mostly running. When I click on the "new
> customer" link, I get the following error:
>
> error: Can't locate object method "send_http_header" via package
> "Apache2::RequestRec" at /usr/local/lib/perl5/site_perl/5.8.8/FS/CGI.pm
> line 171.
> context:
> ...
> 167: =cut
> 168:
> 169: sub eidiot {
> 170: warn "eidiot depriciated";
> 171: $HTML::Mason::Commands::r->send_http_header
> 172: if defined $HTML::Mason::Commands::r;
> 173: idiot(@_);
> 174: &myexit();
> 175: }
> ...
> code stack: /usr/local/lib/perl5/site_perl/5.8.8/FS/CGI.pm:171
> /home/freeside/edit/cust_main.cgi:94
> /home/freeside/autohandler:1
>
> Any ideas?
>
That code is for mod_perl 1.x. Either replace Apache 2.x / mod_perl 2.x
with Apache 1.x / mod_perl 1.x, or apply the mod_perl 2.x patch from
http://www.sisd.com/pipermail/freeside-devel/2005-September/000521.html
Regards,
Richard.
More information about the freeside-users
mailing list