[Users] AVPops: inconsistent usage of DB scheme

Franz Edler franz.edler at ycn.com
Thu Jun 1 08:10:57 CEST 2006


Hi,
again I need some help from AVPops-experts.

I have created a table for P-Associated-URI - parameter (addressed via
uuid).
	CREATE TABLE associated_uris (
	  auth_user varchar(64) NOT NULL default '',
	  id varchar(32) NOT NULL default '',
	  uri varchar(128) NOT NULL default '',
	  type integer NOT NULL default '0',
	  modified timestamp(14) NOT NULL,
	  PRIMARY KEY (auth_user, id)
	) TYPE=MyISAM;

I also have created the following db-scheme:
	
modparam("avpops","db_scheme","P-assoc:uuid_col=auth_user;value_col=id;value
_type=string;table=associated_uris")

When I access the table with 
	avp_db_load("$auth-user","i:/$P-assoc"); 

I get the error:
	0(0) ERROR:avpops:parse_avp_db: inconsistent usage of DB scheme
without complet specification of AVP name
 	0(0) ERROR:avpops:fixup_db_avp: parse failed

Any help appreciated.
Franz





More information about the Users mailing list