[freeside] Errors with New Install

rdailey at colusanet.com rdailey at colusanet.com
Tue Mar 27 16:54:55 PST 2001


As far as I can tell, Business::CreditCard doesn't install correctly any of 
the ways I tried.  This is probably the worst possible fix, 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.



More information about the freeside-users mailing list