1 頁 (共 1 頁)

[問題]論壇銀行的問題,以爬文了....

發表於 : 2004-02-02 16:22
新手上路
問題外掛:[外掛]論壇銀行-(增加貸款功能)
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php?t=19509
使用版本:phpbb2.06+CashMod221+閃光會員...
狀況描述:無法執行bank_install.php檔(資料庫)

安裝到http://xxxx/phpbb2/bank_install.php 出來的錯誤是:

Running :: insert into phpbb_config values ('bankfees', '0.01') -> FAILED ---> Duplicate entry 'bankfees' for key 1

Running :: insert into phpbb_config values ('bankpayouttime', '1044174154') -> FAILED ---> Duplicate entry 'bankpayouttime' for key 1

Running :: insert into phpbb_config values ('bankname', 'Forums Bank') -> FAILED ---> Duplicate entry 'bankname' for key 1

Running :: insert into phpbb_config values ('bankpayset', '1') -> FAILED ---> Duplicate entry 'bankpayset' for key 1

Running :: insert into phpbb_config values ('bankloanfees', '0.40') -> FAILED ---> Duplicate entry 'bankloanfees' for key 1

Running :: insert into phpbb_config values ('bankpayoutloantime', '1044174154') -> FAILED ---> Duplicate entry 'bankpayoutloantime' for key 1

Running :: insert into phpbb_config values ('loanmax', '50000') -> FAILED ---> Duplicate entry 'loanmax' for key 1

Running :: insert into phpbb_config values ('bankpayloanset', '30') -> FAILED ---> Duplicate entry 'bankpayloanset' for key 1

Running :: insert into phpbb_config values ('bankconvert', '1000') -> FAILED ---> Duplicate entry 'bankconvert' for key 1

Running :: ALTER TABLE phpbb_users ADD `user_bank` INT(11) UNSIGNED DEFAULT '0' NOT NULL -> FAILED ---> Duplicate column name 'user_bank'

Running :: ALTER TABLE phpbb_users ADD `user_loan` INT(11) UNSIGNED DEFAULT '0' NOT NULL -> FAILED ---> Duplicate column name 'user_loan'


Finished!
Some of the querys have failed, contact me so I can fix the errors.


為何會這樣呢~__~"麻煩幫幫我.........

發表於 : 2004-02-02 16:56
Mac

代碼: 選擇全部

FAILED ---> Duplicate entry .....
失敗,紀錄已經存在\r

你的 phpbb_config 裡面已經有所有失敗的記錄了
最後 user_bank 和 user_loan 也已經加入了

~Mac

發表於 : 2004-02-02 16:58
動機不明
之前是不是曾經裝過一次呢? (資料庫重複建立了)

應該是可以運作了才對,有問題再提出來吧!

發表於 : 2004-02-04 06:23
新手上路
真是怪!我又重安裝了一次!是正常是沒錯@@"~可是..........
在會員管理的管理選項裡面的上面有幾排文字好像是錯誤的訊息...又要麻煩大家幫我看一下了!目前執行倒是沒有什麼問題.........可是好奇怪...............

Warning: opendir(../../language): failed to open dir: Invalid argument in d:\appserv\www\phpbb2\includes\functions_selects.php on line 31

Warning: readdir(): supplied argument is not a valid Directory resource in d:\appserv\www\phpbb2\includes\functions_selects.php on line 34

Warning: closedir(): supplied argument is not a valid Directory resource in d:\appserv\www\phpbb2\includes\functions_selects.php on line 45


謝謝~~~~~~~

發表於 : 2004-02-04 06:27
新手上路
我忘了打我裡面的內容了.......:\appserv\www\phpbb2\includes\functions_selects.php 資料31到45行如下

$dir = opendir($phpbb_root_path . $dirname);

$lang = array();
while ( $file = readdir($dir) )
{
if (preg_match('#^lang_#i', $file) && !is_file(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)) && !is_link(@phpbb_realpath($phpbb_root_path . $dirname . '/' . $file)))
{
$filename = trim(str_replace("lang_", "", $file));
$displayname = preg_replace("/^(.*?)_(.*)$/", "\\\1 [ \\\2 ]", $filename);
$displayname = preg_replace("/\[(.*?)_(.*)\]/", "[ \\\1 - \\\2 ]", $displayname);
$lang[$displayname] = $filename;
}
}

