[ic] Problem with 4.9.8 - Vend::Data
Mike Heins
interchange-users@icdevgroup.org
Fri Jun 20 16:40:11 2003
Quoting Reid Sutherland (reid-ic@thirddimension.net):
> Stefan Hornburg wrote:
> > On Fri, 20 Jun 2003 11:54:14 -0400
> > Reid Sutherland <reid-ic@thirddimension.net> wrote:
> >
> >
> >>I'm getting the following pretty randomly when inside the admin:
> >>(I've subbed the confidantial info with variable names for this email)
> >>
> >>$CLIENTIP - - [20/June/2003:11:43:07 -0400] $STOREID
> >>$STORECGI/admin/do_view.html Died in server spawn: Can't call method
> >>"new" on an undefined value at $INTERCHANGE/lib/Vend/Data.pm line 784.
> >>
> >>Any ideas?
> >
> >
> > Please apply this patch to your Data.pm in order to get info about
> > the database name.
> >
> > *** Data.pm 18 Jun 2003 17:34:44 -0000 2.28
> > --- Data.pm 20 Jun 2003 19:08:21 -0000
> > ***************
> > *** 781,786 ****
> > --- 781,789 ----
> > next;
> > }
> > my $class = $db_config{$data->{Class}}->{Class};
> > + unless ($class) {
> > + die "no class found for database $name";
> > + }
> > $Vend::Database{$name} =
> > new $class ($data);
> > }
> >
> > Thanks
> > Racke
>
> Thanks Racke
>
> I just discovered the problem too. It seems to only happen on the
> 'dict' table -- which doesn't have any configuration. I was just about
> to submit a patch, but you beat me too it.
>
> I'm simply going to remove any reference to the 'dict' admin table.
>
This is in UI_ADMIN_TABLES preference. I have removed "dict" from
that in CVS.
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike@perusion.com>
People who want to share their religious views with you
almost never want you to share yours with them. -- Dave Barry