[ic] Difficulty with $Tag->userdb( ... )

Mike Heins interchange-users@lists.akopia.com
Tue Jul 3 17:47:24 2001


Quoting Jeff Carnahan (jcarnahan@networq.com):
> I'm trying to use $Tag->userdb( ... ) to create a new account in the user
> database, yet when I use (in a parsed page):
> 
> $Tag->userdb({ function => 'new_account',
>                username => $Values->{email},
>                log => 1, });
> 
> I get:
> 
> ... Safe: Can't locate object method "new" via package "Vend::UserDB" at
> /home/interchange/interchange-4.6.5/lib/Vend/UserDB.pm line 1315.
> 
> Can someone help me identify what's going wrong here? Is Safe restricting me
> from creating new objects?
> 

Yup, always has. 4.7.x sort of gets around that restriction, but
you would still need [perl tables=userdb].

-- 
Red Hat, Inc., 3005 Nichols Rd., Hamilton, OH  45013
phone +1.513.523.7621      <mheins@redhat.com>

Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun