From: Trevor H. <tre...@th...> - 2007-12-03 22:23:12
|
Dieter Simader wrote: > On Mon, 3 Dec 2007, Trevor Hennion wrote: > >> Colin, >> >> This bit me this afternoon and it is due to an upgrade of Perl on >> Fedora7 and Fedora8. >> >> I tried some fix suggested in the support forum but it didn't work. >> >> To make sure I could get invoices out this afternoon I had to install >> SQL-Ledger on another box running Fedora5, without the updated Perl >> version, and that worked OK. >> >> If this doesn't get fixed soon a lot more people will feel the pain. > > change the code in OE.pm on line 1375 to > > # adjust taxes for lineitems > my $total = 0; > for my $ref (@{ $form->{lineitems} }) { > $total += $ref->{tax}; > } > > report back if perl still barfs after the change. > Dieter, Thanks for the reply, however I'm sorry to say it didn't work. Still get: Error! Not a HASH reference at SL/IS.pm line 395. Attempt to free unreferenced scalar: SV 0x944bfb8, Perl interpreter: 0x8d45008 at SL/IS.pm line 395. This is a link to the recent Perl upgrade http://lwn.net/Alerts/258413/ Doesn't mean much to me! Regards Trevor -- Infocentrality Ltd http://www.infocentrality.co.uk |