[freeside] Cant Send invoice Email error

System Administrator - Andrew Wafula sysadmin at gatewayonline.co.ke
Thu Mar 7 05:20:07 PST 2002


Hi,

I manged to solve it. I went and installed MailTools version 1.15 and
removed Version 1.43 and it worked. Apparently 1.43 does not work with
Freeside 1.3.1.

Thanks for all your help. Maybe you can tell people not to use 1.43 and
stick to 1.15

Andrew

-----Original Message-----
From: System Administrator - Andrew Wafula
[mailto:sysadmin at gatewayonline.co.ke]
Sent: Thursday, March 07, 2002 15:37
To: ivan-freeside at sisd.com
Subject: RE: [freeside] Cant Send invoice Email error


Ok,

I managed to fix that thru the filesystem counters. However, I still get the
same error and no trace output from Debug.

Software error:
Can't send invoice email! at /usr/lib/perl5/site_perl/5.6.0/FS/cust_main.pm
line 838.

since we added one line.

I tried changing the value in smtpmachine from mail.gatewayonline.co.ke to
just mail but it wont work still. Would it work if I tried putting an IP
Address instead or do you think we look for the problem elsewhere.

Andrew


-----Original Message-----
From: ivan [mailto:ivan at 420.am]
Sent: Thursday, March 07, 2002 15:00
To: ivan-freeside at sisd.com
Subject: Re: [freeside] Cant Send invoice Email error


guessing:

The error is coming from cust_main.pm (1.3.1) line 736, where the
cust_main::bill is attempting to insert a duplicate tax line item for
invoices 13, 14 and 15.  I can't imagine how to convince it to do that
other than by deleting invoices (cust_bill records) manually in the
database, not deleting their line items (cust_bill_pkg records), and then
resetting the filesystem counters.

I don't think it's related to adding 'Debug'.

On Thu, Mar 07, 2002 at 01:46:33PM +0300, System Administrator - Andrew
Wafula wrote:
> Hello,
>
> This is what I get when I try to bill another customer after the changes
you
> asked me to make.
>
> <cut>
> Error processing your request
> Your request could not be processed because of the following error:
>
> Duplicate entry '0-15' for key 1 for customer #185
> <uncut>
>
> I have tried it on three different customers and got 0-13, 0-14 and now
> 0-15.
>
> Thanks again,
>
> Andrew
>
> -----Original Message-----
> From: ivan [mailto:ivan at 420.am]
> Sent: Thursday, March 07, 2002 12:31
> To: ivan-freeside at sisd.com
> Subject: Re: [freeside] Cant Send invoice Email error
>
>
> Make sure the `smtpmachine' configuration value is set.
>
> Add
>
>   'Debug' => 1,
>
> to cust_main.pm as follows, reinstall the FS perl modules & restart
> apache, and report the full SMTP trace
>
>           my $message = new Mail::Internet (
>             'Header' => $header,
>             'Body' => [ $cust_bill->print_text ], #( date)
>             'Debug' => 1,
>           );
>
>
> On Thu, Mar 07, 2002 at 11:40:00AM +0300, System Administrator - Andrew
> Wafula wrote:
> > I have just upgraded from 1.2.3 to 1.3.1 and I get the following error
> when
> > trying to send invoices
> >
> > Software error:
> >
> > Can't send invoice email! at
> /usr/lib/perl5/site_perl/5.6.0/FS/cust_main.pm
> > line 837.
> >
> > This is obtained after clicking 'Bill Now' on the Customer view page.
> >
> > The following is what I have
> >
> > RedHat 7.2
> > Apache 1.3.22
> > FS 1.3.1
> > Perl 5.6.1
> > MySQL 3.23.41
> > DBIx::DBSchema 0.19
> > Mail::Internet 1.43
> > Mail::Header 1.43
> >
> > Please help,
> >
> > Thanks,
> >
> > Andrew
> >
> >
>
> --
> _ivan
>
>

--
_ivan





More information about the freeside-users mailing list