Page MenuHomePhabricator

can't create localsetting on iis6.0 and php5.1.6
Closed, ResolvedPublic

Description

Author: andreas.kolf

Description:
hi *,

i'm just trying to set up mediawiki on my server. i run Microsoft 2003 Server (German),
IIS 6.0, php 5.1.6 and mysql 5.0.26. running config/index.php everything looks fine and
it is trying to set up everything. in fact, database is created an a new user is set but
config/LocalSetting.php doesn't exist. script output is

PHP 5.1.6 installed
Found database drivers for: MySQL
PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
Have XML / Latin1-UTF-8 conversion support.
PHP is configured with no memory_limit.
Have zlib support; enabling output compression.
Couldn't find Turck MMCache, eAccelerator or APC. Object caching functions cannot be
used.
GNU diff3 not found.
Couldn't find GD library or ImageMagick; image thumbnailing disabled.
Installation directory: C:\Inetpub\wiki
Script URI path:
Environment checked. You can install MediaWiki.
Warning: $wgSecretKey key is insecure, generated with mt_rand(). Consider changing it
manually.
Generating configuration file...

Database type: MySQL
Loading class: DatabaseMysql
Attempting to connect to database server as root...success.
Connected to 5.0.26-community-nt
Created database wikidb
Creating tables... using MySQL 4 table defs...Query "CREATE TABLE user ( user_id int
(5) unsigned NOT NULL auto_increment, user_name varchar(255) binary NOT NULL default '',
user_real_name varchar(255) binary NOT NULL default '', user_password tinyblob NOT NULL
default '', user_newpassword tinyblob NOT NULL default '', user_email tinytext NOT NULL
default '', user_options blob NOT NULL default '', user_touched char(14) binary NOT NULL
default '', user_token char(32) binary NOT NULL default '', user_email_authenticated char
(14) binary, user_email_token char(32) binary, user_email_token_expires char(14) binary,
user_registration char(14) binary, PRIMARY KEY user_id (user_id), UNIQUE INDEX user_name
(user_name), INDEX (user_email_token) ) TYPE=InnoDB " failed with error code "BLOB/TEXT
column 'user_password' can't have a default value (localhost)".

during troubleshooting i also set filepermission for everyone to Full control. nothing
changed. also in log's there is no hint where the problem is.
in one how-to i found that sonfig should show the content of LocalSetting.php if it
could net create it.

please give me a hint where my problem is.

greetings from germany
Andreas


Version: 1.8.x
Severity: major
OS: Windows Server 2003
Platform: PC

Details

Reference
bz7552

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 9:24 PM
bzimport set Reference to bz7552.
bzimport added a subscriber: Unknown Object (MLST).

jimmy.collins wrote:

Did you recognized the error?

[...] " failed with error code "BLOB/TEXT column 'user_password' can't have a
default value (localhost)". [...]

Did you provide a password for "Admin username:"? Maybe try another one.

  • This bug has been marked as a duplicate of 7555 ***