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

Gabriel S interchange-users@icdevgroup.org
Fri Apr 11 10:17:00 2003


>>Just to double-check: you did prepend 'pass' to all three instances of [value zip]?
>>Cheers
>>Lyn St George

That's right. Here is my log_transaction modified. Is there any other place where i should also 
make the change?
I'm using IC 4.8.7

#### 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
        [comment] Agrego pass para corregir problema de auto-create 4 letras [/comment]
                    password='pass[value zip]'
                        verify='pass[value zip]'
        ]
        |]
        [seti mv_autocreate]
            mv_username=[data session username]
            mv_password=pass[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]

and here is my error.log:

192.168.0.1 AGhPJnxX:192.168.0.1 - [10/April/2003:14:00:42 -0300] test /cgi-bin/test/process.html
Safe: Auto-create of user failed. at (eval 1520) line 1.
> 
>  die errmsg("Auto-create of user failed."); 
> 
192.168.0.1 iH2CCp2j:192.168.0.1 - [10/April/2003:15:32:52 -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 really appreciate your help.

BR,
    Gabriel


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