[freeside] illegal popnum ..

ivan ivan at 420.am
Mon Mar 6 08:39:14 PST 2000


On Mon, Mar 06, 2000 at 09:20:24AM -0700, Rodolfo Estrada wrote:
> 
> Hi!
> 
> I am running version 1.2.2 on a sparc 5 with solaris 2.6, perl 5.005_03 
> When I tried to create an account I get an illegal popnum error. My pop
> info is:
> 
> popnum 1
> city Boulder
> State CO
> Area code 303
> Exchange  381
> 
> Any ideas on what I am doing wrong,

Nope.  Is there a default or fixed popnum for this service definition?  Do
you get a POP select box?  What do you select?

Try applying this patch, reinstall the FS/ perl modules, and then tell me
what the error you receive is, _exactly_, with cut-and-paste. 

Index: svc_acct.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_acct.pm,v
retrieving revision 1.2
diff -r1.2 svc_acct.pm
351c351
<   $recref->{popnum} =~ /^(\d*)$/ or return "Illegal popnum";
---
>   $recref->{popnum} =~ /^(\d*)$/ or return "Illegal popnum: ".$recref->{popnum};

-- 
meow
_ivan



More information about the freeside-users mailing list