-
BrewBlogger 2.3 doesn't like it if a username contains symbols (including underscore), or spaces, so I added the following to the validation steps of the script posted above:
//checks that the user_name contains only letters or numbers
if (!eregi ("^[[:alnum:]]+$", stripslashes($_POST['user_name']))) {
die('Please use only letters and/or numbers in your username');
}.
2010-01-05 03:50:56 UTC by bradginn
-
I tested this bug with other non-letter or -number characters and it doesn't work with a period or an asterisk in place of the underscore either. I didn't test any others, but I assume no symbols work in usernames at this point.
I entered a bug report in the bug tracker.
2010-01-03 16:37:44 UTC by bradginn
-
Unable to log into accounts that have usernames with an underscore, such as test_user. Account can be created and accessed by admin, but user can not log it. The login page responds with "Sorry, there was a problem with your last login attempt. Please try again."
Also checked other non-letter or -number characters (period, asterisk) and they don't work either.
2010-01-03 16:36:16 UTC by bradginn
-
Yeah, I know the join page isn't part of the official release. Sloppy code or not, it works and it's useful. Thanks for writing and posting it.
2010-01-03 16:26:53 UTC by bradginn
-
Looks like the diff/execute the missing parts worked... thanks for the help.
2010-01-03 15:25:05 UTC by https://www.google.com/accounts
-
I did run the upgrade sql... actually this is where I believe the error is stemming from. I already ran the beta upgrade sql script (during beta upgrade) which is very similar to the 2.3.0 upgrade script.
Here is the error I get when execute the upgrade sql... my next step was a diff of the two files, but wanted to check here first.
Error
SQL query:
-- -- Dumping data for table...
2010-01-03 15:21:19 UTC by https://www.google.com/accounts
-
and just to clarify...Geoff hasn't added this to brewblogger yet. You just stumbled across my sloppy code. :) happy new year and good brewing.
2010-01-03 04:47:45 UTC by pkennedy215
-
Looks like a legit bug. Thanks for pointing it out. Was able to recreate. The Join page is something I hacked out and I'll fix that this weekend. This should have no reflection on Geoff's code, which is free and outstanding.
2010-01-03 04:35:58 UTC by pkennedy215
-
I enabled the user self-signup described in [this post][1]. I had a user sign up today with a username such as *first_last*. He was unable to login w/ that username. I checked and the account was created, but could not be logged into. Then I logged in as admin and manually created a user w/ the uname *test_user*. Again, I was unable to log in to that user's account.
Is underscore...
2010-01-03 00:41:14 UTC by bradginn
-
That field is added in the 2.3.0_upgrade.sql file. Sounds like you didn't run it yet.....
2010-01-02 19:16:25 UTC by pkennedy215