Gossamer Forum
Home : Products : DBMan : Installation :

little bug??? in signup_form

Quote Reply
little bug??? in signup_form
hy out there,
my dbman is nearly cominīto the end. so i checked the functions. nearly great but there seems to be a little bug!!

I allow all useres to sign up for their own account.
works fine,
but after havin created an account, they have to loggin 2x.
when pressing the "einloggen" button for the first time after having created an account an error message is coming up saying:
invalid userid/password

I have realy had NO TYPO in loggin in for the first time (checked it out 5-8 times).

then, correcting the user ID in the login file from the scratch for the second time, everything goes ahead working fine.

what can I have done wrong??

wanna check it out by yourself???
http://skydiver.de/cgi-bin/dbman/db.cgi?db=default&signup_form=1

------------------
zappa
zappa@skydiver.de
skydiver.de


[This message has been edited by zappa (edited February 07, 1999).]

[This message has been edited by zappa (edited February 07, 1999).]
Quote Reply
Re: little bug??? in signup_form In reply to
In your signup success form, you have a typo. You have the user name field labeled "Userid." It should be "userid." Capital letters matter in Perl.



------------------
JPD
Quote Reply
Re: little bug??? in signup_form In reply to
hi jpd,
must be something else,
iīve checked db.cgi, html.pl and default.cfg
and labeled all userid fields in small letters.
but it did not effect the "bug".
still asking for a second login after having a new user registered!!
itīs not THAT BAD because it only happens the first time a new user wants to login. but maybe one or two may get a little bit confused about this fact.


------------------
zappa
zappa@skydiver.de
skydiver.de
Quote Reply
Re: little bug??? in signup_form In reply to
I don't want to argue with you, but you do have one time where you have "Userid" in your html.pl file. It's in the html_signup_success subroutine. Just to check it out, sign up with a new user account and watch the variables in the debugging information at the bottom of the screen. When you get to the "invalid userid/password" screen, you will see a variable called "Userid." That is coming from the signup_success subroutine.

I also checked the page source for the signup success page. Sure enough, there's "Userid" big as life.

In fact, here's the html code I copied from the signup success page source from your site:

-------------------------------
<table border=0>
<tr><td><Font face="Verdana, Arial, Helvetica" Size=2 Color=#003399><b>User Name:</b></FONT></td>
<td><input type="TEXT" name="Userid"></td></tr>
<tr><td><Font face="Verdana, Arial, Helvetica" Size=2 Color=#003399><b>Passwort:</b></FONT></td>
<td><input type="PASSWORD" name="pw"></td></tr>
</table>

---------------------------

JPD


[This message has been edited by JPDeni (edited February 08, 1999).]
Quote Reply
Re: little bug??? in signup_form In reply to
blame on me,
youīre godamn right.
gonna see my doctot in the afternoon to order some glasses!!

was a mixup by me, as i allways keep the last running version of scripts in another hdd-section as backup.

was all corrected on my PC but.............
then uploaded the wrong version.

blame on me.

donīt wanna argue with you either!!!!!
maybe I need some help later on.

sorry for that inconvenience

zappa

(please close that terrible thread ;-)))
Quote Reply
Re: little bug??? in signup_form In reply to
No problem, zappa. Smile It happens.



------------------
JPD