代碼: 選擇全部
[color=red]內文已刪(動機不明)[/color]
版主: 版主管理群
代碼: 選擇全部
[color=red]內文已刪(動機不明)[/color]
代碼: 選擇全部
[color=red]內文已刪(動機不明)[/color]
代碼: 選擇全部
[color=red]內文已刪(動機不明)[/color]
代碼: 選擇全部
[color=red]內文已刪(動機不明)[/color]
說真的你這問題我沒遇過,也不知道怎麼幫忙...天地人 寫:你雖要看我的檔案嗎?
我給你關於這個MOD裡要修改的檔案資料
INSERT INTO phpbb_config (config_name, config_value) VALUES ('vault_enable', '1')
+++ Error: Duplicate entry 'vault_enable' for key 1
INSERT INTO phpbb_config (config_name, config_value) VALUES ('vault_name', 'Vault')
+++ Error: Duplicate entry 'vault_name' for key 1
INSERT INTO phpbb_config (config_name, config_value) VALUES ('stock_use', '1')
+++ Error: Duplicate entry 'stock_use' for key 1
INSERT INTO phpbb_config (config_name, config_value) VALUES ('stock_time', '86400')
+++ Error: Duplicate entry 'stock_time' for key 1
INSERT INTO phpbb_config (config_name, config_value) VALUES ('stock_last_change', '0')
+++ Error: Duplicate entry 'stock_last_change' for key 1
INSERT INTO phpbb_config (config_name, config_value) VALUES ('vault_display_profile' , '1')
+++ Error: Duplicate entry 'vault_display_profile' for key 1
INSERT INTO phpbb_config (config_name, config_value) VALUES ('vault_display_topics' , '0')
+++ Error: Duplicate entry 'vault_display_topics' for key 1
CREATE TABLE phpbb_vault_blacklist ( user_id int(8) NOT NULL default '0', user_due int(8) NOT NULL default '0', PRIMARY KEY (user_id) ) TYPE=MyISAM
+++ Error: Table 'phpbb_vault_blacklist' already exists
CREATE TABLE phpbb_vault_exchange ( stock_id int(8) NOT NULL default '0', stock_name varchar(40) NOT NULL default '', stock_desc varchar(255) NOT NULL default '', stock_total int(5) default '30', stock_price int(8) NOT NULL default '0', stock_previous_price int(8) NOT NULL default '0', stock_best_price int(8) NOT NULL default '0', stock_worst_price int(8) NOT NULL default '0', chairman int(8) default '2', PRIMARY KEY (stock_id) ) TYPE=MyISAM
+++ Error: Table 'phpbb_vault_exchange' already exists
INSERT INTO phpbb_vault_exchange (stock_id, stock_name, stock_desc, stock_price, stock_previous_price, stock_best_price, stock_worst_price) VALUES (1, 'Vault_action_name_1', 'Vault_action_desc_1', 100, 100, 100, 100)
+++ Error: Duplicate entry '1' for key 1
INSERT INTO phpbb_vault_exchange (stock_id, stock_name, stock_desc, stock_price, stock_previous_price, stock_best_price, stock_worst_price) VALUES (2, 'Vault_action_name_2', 'Vault_action_desc_2', 200, 200, 200, 200)
+++ Error: Duplicate entry '2' for key 1
INSERT INTO phpbb_vault_exchange (stock_id, stock_name, stock_desc, stock_price, stock_previous_price, stock_best_price, stock_worst_price) VALUES (3, 'Vault_action_name_3', 'Vault_action_desc_3', 300, 300, 300, 300)
+++ Error: Duplicate entry '3' for key 1
CREATE TABLE phpbb_vault_exchange_users ( stock_id mediumint(8) NOT NULL default '0', user_id mediumint(8) NOT NULL default '0', stock_amount mediumint(8) NOT NULL default '0', stock_price mediumint(8) NOT NULL default '0', KEY stock_id (stock_id), KEY user_id (user_id) ) TYPE=MyISAM
+++ Error: Table 'phpbb_vault_exchange_users' already exists
CREATE TABLE phpbb_vault_general ( config_name varchar(255) NOT NULL default '', config_value int(15) NOT NULL default '0', PRIMARY KEY (config_name) ) TYPE=MyISAM
+++ Error: Table 'phpbb_vault_general' already exists
INSERT INTO phpbb_vault_general (config_name, config_value) VALUES ('vault_loan_enable', 1)
+++ Error: Duplicate entry 'vault_loan_enable' for key 1
INSERT INTO phpbb_vault_general (config_name, config_value) VALUES ('interests_rate', 4)
+++ Error: Duplicate entry 'interests_rate' for key 1
INSERT INTO phpbb_vault_general (config_name, config_value) VALUES ('interests_time', 86400)
+++ Error: Duplicate entry 'interests_time' for key 1
INSERT INTO phpbb_vault_general (config_name, config_value) VALUES ('loan_interests', 15)
+++ Error: Duplicate entry 'loan_interests' for key 1
INSERT INTO phpbb_vault_general (config_name, config_value) VALUES ('loan_interests_time', 864000)
+++ Error: Duplicate entry 'loan_interests_time' for key 1
INSERT INTO phpbb_vault_general (config_name, config_value) VALUES ('loan_max_sum', 5000)
+++ Error: Duplicate entry 'loan_max_sum' for key 1
INSERT INTO phpbb_vault_general (config_name, config_value) VALUES ('loan_requirements', 0)
+++ Error: Duplicate entry 'loan_requirements' for key 1
INSERT INTO phpbb_vault_general (config_name, config_value) VALUES ('stock_max_change', 10)
+++ Error: Duplicate entry 'stock_max_change' for key 1
INSERT INTO phpbb_vault_general (config_name, config_value) VALUES ('stock_min_change', 0)
+++ Error: Duplicate entry 'stock_min_change' for key 1
INSERT INTO phpbb_vault_general (config_name, config_value) VALUES ('base_amount', 10)
+++ Error: Duplicate entry 'base_amount' for key 1
INSERT INTO phpbb_vault_general (config_name, config_value) VALUES ('num_items', 20)
+++ Error: Duplicate entry 'num_items' for key 1
INSERT INTO phpbb_vault_general (config_name, config_value) VALUES ('change_fee', 1)
+++ Successfull
CREATE TABLE phpbb_vault_users ( owner_id int(8) NOT NULL default '0', account_id int(8) NOT NULL default '0', account_sum int(8) NOT NULL default '0', account_time int(11) NOT NULL default '0', loan_sum int(8) NOT NULL default '0', loan_time int(11) NOT NULL default '0', account_protect tinyint(1) NOT NULL default '0', loan_protect tinyint(1) NOT NULL default '0', newsletter tinyint(1) NOT NULL default '0', PRIMARY KEY (owner_id) ) TYPE=MyISAM
+++ Error: Table 'phpbb_vault_users' already exists
喔~~原來如此...(的確我是嘗試加了一次 )動機不明 寫:Duplicate 這個單字不就是有重複、相同的意思嗎?
那段描述是說,你已經新增過 sql 了~
代碼: 選擇全部
Warning: Division by zero in /home/sasaki/public_html/forum/phpBB2/vault.php on line 195
代碼: 選擇全部
一般錯誤
Couldn't insert new account
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near ' '1085936832' , 0 , 0 )' at line 2
INSERT INTO phpbb_vault_users ( owner_id , account_id , account_sum , account_time , loan_sum , loan_time) VALUES ( 2 , 1 , , '1085936832' , 0 , 0 )
Line : 229
File : /home/sasaki/public_html/forum/phpBB2/vault.php
代碼: 選擇全部
phpBB : Critical Error
Error updating sessions table
DEBUG MODE
SQL Error : 1054 Unknown column 'PAGE_VAULT' in 'field list'
UPDATE phpbb_sessions SET session_time = 1087183628, session_page = PAGE_VAULT WHERE session_id = 'ca525fe11200aeea5580b966644d575e'
Line : 268
File : /var/www/takkiworld/includes/sessions.php