[ic] Calling my version of UserDB module

Mike Heins mike at perusion.com
Mon Apr 25 12:26:57 EDT 2005


Quoting Tim Good (tim.g at edsd.com):
> hello list,
> 
> I have made some changes to the UserDB module.
> rather than having to adjust all catalogs, I 
> copied the Vend/UserDB to Vend/UserDBC and created
> UserTags/userdbc.tag as follows:
> UserTag userdbc              Order        function
> UserTag userdbc              addAttr
> UserTag userdbc              attrAlias    table db
> UserTag userdbc              attrAlias    name nickname
> UserTag userdbc              PosNumber    1
> UserTag userdbc              Version      $Revision: 1.3 $
> UserTag userdbc              MapRoutine
> Vend::UserDBC::userdb
> 
> When I call the tag in a page: 
> "[set name=done int][userdbc function=logout clear=1][/set]"
> I get the folling error. 
> 
> new_account.html Runtime error: Undefined subroutine 
> &Vend::UserDBC::userdb called at
> /usr/local/interchange/lib/Vend/Parse.pm line 795.
> 
> Can someone point out what I am missing?

Put in interchange.cfg:

	Require module Vend::UserDBC

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <mike at perusion.com>

Opportunity is missed by most people because it is dressed in
overalls and looks like work. -- Thomas Edison


More information about the interchange-users mailing list