I'm trying to install MediaWiki 1.5.0 on IIS 6, PHP5, and MySQL 5.0, using config/index.php install helper, however I get the following error: Initialising "MediaWiki" namespace... A database error has occurred Query: INSERT INTO `page` (page_id,page_namespace,page_title,page_counter,page_restrictions,page_is_redirect,page_is_new,page_random,page_touched,page_latest) VALUES (NULL,'8','1movedto2','0','sysop','0','1','0.837402787644 ','20051019153650','0') Function: Article::insertOn Error: 1364 Field 'page_len' doesn't have a default value (localhost)
Backtrace: GlobalFunctions.php line 451 calls wfBacktrace() Database.php line 400 calls wfDebugDieBacktrace() Database.php line 350 calls Database::reportQueryError() Database.php line 940 calls Database::query() Article.php line 943 calls Database::insert() InitialiseMessages.inc line 189 calls Article::insertOn() InitialiseMessages.inc line 72 calls initialiseMessagesReal() updaters.inc line 670 calls initialiseMessages() index.php line 592 calls do_all_updates() I don't know much about MySQL, but from what I've been able to decipher about the error message, it saying that there's no value specified for the field 'page_len'? But 'page_len' doesn't even seem to be in the list of created fields. A query into the database shows that nothing lives in the 'page'. Any help would be much appreciated. Thanks, -Evan
Evan Sherwood wrote:
I'm trying to install MediaWiki 1.5.0 on IIS 6, PHP5, and MySQL 5.0, using config/index.php install helper, however I get the following error: Initialising "MediaWiki" namespace... A database error has occurred Query: INSERT INTO `page` (page_id,page_namespace,page_title,page_counter,page_restrictions,page_is_redirect,page_is_new,page_random,page_touched,page_latest) VALUES (NULL,'8','1movedto2','0','sysop','0','1','0.837402787644 ','20051019153650','0') Function: Article::insertOn Error: 1364 Field 'page_len' doesn't have a default value (localhost)
I have not been able to reproduce this problem; the message page insertions work fine aside from going somewhat slowly.
MediaWiki 1.5.0 Mac OS X 10.4 lighttpd PHP 5.1.0RC3 (CGI SAPI) MySQL 5.0.13
-- brion vibber (brion @ pobox.com)
Perhaps it's a problem with IIS, then? I see you're running a different server on OSX. Oh well - I removed 5.0 and downgraded to 4.1 and everything seems to be running normally now. Thanks for your help anyways. -Evan
On 10/22/05, Brion Vibber brion@pobox.com wrote:
Evan Sherwood wrote:
I'm trying to install MediaWiki 1.5.0 on IIS 6, PHP5, and MySQL 5.0,
using
config/index.php install helper, however I get the following error: Initialising "MediaWiki" namespace... A database error has occurred Query: INSERT INTO `page`
(page_id,page_namespace,page_title,page_counter,page_restrictions,page_is_redirect,page_is_new,page_random,page_touched,page_latest)
VALUES (NULL,'8','1movedto2','0','sysop','0','1','0.837402787644 ','20051019153650','0') Function: Article::insertOn Error: 1364 Field 'page_len' doesn't have a default value (localhost)
I have not been able to reproduce this problem; the message page insertions work fine aside from going somewhat slowly.
MediaWiki 1.5.0 Mac OS X 10.4 lighttpd PHP 5.1.0RC3 (CGI SAPI) MySQL 5.0.13
-- brion vibber (brion @ pobox.com http://pobox.com)
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org