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

Iqbal iqbal at gigo.co.uk
Thu Feb 17 00:35:44 CET 2005


oops one more thing, before I got this problem I got sql error on line 43

that was because I had added perms column to my subscriber DB, but forgot
to add it to my pending table.

for some reason 0.10.99 when it creates the tables doesnt create the
perms column.

On 2/16/2005, "Iqbal" <iqbal at gigo.co.uk> wrote:

>
>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
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>
>




More information about the sr-users mailing list