[Serusers] ul_add flags expected...solved...well temp fix :-)

Iqbal iqbal at gigo.co.uk
Wed Feb 16 20:52:11 CET 2005


Hi

I am running SER version: ser 0.10.99-dev0 (i386/linux), possibly not the
wisest thing to do, but hey ho.

Anyhow had a few problems in getting serweb to link up, well most of it
worked, except the confirmation link which is sent out.

when I clicked it, it came up with

400 ul_add : flag expected.

The confirmation link basically takes the details which have been sitting
in ur "pending" table and shoves them into subscriber, and then looks
up the last alias [problem here ...see below] and increments it,
creating a new alias and then writes that into the "aliases" table,
and then delates the pending from the "pending" table.

However it seems as if the ul_add command line expects a flags field to
be entered also, when using serctl, this default to 128, god knows what
that means.

So i cheated, I edited config.php in serweb, added a line
var $flags

Then I went further down, and addedd
$this->flags="128";

and then in sql_and_fifo_functions.php

I changed the lines reading

$replication. "\n" to

$replication.
$config->flags."\n";

NOTICE I removed the "\n" after replication, it didnt work with that.

I ran it all again, and it works, cleaned up the pending table, added in
subscriber and also added the alias in aliases, user logged in find from
xlite and also from his login panel, so I guess its all okay.

If I overlooked anything, or mad a major $%^£up, let me know, not sure if
this will impact anything else, I dont think it will...but....

Iqbal




More information about the sr-users mailing list