1 頁 (共 1 頁)

[問題]我的phpbb在LYCOS上有問題....help me!!

發表於 : 2004-01-20 00:26
metorkid
我用fontpage把我的phpbb 都上傳了

但是還是開不出來

請問各位高手這是怎麼回事呀???

有人可以幫我解答嗎??

非常謝謝!!



Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /data/members/free/tripod/uk/m/e/t/metorkid/htdocs/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /data/members/free/tripod/uk/m/e/t/metorkid/htdocs/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database


See ad

Site Catcher can transfer your site to Tripod in 3 clicks Join Lycos Affiliate Programs and earn money from your website

發表於 : 2004-01-20 00:52
aiken

[問題]我的phpbb在LYCOS上有問題....help me!!

發表於 : 2004-01-20 14:08
metorkid
按照您提供的連結方法

試了很多多次><

還是不能還是沒辦法解決

請問高手大哥你能幫我看看嗎?

非常感謝!!!



這是我的config.php不知道有無錯誤,可否幫我看看:

$cfg['PmaAbsoluteUri'] = 'http://members.lycos.co.uk/metorkid/phpMyAdmin/';


$cfg['Servers'][$i]['host'] = 'metorkid'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser'] = 'metorkid'; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = '6525365'; // access to the "mysql/user"
// and "mysql/db" tables)
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = ''; // MySQL user

發表於 : 2004-01-20 14:10
aiken
你開的是 phpMyAdmin/config.inc.php 不是這個
是你的 phpbb目錄下的 config.php

Lycos的資料庫不需要密碼\r
確定你的config.php設定像下面這樣\r
$dbname = '會員帳號_uk_db';
$dbuser = '會員帳號';
$dbpasswd = '';

[問題]我的phpbb在LYCOS上有問題....help me!!

發表於 : 2004-01-20 15:09
metorkid
唉...我將phpbb中的config

改成您的方法

但是卻又發生入下的狀況

我又陷入困境中\r

可否再麻煩您解答....謝謝囉!!!



phpBB : Critical Error

Could not query config information

DEBUG MODE

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

SELECT * FROM phpbb_config

Line : 166
File : /data/members/free/tripod/uk/m/e/t/metorkid/htdocs/common.php

[問題]我的phpbb在LYCOS上有問題....help me!!

發表於 : 2004-01-20 16:13
metorkid
慘了慘了

我原先的資料現在出現錯誤了

叫不出來一直出現\r

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in c:\appserv\www\phpbb2\db\mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in c:\appserv\www\phpbb2\db\mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database


可能是我改錯了config
可不可已幫我看看
$cfg['PmaAbsoluteUri'] = 'http:/localhost/www/phpMyAdmin/';
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
// (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
// (this user must have read-only
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
// and "mysql/db" tables)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user

發表於 : 2004-01-20 22:35
aiken
已經跟你說了你開錯檔案了
不是這個檔案
你改這個跟你的phpbb是沒有關係的

請修改 config.php