Hi,
I'm quite new to mediawiki and the supporting stuff like PHP and MySQL. And I'm not sure if this list is the right one for my problem. So please excuse any misuse...
I tried to install Mediawiki 1.3.9 on my local german WinXP SP 2 notebook, using a fresh XAMPP 1.4.10a installation. The install page says:
[...] Checking environment...
* PHP 4.3.9: ok * Warning: PHP's register_globals option is enabled. MediaWiki will work correctly, but this setting increases your exposure to potential security vulnerabilities in PHP-based software running on your server. You should disable it if you are able. * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * PHP is configured with no memory_limit. * Have zlib support; enabling output compression. * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. * Installation directory: C:\Programme\xampp\htdocs\mediawiki * Script URI path: /mediawiki [...]
But after entering all the data and submitting the page, I get a blank page in response. No LocalSettings.php file is generated. The wikidb database was created, but seems to be incomplete. (Some tables seems to be missing.)
After refreshing http://localhost/mediawiki/config/index.php, I get this response:
[...] MediaWiki 1.3.9 installation
Please include all of the lines below when reporting installation problems. Checking environment...
* PHP 4.3.9: ok * Warning: PHP's register_globals option is enabled. MediaWiki will work correctly, but this setting increases your exposure to potential security vulnerabilities in PHP-based software running on your server. You should disable it if you are able. * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * PHP is configured with no memory_limit. * Have zlib support; enabling output compression. * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. * Installation directory: C:\Programme\xampp\htdocs\mediawiki * Script URI path: /mediawiki * Warning: $wgProxyKey is insecure Connected as root (automatic) * Connected to database... 4.1.7-log; enabling MySQL 4 enhancementsWarning: $wgProxyKey is insecure * Database wikidb exists * There are already MediaWiki tables in this database. Checking if updates are needed...
Updating ipblocks table... Query "ALTER TABLE ipblocks ADD ipb_auto tinyint(1) NOT NULL default '0', ADD ipb_id int(8) NOT NULL auto_increment, ADD PRIMARY KEY (ipb_id)" failed with error code "Table 'wikidb.ipblocks' doesn't exist". [...]
I found this problem descrption in various wikipedia discussion pages, e.g. http://meta.wikimedia.org/wiki/Talk:Running_MediaWiki_on_Windows#Nothing_hap... http://meta.wikimedia.org/wiki/Talk:Running_MediaWiki_on_Windows#Nothing_hap... http://de.wikipedia.org/wiki/Wikipedia_Diskussion:MediaWiki-Installationsanl...
(german)
Can anyone help on this? E.g. where can I find any log files giving more info? (I looked at mysql\data\mysql.err but found nothing there.)
Regards Stefan