Installation is broken #625

Closed
NetzwergX opened this Issue Jun 1, 2012 · 0 comments

Projects

None yet

2 participants

@NetzwergX
Contributor

Commit 05c2178 broke the installation:

Fatal error: Could not execute prepared statement: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'username' cannot be null

Information:

id: 5be7f7b739f99b2aa7701067bc43ebafbe68615b
error message: Could not execute prepared statement: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'username' cannot be null
error code: 23000
sql type: wcf\system\database\MySQLDatabase
sql error: Column 'username' cannot be null
sql error number: 23000
sql version: 5.5.19
sql query: INSERT INTO wcf1_acp_session (sessionID,packageID,userID,username,ipAddress,userAgent,lastActivityTime,requestURI,requestMethod) VALUES (?,?,?,?,?,?,?,?,?)
sql query parameter 0:f9055d2736e5e00deeff130b58adab01ac0194dc
sql query parameter 1:
sql query parameter 2:
sql query parameter 3:
sql query parameter 4:::ffff:7f00:1
sql query parameter 5:Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0
sql query parameter 6:1338542408
sql query parameter 7:/install.php?step=installPackages
sql query parameter 8:POST
file: C:\webserver\htdocs\tmp\a0f12531\install\files\lib\system\database\statement\PreparedStatement.class.php (103)
php version: 5.4.3
wcf version: 2.0.0 Alpha 1 (Maelstrom)
date: Fri, 01 Jun 2012 09:20:10 +0000
request: /install.php?step=installPackages
referer: http://127.0.0.1/install.php
Stacktrace:

#0 C:\webserver\htdocs\tmp\a0f12531\install\files\lib\data\DatabaseObjectEditor.class.php(38): wcf\system\database\statement\PreparedStatement->execute(Array)
#1 C:\webserver\htdocs\tmp\a0f12531\install\files\lib\data\acp\session\ACPSessionEditor.class.php(34): wcf\data\DatabaseObjectEditor::create(Array)
#2 [internal function]: wcf\data\acp\session\ACPSessionEditor::create(Array)
#3 C:\webserver\htdocs\tmp\a0f12531\install\files\lib\system\session\SessionHandler.class.php(353): call_user_func(Array, Array)
#4 C:\webserver\htdocs\tmp\a0f12531\install\files\lib\system\session\SessionHandler.class.php(128): wcf\system\session\SessionHandler->create()
#5 C:\webserver\htdocs\tmp\a0f12531\install\files\lib\system\session\ACPSessionFactory.class.php(28): wcf\system\session\SessionHandler->load('wcf\data\acp\se...', '')
#6 C:\webserver\htdocs\tmp\a0f12531\install\files\lib\system\WCFSetup.class.php(1056): wcf\system\session\ACPSessionFactory->load()
#7 C:\webserver\htdocs\tmp\a0f12531\install\files\lib\system\WCFSetup.class.php(279): wcf\system\WCFSetup->installPackages()
#8 C:\webserver\htdocs\tmp\a0f12531\install\files\lib\system\WCFSetup.class.php(76): wcf\system\WCFSetup->setup()
#9 C:\webserver\htdocs\install.php(796): wcf\system\WCFSetup->__construct()
#10 {main}

This change in particular is responsible:
05c2178#commitcomment-1403057

@dtdesign dtdesign added a commit that closed this issue Jun 1, 2012
@dtdesign dtdesign Use empty username during setup
Fixes #625
312a61b
@dtdesign dtdesign closed this in 312a61b Jun 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment