Error adding users

Please report bugs here!

Moderator: Thorsten

Post Reply
kballard
Posts: 35
Joined: Fri Aug 20, 2010 11:45 pm

Error adding users

Post by kballard »

We have v2.6.7 on MS SQL Server, and ran into a problem adding users. We fixed it by doing the following:

2. Can’t create a user
a. In debug mode, no error exists. I did a line by line abort until I found the culprint line
b. /admin/user.php
i. Commented out line 274 (setLoginInvalidRegExp()). I’m not sure exactly what it did but it seemed fairly harmless on a controlled system, and we noted no immediate adverse effects. Looks like it just checks for bad usernames

Just alerting you in case this needs to be added to the next build. Thanks!
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Error adding users

Post by Thorsten »

Hi,

which username did you tried?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
kballard
Posts: 35
Joined: Fri Aug 20, 2010 11:45 pm

Re: Error adding users

Post by kballard »

It was any user name - kballard, clitnak, etc. The fix posted above resolved our issue, but we aren't sure if it will cause other problems.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Error adding users

Post by Thorsten »

Hi,

no, it has no impact. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply