1 頁 (共 1 頁)

[問題] 搬了網址後﹐出問題, phpBB: Critical Error, plz help

發表於 : 2005-07-30 01:58
無雙
搬了網址後﹐出問題.
自己不懂 php languages, Tables 不知怎樣 set.
I am using php 2.0.11
Please help out, Thanks!!


●架設主機作業系統:GoDaddy.com hosting service
●快速架站程式:
●空間連結: http://www.cidneyinsf.com/forum
●您的上網方式:DSL
●您安裝的程式:(not sure)
●您的 phpBB2 版本:phpBB 2.0.11
●錯誤代碼:(plz see above)
●錯誤狀態:


Here is the Error message...

phpBB : Critical Error

Could not query config information

DEBUG MODE

SQL Error : 1146 Table 'cidneyinsf.phpbb_config' doesn't exist

SELECT * FROM phpbb_config

Line : 214
File : /home/content/c/i/d/cidneyinsf/html/forum/common.php

發表於 : 2005-07-30 02:15
小竹子
請檢查您的 config.php 裡面的資訊應該不是現在的

發表於 : 2005-08-03 08:27
無雙
Thanks for your quick reply, 小竹子 .
And sorry for my late reply.

我的 config.php 是這樣的。。。

<?php

// phpBB 2.x auto-generated config file
// Do not change anything in this file!

$dbms = 'mysql4'; //知道和新網址 match and correct
$dbhost = 'mysql14.secureserver.net'; //知道和新網址 match and correct
$dbname = 'cidneyinsf'; //知道和新網址 match and correct
$dbuser = 'cidneyinsf'; //知道和新網址 match and correct
$dbpasswd = 'samplepassword'; //知道和新網址 match and correct

$table_prefix = 'phpbb_'; // 這裡不知道, mostly not correct here, not sure hoe to set it

define('PHPBB_INSTALLED', true); // 這裡不知道, mostly not correct here, not sure how to set it

?>


Please help,
and Thanks again on your reply,
I appreaciate them!

發表於 : 2005-08-03 10:56
momoC
哎呀,你是把整個 config.php 都貼出來了嗎?
這樣不好吧!回頭是不是該把你的使用者和密碼比較好?
萬一被駭怎麼辦?還是我多慮了?
$table_prefix = 'phpbb_'; // 這裡不知道, mostly not correct here, not sure hoe to set it
define('PHPBB_INSTALLED', true); // 這裡不知道, mostly not correct here, not sure how to set it
據我所知,這兩行原則上你不用做什麼更動,只要你確定在最早建資料庫時,系統問你資料庫的前置碼是什麼,你也是回答phpbb_,這樣就沒問題了。看起來程式是找到資料庫了,但因故抓不到 config 的 table,你不妨進入資料庫裡,先確定你的前置碼是什麼再說....