[SR-Users] [sr-dev] Table version problems
Raúl Alexis Betancor Santana
rabs at dimension-virtual.com
Thu Sep 2 14:50:24 CEST 2010
On Jueves 02 Septiembre 2010 08:59:17 marius zbihlei escribió:
> Raúl Alexis Betancor Santana wrote:
> > Hi ... jus trying Kam 3.0.3 ... I get blocked on this error:
> >
> > ERROR: <core> [db.c:408]: invalid version 0 for table 0 found, expected 6
> > (check table structure and table "version")
> > ERROR: auth_db [authdb_mod.c:250]: error during table version check.
> >
> > It should be checking agains subscriber table version ... but I don't
> > know why it try to found '0' table ...
> >
> > if I do a:
> >
> > insert into version (table_name,table_version) values('0','6');
> >
> > It get solved ... but thats only a trick.
>
> Hello,
>
> The check is done once (at fixup time) for the www_authorize and
> proxy_authorize calls. The table name is the second parameter given to
> those calls.
>
> Be sure to use www_authorize("explample.com", "subscriber");
I know ...
if(is_method("REGISTER")) {
# authenticate the REGISTER requests
if(!www_authorize("","subscriber")) {
xlog("L_ALERT", "REGISTER ($fU)($ru) no autorizado - Return Code
($rc) IP=$si\n");
www_challenge("","0");
^^^^^^^^^^^^^^^^^ Upsssssssssss ... XPPPPPPPPPPPP
Thanks
--
Raúl Alexis Betancor Santana
Dimensión Virtual
More information about the sr-users
mailing list