我的系統是 Fedora 3
Apache 2.0.53
PHP 4.3.11
MySQL 3.23.58
按照站上的方式安裝,
可是進入首頁卻出些一堆錯誤,
可以幫我看一下嗎,
謝謝.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalsystem WHERE type = 'module' AND status = 1 ORDER BY wei' at line 1 query: SELECT name, filename, throttle, bootstrap FROM http://www.kod.net.tw/drupalsystem WHERE type = 'module' AND status = 1 ORDER BY weight ASC, filename ASC in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalsystem WHERE name = 'filter' AND type = 'module'' at line 1 query: SELECT filename FROM http://www.kod.net.tw/drupalsystem WHERE name = 'filter' AND type = 'module' in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalsystem WHERE name = 'node' AND type = 'module'' at line 1 query: SELECT filename FROM http://www.kod.net.tw/drupalsystem WHERE name = 'node' AND type = 'module' in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalsystem WHERE name = 'system' AND type = 'module'' at line 1 query: SELECT filename FROM http://www.kod.net.tw/drupalsystem WHERE name = 'system' AND type = 'module' in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalsystem WHERE name = 'user' AND type = 'module'' at line 1 query: SELECT filename FROM http://www.kod.net.tw/drupalsystem WHERE name = 'user' AND type = 'module' in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalsystem WHERE name = 'watchdog' AND type = 'module'' at line 1 query: SELECT filename FROM http://www.kod.net.tw/drupalsystem WHERE name = 'watchdog' AND type = 'module' in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalcache WHERE cid = 'menu::en'' at line 1 query: SELECT data, created, headers, expire FROM http://www.kod.net.tw/drupalcache WHERE cid = 'menu::en' in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalrole r INNER JOIN http://www.kod.net.tw/drupalpermission' at line 1 query: SELECT DISTINCT(p.perm) FROM http://www.kod.net.tw/drupalrole r INNER JOIN http://www.kod.net.tw/drupalpermission p ON p.rid = r.rid WHERE r.rid IN (1) in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalsystem WHERE type = 'theme'' at line 1 query: SELECT * FROM http://www.kod.net.tw/drupalsystem WHERE type = 'theme' in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalcache WRITE' at line 1 query: LOCK TABLES http://www.kod.net.tw/drupalcache WRITE in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalcache SET data = 'a:4:{s:10:\"path index\";a:44:{s:13:\"' at line 1 query: UPDATE http://www.kod.net.tw/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:\"admin\";i:-14;s:12:\"admin/themes\";i:-15;s:19:\"admin/themes/select\";i:-16;s:21:\"admin/themes/settings\";i:-17;s:28:\"admin/themes/settings/global\";i:-18;s:14:\"admin/settings in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalsystem WHERE type = 'theme'' at line 1 query: SELECT * FROM http://www.kod.net.tw/drupalsystem WHERE type = 'theme' in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalurl_alias' at line 1 query: SELECT COUNT(pid) FROM http://www.kod.net.tw/drupalurl_alias in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalwatchdog (uid, type, message, severity, link, location, ' at line 1 query: INSERT INTO http://www.kod.net.tw/drupalwatchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'access denied', 'node denied access.', 1, 'view', 'http://www.kod.net.tw/drupal/', 'http://www.kod.net.tw/drupal/?q=user', '61.62.64.196', 1152689261) in /var/www/html/drupal/includes/database.mysql.inc on line 120.
user warning: You have an error in your SQL syntax near '://www.kod.net.tw/drupalurl_alias' at line 1 query: SELECT COUNT(pid) FROM http://www.kod.net.tw/drupalurl_alias in /var/www/html/drupal/includes/database.mysql.inc on line 120.
MySQL 3.23.58 ? Drupal
MySQL 3.23.58 ? Drupal 4.7.2似乎需要MySQL 4.0以上...
設定檔出問題了吧,
設定檔出問題了吧,你再檢查一下sites/default/settings.php
因為依照語法錯誤的問題,你應該把要填database的資訊填成網址了
database的語法:
裡面填得該是mysql的帳號密碼和資料庫
是我搞錯了, 抱歉,
是我搞錯了,
抱歉,
我竟然把這段
$db_prefix = '';
填入網址,
真是糊塗啊~