[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

return of BigFloat errors



>>>>> "Michael" == Michael Richardson <..hidden..> writes:
    Michael> b) July 1, 2010, our Provincial Sales Tax was killed (merged into
    Michael> the federal Harmonized Sales Tax... VAT).  So I have:

I tried to add a new row with a zero tax rate, but when I hit update to
get a blank row I get one for the GST as well, and I see no way to
remove that row, and leaving it blank doesn't work.

So, I did:

sswbooks=# insert into tax (taxnumber, rate, chart_id, pass, taxmodule_id, validto) values ('2320', 0.00, 12, 0, 1, 'infinity');
INSERT 0 1

and I got a new row with a zero tax rate, and Update on the AP form worked.

I proceeded to enter a new expense, at which point, I got:

==> /var/log/apache2/mysmbledgermachine_access.log <==
myv6prefix::247 - - [27/Nov/2012:08:43:22 -0500] "POST /ledgersmb/ap.pl HTTP/1.1" 200 10538 "https://mysmbledgermachine.sandelman.ca/ledgersmb/ap.pl"; "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20100101 Firefox/10.0.10 Iceweasel/10.0.10"

==> /var/log/apache2/mysmbledgermachine-error.log <==
[Tue Nov 27 08:43:33 2012] [error] [client myv6prefix::247] not of type Math::BigInt::GMP at /usr/share/perl5/Math/BigFloat.pm line 1685., referer: https://mysmbledgermachine.sandelman.ca/ledgersmb/ap.pl
[Tue Nov 27 08:43:33 2012] [error] [client myv6prefix::247] Compilation failed in require at /home/ledgersmb/ledgersmb/ap.pl line 7., referer: https://mysmbledgermachine.sandelman.ca/ledgersmb/ap.pl
[Tue Nov 27 08:43:33 2012] [error] [client myv6prefix::247] Premature end of script headers: ap.pl, referer: https://mysmbledgermachine.sandelman.ca/ledgersmb/ap.pl


Is there an example of a way to run ap.pl outside of Apache, or
something that goes through old-handler.pl to load stuff.    Clearly the
error is buried much deeper.

-- 
]       He who is tired of Weird Al is tired of life!           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] ..hidden.. http://www.sandelman.ottawa.on.ca/ |device driver[
   Kyoto Plus: watch the video <http://www.youtube.com/watch?v=kzx1ycLXQSE>
	               then sign the petition.