Can't call method "table" on an undefined value at /usr/lib/perl5/site_perl/5.005/FS/Record.pm line 721.

Christopher S. Weimann cweimann at wallnet.com
Fri Mar 26 13:23:38 PST 1999


On Fri, Mar 26, 1999 at 08:26:08AM -0500, Ivan Kohler wrote:
> On Mon, Mar 01, 1999 at 12:41:27AM -0800, christopher norris wrote:
> > Greetings,
> > i've been working with the fs source for the last couple days, I started out
> > on 1.1.6, had problems with the billing , ie it  when I clicked bill this
> > customer nothing would happen?.
> 
> Strange.  Are you sure the customer had packages due for billing?
> 

I am having a very similar problem.  It comes up when I try to add a 
package to a customer.  The complete error from in the browser is..

-------------
Software error:

Can't call method "table" on an undefined value at
/usr/local/lib/perl5/site_perl/5.005/FS/Record.pm line 721. 

For help, please send mail to the webmaster (cweimann at wallnet.com), giving this error message and the time and date of
the error. ; 
-------------

and the log shows

-------------
[Fri Mar 26 15:57:38 1999] cust_main.cgi: Use of uninitialized value at /usr/local/lib/perl5/site_perl/5.005/FS/cust_main_invoice.pm line 137.
[Fri Mar 26 15:57:38 1999] cust_main.cgi: Use of uninitialized value at /usr/local/lib/perl5/site_perl/5.005/FS/cust_main_invoice.pm line 137.
[Fri Mar 26 15:58:08 1999] cust_pkg.cgi: Can't call method "table" on an undefined value at /usr/local/lib/perl5/site_perl/5.005/FS/Record.pm line 721.
-------------

I think only the third line above relates but.....

Also it seems to run REAL slow.  For example, if I click on New Customer
from the main menu it takes 22 seconds for the page to come up.  During
that time top shows perl5 running at over 90% of cpu time for about half
the time as user nobody then as user freeside.  Is this a suid perl problem?
Would I be better off running suExec from Apache?

Thanks in advance.

PS: I had been running with fs-current.tar.gz but have recently upgraded
to the latest code via CVS in hopes of solving this.

-- 
------------------------------------------------------------
Christopher Weimann SysAdmin          	Wall Internet LLC. 
Email: cweimann at wallnet.com           	PO Box 255
Web: http://www.wallnet.com/~cweimann 	Manasquan NJ, 08736
					732-223-1777
------------------------------------------------------------



More information about the freeside-users mailing list