closedir($dir);

發表於 : 2006-10-14 23:31
愛在收人錢
我所出現的錯誤是~

Running :: insert into phpbb_config values ('bankfees', '0.01') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankpayouttime', '1160839624') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankname', 'Forums Bank') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankpayset', '1') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankloanfees', '0.40') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankpayoutloantime', '1160839624') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('loanmax', '50000') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankpayloanset', '30') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankconvert', '1000') -> FAILED ---> Column count doesn't match value count at row 1

Running :: ALTER TABLE phpbb_users ADD `user_bank` INT(11) UNSIGNED DEFAULT '0' NOT NULL -> FAILED ---> Duplicate column name 'user_bank'

Running :: ALTER TABLE phpbb_users ADD `user_loan` INT(11) UNSIGNED DEFAULT '0' NOT NULL -> FAILED ---> Duplicate column name 'user_loan'


Finished!
Some of the querys have failed, contact me so I can fix the errors.

這是為什麼呢XD

麻煩各位大大哩><"

發表於 : 2006-10-15 08:11
心靈捕手
愛在收人錢 寫:我所出現的錯誤是~

Running :: insert into phpbb_config values ('bankfees', '0.01') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankpayouttime', '1160839624') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankname', 'Forums Bank') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankpayset', '1') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankloanfees', '0.40') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankpayoutloantime', '1160839624') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('loanmax', '50000') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankpayloanset', '30') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankconvert', '1000') -> FAILED ---> Column count doesn't match value count at row 1

Running :: ALTER TABLE phpbb_users ADD `user_bank` INT(11) UNSIGNED DEFAULT '0' NOT NULL -> FAILED ---> Duplicate column name 'user_bank'

Running :: ALTER TABLE phpbb_users ADD `user_loan` INT(11) UNSIGNED DEFAULT '0' NOT NULL -> FAILED ---> Duplicate column name 'user_loan'


Finished!
Some of the querys have failed, contact me so I can fix the errors.

這是為什麼呢XD

麻煩各位大大哩><"
建議您:
依發問格式, 重新建立主題 (請說明您的 PHP, MySQL 版本).
http://phpbb-tw.net/phpbb/viewtopic.php?t=16161

發表於 : 2006-10-15 11:06
愛在收人錢
問題外掛:[外掛]論壇銀行-(增加貸款功能)[0923更新](big5-bank_cv2_face)
使用版本:phpBB-2.0.21 mysql-5.0.22-win32
狀況描述: 無法執行bank_install.php檔(資料庫)

安裝到http://xxxx/phpbb2/bank_install.php 出來的錯誤是:

Running :: insert into phpbb_config values ('bankfees', '0.01') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankpayouttime', '1160839624') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankname', 'Forums Bank') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankpayset', '1') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankloanfees', '0.40') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankpayoutloantime', '1160839624') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('loanmax', '50000') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankpayloanset', '30') -> FAILED ---> Column count doesn't match value count at row 1

Running :: insert into phpbb_config values ('bankconvert', '1000') -> FAILED ---> Column count doesn't match value count at row 1

Running :: ALTER TABLE phpbb_users ADD `user_bank` INT(11) UNSIGNED DEFAULT '0' NOT NULL -> FAILED ---> Duplicate column name 'user_bank'

Running :: ALTER TABLE phpbb_users ADD `user_loan` INT(11) UNSIGNED DEFAULT '0' NOT NULL -> FAILED ---> Duplicate column name 'user_loan'


Finished!
Some of the querys have failed, contact me so I can fix the errors.

補充(曾安裝過的外掛):

主題類型外掛

跑馬燈外掛V1.2

管理員修改標題顏色~

影片外掛

top5外掛

SpacePilot3K風格

(昨天沒按照格式><"抱歉歐~以後會改進的!! :mrgreen: )