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

Re: Can't call method "is_zero" on an undefined value



Hello Andrew,

The first think that came to my mind is to try with the CPAN library instead of the Debian repository one.
as root, try:Â

# cpan -i Math::BigInt
[yes.. yes.. yes..]

# grep "VERSION " /usr/local/share/perl/5.14.2/Math/BigInt.pmÂ
$VERSION = '1.997';

I just tried last branch 1.3 on Wheezy with CPAN libraries and it worked fine.
I hope it helps you.
Andres.-

On Thu, Mar 22, 2012 at 9:38 PM, Andrew Rowland <..hidden..> wrote:
Hi Guys

I'm getting this issue when trying to print an invoice.
I know it has been an issue in the past and has been marked as fixed but I'm still getting an internal server error in the log with this message.


[Fri Mar 23 05:29:30 2012] [error] [client 127.0.0.1] Can't call method "is_zero" on an undefined value at /usr/share/perl5/Math/BigInt.pm line 1197., referer: http://localhost/ledgersmb/is.pl?action="">
[Fri Mar 23 05:29:30 2012] [error] [client 127.0.0.1] Compilation failed in require at /progs/ledgersmb/
is.pl line 7., referer: http://localhost/ledgersmb/is.pl?action="">
[Fri Mar 23 05:29:30 2012] [error] [client 127.0.0.1] Premature end of script headers:
is.pl, referer: http://localhost/ledgersmb/is.pl?action="">


Am running Debian Wheezy if that helps

Can someone suggest a workaround if there is one or maybe point me at the relevant spot in the code so I can investigate

Thanks

Andrew



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Ledger-smb-users mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users