[freeside] Error when using "bill now" on prorated account

Rob Charles rob at thehostmasters.com
Thu Jul 10 12:02:23 PDT 2003


I just got the same thing,  with the same info except I am on Sun OS 2.7 and on rc4

BUT it still actually does "Bill Now" ... it's just with that error! >From what I can see


Rob Charles
TheHostMasters
Montreal, Canada
514-846-0006
Rob at TheHostMasters.com
http://www.TheHostMasters.com



  ----- Original Message ----- 
  From: Billing 
  To: ivan-freeside at sisd.com 
  Sent: Thursday, July 10, 2003 2:52 PM
  Subject: [freeside] Error when using "bill now" on prorated account


  Hello,

   

  I'm hoping to get some tips as to how I might squash this error. We're currently using Freeside version 1.4.1rc3, Perl 5.8.0, Debian 2.4.20, Apache 1.3.27, PostgreSQL 7.3.2

  Everything is working with the exception of prorated billing. When I hit bill now on a prorated account I get this error.

   

  Error eval-ing part_pkg->recur pkgpart 1(expression my $mnow = $sdate; my ($sec,$min,$hour,$mday,$mon,$year) = (localtime($sdate) )[0,1,2,3,4,5]; my $mstart = timelocal(0,0,0,1,$mon,$year); my $mend = timelocal(0,0,0,1, $mon == 11 ? 0 : $mon+1, $year+($mon==11)); $sdate = $mstart; ( $part_pkg->freq - 1 ) * 17.50 / $part_pkg->freq + 17.50 / $part_pkg->freq * ($mend-$mnow) / ($mend-$mstart) ; ): Can't call method "can" without a package or object reference at /usr/local/share/perl/5.8.0/FS/Record.pm line 430.

   

   

  Any help would be appreciated as I have been unable to locate any really similar cases in the threads or in the documentation.

   

  Vance

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://420.am/pipermail/freeside-users/attachments/20030710/3cb6edcd/attachment.html


More information about the freeside-users mailing list