主機
phpMyAdmin 2.6.4-pl4
MySQL 版本 4.0.24-nt
請問一下這是什麼問題...
drupal安裝真的很難...
Warning: Table 'drupal.drupalsessions' doesn't exist query: SELECT sid FROM drupalsessions WHERE sid = '24e457aff3e5547ed3a72e18b72626e4' in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalusers' doesn't exist query: SELECT u.* FROM drupalusers u WHERE u.uid = 0 in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalaccess' doesn't exist query: SELECT * FROM drupalaccess WHERE status = 1 AND type = 'host' AND LOWER('127.0.0.1') LIKE LOWER(mask) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalaccess' doesn't exist query: SELECT * FROM drupalaccess WHERE status = 0 AND type = 'host' AND LOWER('127.0.0.1') LIKE LOWER(mask) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalcache' doesn't exist query: SELECT data, created, headers, expire FROM drupalcache WHERE cid = 'variables' in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalvariable' doesn't exist query: SELECT * FROM drupalvariable in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalcache' doesn't exist query: LOCK TABLES drupalcache WRITE in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalcache' doesn't exist query: UPDATE drupalcache SET data = 'N;', created = 1165432413, expire = 0, headers = '' WHERE cid = 'variables' in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalurl_alias' doesn't exist query: SELECT COUNT(pid) FROM drupalurl_alias in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalsystem' doesn't exist\nquery: SELECT name, filename, throttle, bootstrap FROM drupalsystem WHERE type = 'module' AND status = 1 ORDER BY weight ASC, filename ASC in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalsystem' doesn't exist\nquery: SELECT filename FROM drupalsystem WHERE name = 'filter' AND type = 'module' in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalsystem' doesn't exist\nquery: SELECT filename FROM drupalsystem WHERE name = 'node' AND type = 'module' in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalsystem' doesn't exist\nquery: SELECT filename FROM drupalsystem WHERE name = 'system' AND type = 'module' in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalsystem' doesn't exist\nquery: SELECT filename FROM drupalsystem WHERE name = 'user' AND type = 'module' in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalsystem' doesn't exist\nquery: SELECT filename FROM drupalsystem WHERE name = 'watchdog' AND type = 'module' in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalcache' doesn't exist\nquery: SELECT data, created, headers, expire FROM drupalcache WHERE cid = 'menu::en' in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalrole' doesn't exist\nquery: SELECT DISTINCT(p.perm) FROM drupalrole r INNER JOIN drupalpermission p ON p.rid = r.rid WHERE r.rid IN (1) in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalsystem' doesn't exist\nquery: SELECT * FROM drupalsystem WHERE type = 'theme' in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalcache' doesn't exist\nquery: LOCK TABLES drupalcache WRITE in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalcache' doesn't exist\nquery: UPDATE drupalcache SET data = 'a:4:{s:10:\\"path index\\";a:44:{s:13:\\"admin/filters\\";i:-1;s:18:\\"admin/filters/list\\";i:-2;s:17:\\"admin/filters/add\\";i:-3;s:20:\\"admin/filters/delete\\";i:-4;s:11:\\"filter/tips\\";i:-5;s:10:\\"admin/node\\";i:-6;s:19:\\"admin/node/overview\\";i:-7;s:19:\\"admin/settings/node\\";i:-8;s:28:\\"admin/settings/content-types\\";i:-9;s:4:\\"node\\";i:-10;s:8:\\"node/add\\";i:-11;s:7:\\"rss.xml\\";i:-12;s:12:\\"system/files\\";i:-13;s:5:\\& in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Cannot modify header information - headers already sent by (output started at c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc:121) in c:\\appserv\\www\\drupal4\\includes\\common.inc on line 142.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalsystem' doesn't exist\nquery: SELECT * FROM drupalsystem WHERE type = 'theme' in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalurl_alias' doesn't exist\nquery: SELECT COUNT(pid) FROM drupalurl_alias in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalwatchdog' doesn't exist\nquery: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'access denied', '<em>node</em> denied access.', 1, '<a href=\\"/drupal4/?q=node\\" class=\\"active\\">view</a>', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalurl_alias' doesn't exist\nquery: SELECT COUNT(pid) FROM drupalurl_alias in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Fatal error: Call to undefined function: block_list() in c:\appserv\www\drupal4\includes\theme.inc on line 936
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalsessions' doesn't exist\nquery: SELECT sid FROM drupalsessions WHERE sid = '24e457aff3e5547ed3a72e18b72626e4' in c:\\appserv\\www\\drupal4\\includes\\database.mysql.inc on line 121.', 2, '', 'http://localhost/drupal4/', '', '127.0.0.1', 1165432413) in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Warning: Table 'drupal.drupalwatchdog' doesn't exist query: INSERT INTO drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', 'Table 'drupal.drupalsessions' doesn't exist\nquery: INSERT INTO drupalsessions (sid, uid, cache, hostname, session, timestamp) VALUES ('24e457aff3e5547ed3a72e18b72626e4', 0, 0, '127.0.0.1', 'messages|a:1:{s:5:\\"error\\";a:16:{i:0;s:286:\\"user warning: Table 'drupal.drupalsystem' doesn't exist\\nquery: SELECT name, filename, throttle, bootstrap FROM drupalsystem WHERE type = 'module' AND status = 1 ORDER BY weight ASC, filename ASC in c:\\\\appserv\\\\www\\\\drupal4\\\\includes\\\\database.mysql.inc on line 121.\\";i:1;s:240:\\"user warning: Table 'drupal.drupalsystem' doesn't exist\\nquery: in c:\appserv\www\drupal4\includes\database.mysql.inc on line 121
Re: 安裝的問題...一直卡住
你的安裝步驟
可以一一列出來 ??
讓大家做個參考
Re: 安裝的問題...一直卡住
[quote=cupid]你的安裝步驟
可以一一列出來 ??
讓大家做個參考[/quote]
這是 drupal 4.7 AppServ Open Project - 2.4.4a for Windows 安裝
更改sites\default\setlings.php
* Database URL format:
設定為:
$db_url = 'mysql://root:@localhost/drupal';
$db_prefix = 'drupal';
root本機為測試用所以密碼空白
* It is not allowed to have a trailing slash; Drupal will add it
* for you.
改為本機的網址連結:
*/
$base_url = 'http://localhost/drupal4'; // NO trailing slash!
設定資料庫名稱為:
drupal
載入database/database.4.0.mysql
因database.4.1.mysql載入發生錯誤
安裝完成
Re: 安裝的問題...一直卡住
資料庫匯進去了沒,看起來資料表都沒建立。
mysql -u root -pXXXX durupalDB < mysql.4.0.sql
類似這行的步驟有執行嗎?
如果有,請回答第樓上的問題。
Re: 安裝的問題...一直卡住
drupal 5 的安装其实很简单,通常安装出问题是我们按照drupal4.x的思维做导致的。
drupal 5的安装步骤一般是:
1、建立数据库(不用导入任何数据)
2、上传drupal 5,不要修改任何文件(通常犯的错误是象drupal4.x一样修改setting.php文件)
3、访问网站,根据向导填写数据库信息(数据库名、数据库用户和密码、数据库所在主机)即可。
sandwich目前的状况,还可以尝试直接访问站点的install.php文件,可能问题就解决了。
Re: 安裝的問題...一直卡住
[quote=holz@drupal.org]drupal 5 的安装其实很简单,通常安装出问题是我们按照drupal4.x的思维做导致的。
drupal 5的安装步骤一般是:
1、建立数据库(不用导入任何数据)
2、上传drupal 5,不要修改任何文件(通常犯的错误是象drupal4.x一样修改setting.php文件)
3、访问网站,根据向导填写数据库信息(数据库名、数据库用户和密码、数据库所在主机)即可。
sandwich目前的状况,还可以尝试直接访问站点的install.php文件,可能问题就解决了。[/quote]
drupal 5 在安裝上沒什麼問題只要是資料庫設定好就沒什麼問題
$db_prefix = 'drupal'
只是資料庫要加入表格名稱是卻沒有欄位可選擇,
因租的空間只提供一個sql
還有drupal5目前無中文暫等中文化出現再來安裝
http://seedera.com
Re: 安裝的問題...一直卡住
這是 4.7還是5.0? 看起來資料表都沒建好...
4.7要自己匯入資料表,5.0只要給帳號密碼、但要把資料庫先建起來。
Re: 安裝的問題...一直卡住
這是 4.7版本而對應資料庫也已經載入資料了!!
Re: 安裝的問題...一直卡住
找到問題了~~~
$db_prefix = 'drupal';
改為
$db_prefix = '';
就成功了!!!!
忘記導入資料庫是不會自已在前方加入drupal
謝謝各位大大不吝指導!!
感恩