[freeside] Errors with New Install

ivan ivan at 420.am
Tue Apr 10 03:01:36 PDT 2001


On Tue, Mar 27, 2001 at 04:55:24PM -0800, rdailey at colusanet.com wrote:
> As far as I can tell, Business::CreditCard doesn't install correctly any of 
> the ways I tried.

I took over maintenance of Business::CreditCard from Jon Orwant and
uploaded a version with a proper installation support on February 1st.
If you're having problems with Business::CreditCard 0.22 or above, report 
them to my email address listed in the documentation.  If your CPAN
mirror is not giving you the 0.22 version, you should switch to one that
isn't months out-of-date.

>  This is probably the worst possible fix,

Actually, manually copying CreditCard.pm into place was normal
installation procedure until recently.  :)

> but it worked 
> for me:
> 
> I copied
> 
> /usr/libdata/perl5/site_perl/CreditCard.pm
> to
> /usr/libdata/perl5/site_perl/Business/CreditCard.pm (I think I had to make 
> the Business subfolder)
> 
> This fixed THAT problem, although I don't think that's the best 
> method.  You might also think about creating a symbolic link, maybe.
> 
> As for the REMOTE_USER, it means that you need to set up AUTH on your 
> freeside htdocs folder.  You should probably change the .htaccess file in 
> the /htdocs/ folder to include these lines:
> 
> Deny from all
> AuthType Basic
> AuthUserFile /path/to/password/file.pwd
> AuthName "Freeside Billing Server For Company Name"
> Require valid-user
> Satisfy any
> 
> This way, when you go to open the site, it will prompt you for a username 
> and password (from the pwd file) and will then use that username (which 
> corresponds to the username in the /usr/local/etc/freeside/mapsecrets file) 
> to map it to the right datasource.  For example, you have the username 
> "admin".  The mapsecrets file reads:
> 
> admin freeside
> 
> The file freeside has:
> DBI:mysql:database=freeside
> freeside
> password
> 
> Get it?
> 
> >Ok,
> >
> >I beleive I got all the wrappers, and everything finally set up... the one
> >page I was working with originally svc_acct_pop.cgi gives me this simple
> >error:
> >
> >fatal: Can't get REMOTE_USER! at
> >/usr/local/lib/perl5/site_perl/5.005/FS/UID.pm line 171.
> >
> >while, the others (specifically acocunt info) spew TONS of data... starting
> >off with this
> >
> >[Sun Mar 25 18:50:05 2001] svc_acct.pm: [Sun Mar 25 18:50:05 2001]
> >svc_acct.pm: [Sun Mar 25 18:50:05 2001] svc_Common.pm: [Sun Mar 25 18:50:05
> >2001] svc_Common.pm: [Sun Mar 25 18:50:05 2001] cust_svc.pm: [Sun Mar 25
> >18:50:05 2001] cust_svc.pm: [Sun Mar 25 18:50:05 2001] cust_pkg.pm: [Sun Mar
> >25 18:50:05 2001] cust_pkg.pm: [Sun Mar 25 18:50:05 2001] cust_main.pm: [Sun
> >Mar 25 18:50:05 2001] cust_main.pm: [Sun Mar 25 18:50:05 2001]
> >CreditCard.pm: Can't locate Business/CreditCard.pm in @INC (@INC
> >
> >which would lead me to beleive that the Business::CrediCard package wasnt
> >instaleld properly, but upon re-installing I get the same info.
> >
> >*ANY* help would be appreciated.
> >
> >WEs
> 
> 
> Rick Dailey
> ColusaNET
> <mailto:%2F%2Frdailey at colusanet.com>rdailey at colusanet.com
> 
> 
> www.colusanet.com
> xDSL, ISDN, and Dial-up throughout the US and Canada, Wireless on the Sutter Buttes, N. CAL.

-- 
meow
_ivan



More information about the freeside-users mailing list