Author: r.michell
Description:
environment:
MySQL-4.1.16
PHP-5.1.2
Apache-1.3.34
MediaWiki-1.5.6
general:
MediaWiki generated an error message when adding a new user account from same IP
range as existing accounts (different details, different email address,
different user/pass etc) - weird thing is there were entries in the wiki_user
table already...!!?
specifics:
1: "Create an account or Login" (hyperlink) ->
2: [Fill in all fields] ->
3: "New Account" (button) ->
4:
"Database error
From [My]Wiki
A database query syntax error has occurred. This may indicate a bug in the
software. The last attempted database query was:
(SQL query hidden)
from within function "User::addToDatabase". MySQL returned error "1048: Column
'user_id' cannot be null (localhost)".
Version: 1.5.x
Severity: major
OS: Linux
Platform: Other