您在這裡

drupal beta2 安装时出现错误,这是为何?

winner's 的頭像
winner 在 2006-12-03 (周日) 20:43 發表

Warning: Field 'pages' doesn't have a default value query: INSERT INTO blocks (module,delta,theme,status) VALUES('user', 0, 'garland', 1) in C:\www\Apache2\www\includes\database.mysql.inc on line 167

Warning: Field 'pages' doesn't have a default value query: INSERT INTO blocks (module,delta,theme,status) VALUES('user', 1, 'garland', 1) in C:\www\Apache2\www\includes\database.mysql.inc on line 167

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\www\Apache2\www\includes\database.mysql.inc:167) in C:\www\Apache2\www\includes\bootstrap.inc on line 735

Warning: Cannot modify header information - headers already sent by (output started at C:\www\Apache2\www\includes\database.mysql.inc:167) in C:\www\Apache2\www\includes\bootstrap.inc on line 413

Warning: Cannot modify header information - headers already sent by (output started at C:\www\Apache2\www\includes\database.mysql.inc:167) in C:\www\Apache2\www\includes\bootstrap.inc on line 414

Warning: Cannot modify header information - headers already sent by (output started at C:\www\Apache2\www\includes\database.mysql.inc:167) in C:\www\Apache2\www\includes\bootstrap.inc on line 415

Warning: Cannot modify header information - headers already sent by (output started at C:\www\Apache2\www\includes\database.mysql.inc:167) in C:\www\Apache2\www\includes\bootstrap.inc on line 416

Warning: Cannot modify header information - headers already sent by (output started at C:\www\Apache2\www\includes\database.mysql.inc:167) in C:\www\Apache2\www\includes\bootstrap.inc on line 417

这个问题我想应是beta2的bug

我的安装步骤如下:
1.下载beta2源文件
2.建立数据库,并给用户权限
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE
TEMPORARY TABLES, LOCK TABLES
ON mydb.*
TO 'xxx'@'localhost' IDENTIFIED BY 'xxx';

3.把beta2原文件放入apache定义的根目录下.
目录为: www
4.运行http://localhost/install.php
然后输入数据库名,帐号,密码

5.出错.,站点好像是安装上了,但不能加任何文章,加文章后会出错.说node_revisions 表中的log没有default值.

无法添加节点,我晕呀,难道beta2只能在beta1基础上升级......