[ic] Auto-create of user failed (new)

Gabriel Szraibman interchange-users@icdevgroup.org
Thu Apr 10 11:27:59 2003


Hi list,

I've been reading the mails about this issue but they
don't seem to answer my particular problem.

Whenever i generate an order at checkout without login
in, i get the following on error.log:

192.168.0.2 kF9Amm2C:192.168.0.2 -
[10/April/2003:12:07:21 -0300] test
/cgi-bin/test/process.html Safe: Auto-create of user
failed. at (eval 360) line 1.
> 
>  die errmsg("Auto-create of user failed."); 


I have in my log_transaction:

#### begin [value mv_order_number] #####
[tmp transaction_record]
[loop list="transactions orderline inventory userdb"]
[flag type=write table="[loop-code]"]
[/loop]
[if type=explicit compare=`
        return 1 if ! $Session->{logged_in} or
$Session->{login_table} ne 'userdb';
        return 0;
        `]
    [if session logged_in]
        [userdb function=logout clear=0 clear_cart=0]
    [/if]
    [tmp auto_create]1[/tmp]
    [if type=explicit compare=|
        [userdb
            function=new_account
                assign_username=1
                    password='[value zip]'
                        verify='[value zip]'
        ]
        |]
        [seti mv_autocreate]
            mv_username=[data session username]
            mv_password=[value zip]
        [/seti]
        Auto-created user [data session username].
    [else]
    Auto-create of user failed.
    [perl] die errmsg("Auto-create of user failed.");
[/perl]
    [/else]
    [/if]
[/if]
.....

Can anyone help me correct the problem. On the other
hand can i avoid the user auto-create feature by
commenting the code?

Thanks,

        Gabriel


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com