From: Trevor H. <tre...@th...> - 2007-12-03 19:40:45
|
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. Regards Trevor Hennion -- Infocentrality Ltd http://www.infocentrality.co.uk Colin Manning wrote: > Thanks for the reply Michael. > > Data was not migrated. > > If I create a new database and create only one customer and one service > and then try and invoice or a sales order I get a HASH reference error. > > Has anyone had SL working with Fedora 8? Fedora 7? perl-5.8.8? > > Permissions are as set by setup.pl, and checked against the FAQ. > > Colin. > > Michael Hasse wrote: >> If it was migrated from an old machine maybe it's something simple >> like a file or folder with bad permissions...? >> >> >> Thanks, >> >> Michael >> >> >> On Dec 2, 2007, at 12:10 AM, Colin Manning wrote: >> >> >>> Hi All, >>> >>> I have narrowed my problem down to something to do with tax. >>> >>> Lines 1375 - 1379 from OE.pm: >>> >>> # adjust taxes for lineitems >>> my $total = 0; >>> for (@{ $form->{lineitems} }) { >>> $total += $_->{tax}; >>> } >>> >>> I had this all working before my old machine died, but I just can't >>> get >>> this working. - very frustrating - invoices are keyed in (as sales >>> orders), but I can't print, so can I get paid :-(. >>> >>> Please help. >>> >>> >>> I have set up the taxes correctly in the system ==> taxes page, and >>> set >>> my ABN in the system --> defaults page - any hints please? >>> >>> >>> >>> >>> >>> Colin Manning wrote: >>> >>>> Thanks Michael. >>>> >>>> I've searched the mailing list for "hash reference" and "unreferenced >>>> scalar" and didn't find any solutions. the second search returned >>>> this >>>> thread and a similar (unanswered) post on 2007-10-22. >>>> >>>> is perl-5.8.8 supported? >>>> >>>> I'm using postgresql-8.2.5-1.fc8 >>>> >>>> I have done a default install - using setup.pl to my fedora 8 box. >>>> Create one dataset and one user (administrator type), one client >>>> and one >>>> service. >>>> >>>> Try to print (even HTML) and it errors. >>>> >>>> I have not performed any customisation. >>>> >>>> Any further ideas? >>>> >>>> >>>> >>>> >>>> Michael Hasse wrote: >>>> >>>> >>>>> Had this awhile back when we were customizing the invoice layout. >>>>> Don't remember the exact cause but it ended up being a "special" >>>>> character which wasn't being escaped properly. It would display >>>>> fine >>>>> but when converting to PDF, printing etc the interpreter wasn't >>>>> happy. As I recall somebody Googled the error and found the cause >>>>> pretty quickly. >>>>> >>>>> >>>>> Thanks, >>>>> >>>>> Michael >>>>> >>>>> >>>>> On Nov 28, 2007, at 4:27 PM, Colin Manning wrote: >>>>> >>>>> >>>>> >>>>> >>>>>> Hi All, >>>>>> >>>>>> I get this error when trying to print or email an order >>>>>> >>>>>> >>>>>> Error! >>>>>> >>>>>> *Not a HASH reference at SL/OE.pm line 1378. >>>>>> **Attempt to free unreferenced scalar: SV 0xa1d572c, Perl >>>>>> interpreter: >>>>>> 0x98d6008 at SL/OE.pm line 1378. >>>>>> * >>>>>> >>>>>> I'm using Fedora 8, (had the same error on Fedora 7) SL 2.8.8 >>>>>> >>>>>> Any tips? >>>>>> >>>>>> Have been working fine on Fedora Core 6 for a while. :-( >>>>>> >>>>>> Colin. >>>>>> |