[freeside] Getting mod_perl to work

ivan ivan at 420.am
Tue Feb 1 10:42:59 PST 2000


I've never seen an error message like that before.

Line 71 of cust_main.cgi is:

  use CGI::Carp qw(fatalsToBrowser);

I've seen mod_perl mess up line numbers, so that might be off.  In any
case, try to isolate the problem to the specific statment that is causing
the problem, i.e. make a script that's nothing but that line, and see if
you can trigger the error.

Once you've got a simple program that demonstrates the error, post it and
a complete description of your problem to the mod_perl mailing list.  Let
us know what you find out.

On Tue, Feb 01, 2000 at 11:54:12AM -0600, Brian Walters wrote:
> I've got a RedHat 6.1 system working with Freeside for quite a few months
> now and things seem to be pretty good. I've had to make a few changes to the
> source to handle things that we do differently but nothing very severe.
> 
> My problem is in trying to get mod_perl and freside to work together. We're
> using version 1.2.2 of Freeside and mod_perl-1.19-2. I've made the change to
> httpd.conf in the Addhandler and things seem to be trying use mod_perl.
> However I can't get anywhere except the main page without getting errors
> like this in my error_log file.
> [Tue Feb  1 11:01:32 2000] [warn] Apache::Registry: T switch ignored, enable
> with 'PerlTaintCheck On'
> 
> [Tue Feb  1 11:01:33 2000] [error] [Tue Feb  1 11:01:33 2000] cust_main.cgi:
> Can't upgrade that kind of scalar at /usr/lib/perl5/5.00503/Exporter.pm line
> 157.
> [Tue Feb  1 11:01:33 2000] cust_main.cgi: BEGIN failed--compilation aborted
> at /home/httpd/html/freeside/search/cust_main.cgi line 71.
> 
> Any help on getting mod_perl to work would be appreciated. I like freeside
> but dread adding new customers as it's so slow.
> 
> Brian Walters                                        281-494-UNIX(8649)
> -----------------------------------------------------------------------
> www.MyLinuxISP.com                       A Friendly ISP for Linux Users
> 
> 

-- 
_ivan



More information about the freeside-users mailing list