Hello:
I’m trying to do a clean install of MediaWiki-1.22.5 and am getting the following errors during installation. Any help is greatly appreciated.
Thanks,
Patricia Barden patricia@prwatch.org
Install
Including extensions... done Setting up database... done Creating tables... Warning: Cannot modify header information - headers already sent in /tank/usr/www/users/swatch/mwclean/includes/Exception.php on line 255
Warning: Cannot modify header information - headers already sent in /tank/usr/www/users/swatch/mwclean/includes/Exception.php on line 256
Warning: Cannot modify header information - headers already sent in /tank/usr/www/users/swatch/mwclean/includes/Exception.php on line 257
Warning: Cannot modify header information - headers already sent in /tank/usr/www/users/swatch/mwclean/includes/Exception.php on line 222 A database query error has occurred. This may indicate a bug in the software.
Query: CREATE TABLE `user` ( user_id int unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT, user_name varchar(255) binary NOT NULL default '', user_real_name varchar(255) binary NOT NULL default '', user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_touched binary(14) NOT NULL default '', user_token binary(32) NOT NULL default '', user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int ) ENGINE=InnoDB, DEFAULT CHARSET=binary Function: DatabaseBase::sourceFile( /tank/usr/www/users/swatch/mwclean/maintenance/tables.sql ) Error: 1005 Can't create table 'swatch_mwclean.user' (errno: -1) (qs3234.pair.com) Backtrace:
#0 /tank/usr/www/users/swatch/mwclean/includes/db/Database.php(1039): DatabaseBase->reportQueryError('Can't create ta...', 1005, 'CREATE TABLE `u...', 'DatabaseBase::s...', false) #1 /tank/usr/www/users/swatch/mwclean/includes/db/Database.php(3654): DatabaseBase->query('CREATE TABLE `u...', 'DatabaseBase::s...') #2 /tank/usr/www/users/swatch/mwclean/includes/db/Database.php(3567): DatabaseBase->sourceStream(Resource id #94, false, false, 'DatabaseBase::s...', false) #3 /tank/usr/www/users/swatch/mwclean/includes/installer/DatabaseInstaller.php(187): DatabaseBase->sourceFile('/tank/usr/www/u...') #4 [internal function]: DatabaseInstaller->createTables(Object(MysqlInstaller)) #5 /tank/usr/www/users/swatch/mwclean/includes/installer/Installer.php(1589): call_user_func(Array, Object(MysqlInstaller)) #6 /tank/usr/www/users/swatch/mwclean/includes/installer/WebInstallerPage.php(1254): Installer->performInstallation(Array, Array) #7 /tank/usr/www/users/swatch/mwclean/includes/installer/WebInstaller.php(275): WebInstaller_Install->execute() #8 /tank/usr/www/users/swatch/mwclean/mw-config/index.php(61): WebInstaller->execute(Array) #9 /tank/usr/www/users/swatch/mwclean/mw-config/index.php(29): wfInstallerMain() #10 {main}
Notice: Uncommitted DB writes (transaction from DatabaseInstaller::createTables). in /tank/usr/www/users/swatch/mwclean/includes/db/Database.php on line 3944
Notice: Uncommitted DB writes ...
Probably it's this known problem: https://bugzilla.wikimedia.org/show_bug.cgi?id=56269.
DanB
mediawiki-l@lists.wikimedia.org