[freeside] Quick Charge Error

Rick Eicher II rick at pbol.net
Wed Jul 17 08:08:41 PDT 2002


> -----Original Message-----
> From: ivan [mailto:ivan at 420.am]
> Sent: Thursday, July 11, 2002 7:52 PM
> To: ivan-freeside at sisd.com
> Subject: Re: [freeside] Quick Charge Error
> 
> On Thu, Jul 11, 2002 at 08:32:20AM -0500, Rick Eicher II wrote:
> > Hello all,
> >
> > I am making some head way on really tracking down my instant charge
> > probl= em.=20 When I try to do a "One time charge" I get this in my
> > browser. "Illegal o= r=20 empty (numeric) pkgpart:"
> >
> > With some , I have discovered that '$self->pkgpart' is null on line
141
> > o= f=20 file part_pkg.pm.
> 
> A pkgpart should have been generated by the "SUPER::insert" call on
line
> 129 of part_pkg.pm - see the insert subroutine in Record.pm around
line
> 474.
> 
> If your installation isn't generating primary keys on inserts, you've
got
> problems far larger in scope than the "One time charge" feature not
> working.  I can't imagine how that could happen unless you removed the
> primary key in the database and ran dbdef-create.
> 
> --
> _ivan

Just so every one knows the problem I was having was caused by not
having a primary key defined for the 'part_pkg' table. I did not
redefine the primary key when I was working. After defining this one
time charge works great.

Thanks for all the help,
Rick Eicher II





More information about the freeside-users mailing list