[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Re: Auto-create of user failed
Ed LaFrance wrote:
> At 04:16 PM 10/10/2002 +0200, you wrote:
>
>> racke@linuxia.de wrote:
>>
>>> Joachim Leidinger writes:
>>>
>>>> Hi list,
>>>> I got the error message
>>>> -------- snip ----------
>>>> 217.235.129.219 5CBW99QX:217.235.130.253 - [10/October/2002:13:04:59
>>>> +0200] ieos /cgi-bin/ieos/process.html Safe: Auto-create of user
>>>> failed. at (eval 6996) line 1.
>>>> >
>>>> > die errmsg("Auto-create of user failed.");
>>>> >
>>>> -------- snip ----------
>>>> But that user with the username "U04657" was created into the userdb
>>>> table and I can see the information like address, street, etc. from
>>>> that user. What are the possible causes of the above error message?
>>>
>>>
>>> Any more related entries in the error log ? It is possible that
>>> the (auto)login fails after the database entry has been created.
>>
>>
>> Yes!
>>
>> ------- snip from the catalog error.log -----------
>> 217.235.129.219 5CBW99QX:217.235.130.253 - [10/October/2002:13:04:59
>> +0200] ieos /cgi-bin/ieos/process.html Denied attempted login by user
>> 'U04657' with incorrect password
>> 217.235.129.219 5CBW99QX:217.235.130.253 - [10/October/2002:13:04:59
>> +0200] ieos /cgi-bin/ieos/process.html Safe: Auto-create of user
>> failed. at (eval 6996) line 1.
>> ------- snip from the catalog error.log -----------
>
>
> [snip]
>
> Without knowing anything else, I would guess that your
> etc/username.counter is overlapping values that are already in the
> userdb. the code on log_transaction tries to create a new user, but the
> username is already in use... ?
Ed,
thanks for the hint. I've discovered a typo in my codes and after fixing
the wrong code, it works well. But I still get the error message
sometimes. Do you know a solution, if the new username is already in
use? Can I make a new account with a new username? Can I use
[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]
[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]
Second Auto-created user [data session username].
[else]
Auto-create of user failed with [data session username] and [value zip].
[perl] die errmsg("Auto-create of user failed."); [/perl]
[/else]
[/if]
[/else]
[/if]
to solve it?
Thank you very much!
Joachim
--
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de