[問題] 安裝樂透
版主: 版主管理群
-
- 星球普通子民
- 文章: 23
- 註冊時間: 2005-01-29 17:39
- 來自: 快樂。S 星
- 聯繫:
-
- 星球公民
- 文章: 43
- 註冊時間: 2004-12-07 23:18
我裝了它是出現資料庫找不到user_items在phpbb_users user_id=2 的項目內\r
我找過我的資料庫 user_items是在phpbb_config內\r
我要怎麼做才能解決這個問題呢??
拜託了…\r
(phpbb_users確定要username 就是沒有 user_itmes)
看了install頁面的資料庫寫法 它是寫進phpbb_config裡\r
問題是 我實在是資料庫遜腳 不知道怎麼解決這問題
如果是要改掉網頁的話 相信要改的地方多如牛毛 不如直接定義資料庫比較快\r
SQL Error : 1054 Unknown column 'user_items' in 'field list'
SELECT `username`, `user_items` FROM phpbb_users WHERE user_id='2'
Line : 174
File : c:\appserv\www\phpbb\lottery.php
我找過我的資料庫 user_items是在phpbb_config內\r
我要怎麼做才能解決這個問題呢??
拜託了…\r
(phpbb_users確定要username 就是沒有 user_itmes)
看了install頁面的資料庫寫法 它是寫進phpbb_config裡\r
問題是 我實在是資料庫遜腳 不知道怎麼解決這問題
如果是要改掉網頁的話 相信要改的地方多如牛毛 不如直接定義資料庫比較快\r
SQL Error : 1054 Unknown column 'user_items' in 'field list'
SELECT `username`, `user_items` FROM phpbb_users WHERE user_id='2'
Line : 174
File : c:\appserv\www\phpbb\lottery.php
-
- 星球公民
- 文章: 43
- 註冊時間: 2004-12-07 23:18
-
- 星球公民
- 文章: 43
- 註冊時間: 2004-12-07 23:18
代碼: 選擇全部
#
#-----[ OPEN ]------------------------------------------
#
language/lang_*/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Lottery Variables
$lang['lottery_second'] = '秒';
$lang['lottery_seconds'] = '秒';
$lang['lottery_minute'] = '分鐘';
$lang['lottery_minutes'] = '分鐘';
$lang['lottery_hour'] = '小時';
$lang['lottery_hours'] = '小時';
$lang['lottery_day'] = '天';
$lang['lottery_days'] = '天';
$lang['lottery_current_history'] = 'Current History';
$lang['lottery_no_history'] = 'There is currently no history recorded!';
$lang['lottery_history_disabled'] = 'Lottery history is disabled on these forums!';
$lang['lottery_ticket_bought'] = 'Your ticket in the %s has been successfully purchased.';
$lang['lottery_tickets_bought'] = 'Your %s tickets in the %s have been successfully purchased.';
$lang['lottery_purchased_ticket'] = ' to purchase a ticket!';
$lang['lottery_purchased_tickets'] = ' to purchase %s tickets!';
$lang['lottery_purchased_ne'] = '你沒有足夠的';
$lang['lottery_too_many_tickets'] = 'You have already purchased the maximum amount of tickets allowed in this lottery! Please wait until the next draw.';
$lang['lottery_information'] = 'Information';
$lang['lottery_actions'] = 'Lottery Actions';
$lang['lottery_disabled'] = 'The lottery is currently turned off!<br /><br />Try again later.';
$lang['lottery_ID'] = '編號';
$lang['lottery_winner'] = '幸運兒';
$lang['lottery_amount_won'] = 'Amount Won';
$lang['lottery_time_won'] = '勝出時間';
$lang['lottery_total_history'] = 'There are a total of %s lottery history entries.';
$lang['lottery_history'] = '歷程';
$lang['lottery_tickets_owned'] = '彩票擁有者';
$lang['lottery_ticket_cost'] = '彩票售價';
$lang['lottery_base_pool'] = 'Base Prize Pool';
$lang['lottery_current_entries'] = 'Current Entries';
$lang['lottery_total_pool'] = 'Total Prize Pool';
$lang['lottery_item_draw'] = 'Items in Draw';
$lang['lottery_time_draw'] = 'Time Until Drawn';
$lang['lottery_last_winner'] = '上次的幸運兒';
$lang['lottery_buy_ticket'] = '購買單一彩票';
$lang['lottery_buy_tickets'] = '購買多張彩票';
$lang['lottery_view_history'] = '觀看樂透彩歷程';
$lang['lottery_view_phistory'] = 'View Personal History';
$lang['lottery'] = '樂透';
// Lottery Error Variables
$lang['lottery_error_updating'] = 'Error updating %s table!';
$lang['lottery_error_deleting'] = 'Error deleting from %s table!';
$lang['lottery_error_selecting'] = 'Error getting information from %s table!';
$lang['lottery_error_inserting'] = 'Error inserting into %s table!';
$lang['lottery_error_variable'] = 'Could not read %s variable!';
$lang['lottery_invalid_command'] = 'That is not a valid command!';
$lang['lottery_no_history_type'] = 'No history type selected!';
#
#-----[ OPEN ]------------------------------------------
#
language/lang_*/lang_admin.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Lottery Variables
$lang['lottery_second'] = '秒';
$lang['lottery_seconds'] = '秒';
$lang['lottery_minute'] = '分鐘';
$lang['lottery_minutes'] = '分鐘';
$lang['lottery_hour'] = '小時';
$lang['lottery_hours'] = '小時';
$lang['lottery_day'] = '天';
$lang['lottery_days'] = '天';
$lang['lottery_no_items'] = 'There are no items in the shop database!';
$lang['lottery_rand'] = '隨機';
$lang['lottery_statistics'] = 'Lottery Statistics';
$lang['lottery_edit_settings'] = 'Edit Lottery Settings';
$lang['lottery_no_one'] = '一個也沒有';
$lang['lottery_editor'] = 'Lottery Editor';
$lang['lottery_index_explain'] = 'This section allows you to edit the lottery settings.';
$lang['lottery_no_item'] = 'No such item exists!';
$lang['lottery_invalid_action'] = 'Invalid Action!';
$lang['lottery_click_to_return'] = '點選 %s這裡%s 回到樂透設定.';
$lang['lottery_random_items_updated'] = 'Random item settings sucessfully updated!';
$lang['lottery_item_added'] = 'Item successfully added to item pool!';
$lang['lottery_item_removed'] = 'Item successfully removed from item pool!';
$lang['lottery_updated'] = '樂透更新成功!';
$lang['lottery_status'] = '樂透狀態';
$lang['lottery_add_item'] = 'Add Item';
$lang['lottery_add_items'] = 'Add Item to Pool';
$lang['lottery_remove_item'] = 'Remove Item';
$lang['lottery_current_items'] = 'Current Item Pool';
$lang['lottery_update_settings'] = '更新設定';
$lang['lottery_max_cost'] = '最高價格';
$lang['lottery_min_cost'] = '最低價格';
$lang['lottery_all_shops'] = '所有商店';
$lang['lottery_from_shop'] = '從商店';
$lang['lottery_update'] = '更新';
$lang['lottery_currency'] = 'Currency to Use';
$lang['lottery_history'] = 'Lottery History';
$lang['lottery_item_pool'] = 'Item Pool';
$lang['lottery_full_display'] = 'Full Display';
$lang['lottery_max'] = '最大值';
$lang['lottery_off'] = '開啟';
$lang['lottery_on'] = '關閉';
$lang['lottery_mult_tickets'] = '多張彩票';
$lang['lottery_multiple'] = '多張';
$lang['lottery_single'] = '單一';
$lang['lottery_tickets_allowed'] = 'Tickets Allowed';
$lang['lottery_draw_periods'] = 'Lottery Draw Periods';
$lang['lottery_entry_cost'] = '輸入售價';
$lang['lottery_base_amount'] = 'Lottery Base Amount';
$lang['lottery_name'] = '樂透系統名稱';
$lang['lottery_auto_restart'] = '自動重來';
$lang['lottery_last_won'] = '上次勝出';
$lang['lottery_pool'] = 'Lottery Pool';
$lang['lottery_time_left'] = '剩餘時間';
$lang['lottery_duration_left'] = 'Duration Left';
$lang['lottery_total_entries'] = 'Total Entries';
$lang['lottery_items_table'] = 'Edit Item Pool';
$lang['lottery_items_settings'] = 'Edit Item Settings';
// Lottery Error Variables
$lang['lottery_error_updating'] = 'Error updating %s table!';
$lang['lottery_error_deleting'] = 'Error deleting from %s table!';
$lang['lottery_error_selecting'] = 'Error getting information from %s table!';
$lang['lottery_error_inserting'] = 'Error inserting into %s table!';
$lang['lottery_error_variable'] = 'Could not read %s variable!';
-
- 星球公民
- 文章: 43
- 註冊時間: 2004-12-07 23:18
我是這麼翻的
lang_main.php
// Lottery Variables
$lang['lottery_second'] = '秒';
$lang['lottery_seconds'] = '秒';
$lang['lottery_minute'] = '分';
$lang['lottery_minutes'] = '分';
$lang['lottery_hour'] = '小時';
$lang['lottery_hours'] = '小時';
$lang['lottery_day'] = '天';
$lang['lottery_days'] = '天';
$lang['lottery_current_history'] = '目前記錄';
$lang['lottery_no_history'] = '尚無任何一筆樂透記錄!';
$lang['lottery_history_disabled'] = '論壇已關閉樂透記錄查詢!';
$lang['lottery_ticket_bought'] = '您的彩券 %s 購買成功!';
$lang['lottery_tickets_bought'] = '您的 %s 彩券 %s 已經購買成功!';
$lang['lottery_purchased_ticket'] = '無法購買彩券!';
$lang['lottery_purchased_tickets'] = ' 購買 %s 彩券!';
$lang['lottery_purchased_ne'] = '金錢不足!';
$lang['lottery_too_many_tickets'] = '您已成功購買彩券最大數量! 敬請等待開獎時間';
$lang['lottery_information'] = '資訊';
$lang['lottery_actions'] = '進行樂透彩';
$lang['lottery_disabled'] = '樂透已關閉!<br /><br />請稍後再試';
$lang['lottery_ID'] = 'ID';
$lang['lottery_winner'] = '上期得獎主';
$lang['lottery_amount_won'] = '累積獎金';
$lang['lottery_time_won'] = '開獎時間';
$lang['lottery_total_history'] = '共有 %s 筆彩券記錄';
$lang['lottery_history'] = '歷史記錄';
$lang['lottery_tickets_owned'] = '您已購買張數';
$lang['lottery_ticket_cost'] = '每張彩卷價格';
$lang['lottery_base_pool'] = '基本頭彩彩金';
$lang['lottery_current_entries'] = '彩卷銷售張數';
$lang['lottery_total_pool'] = '累積頭彩彩金';
$lang['lottery_item_draw'] = '距離開獎時間';
$lang['lottery_time_draw'] = '距離開獎時間';
$lang['lottery_last_winner'] = '得獎主';
$lang['lottery_buy_ticket'] = '購買彩券';
$lang['lottery_buy_tickets'] = '購買彩券';
$lang['lottery_view_history'] = '檢視樂透記錄';
$lang['lottery_view_phistory'] = '檢視個人記錄';
// Lottery Error Variables
$lang['lottery_error_updating'] = '無法更新 %s 表格!';
$lang['lottery_error_deleting'] = '無法從表格 %s 中刪除!';
$lang['lottery_error_selecting'] = '無法從表格 %s 取得資訊!';
$lang['lottery_error_inserting'] = '無法插入到 %s 表格中!';
$lang['lottery_error_variable'] = '無法讀取 %s 數值!';
$lang['lottery_invalid_command'] = '無效的程序!';
$lang['lottery_no_history_type'] = '沒有選擇記錄類型!';
lang_admin.php
$lang['lottery_seconds'] = '秒';
$lang['lottery_minute'] = '分';
$lang['lottery_minutes'] = '分';
$lang['lottery_hour'] = '小時';
$lang['lottery_hours'] = '小時';
$lang['lottery_day'] = '天';
$lang['lottery_days'] = '天';
$lang['lottery_no_items'] = '沒有項目在資料庫裡!';
$lang['lottery_rand'] = '隨機';
$lang['lottery_statistics'] = '樂透狀態';
$lang['lottery_edit_settings'] = '編輯樂透設定';
$lang['lottery_no_one'] = '尚無人選';
$lang['lottery_editor'] = '編輯樂透';
$lang['lottery_index_explain'] = '這個選項允許您去編輯樂透設定';
$lang['lottery_no_item'] = '無相符的項目存在!';
$lang['lottery_invalid_action'] = '執行無效!';
$lang['lottery_click_to_return'] = '點選 %s這裡%s 回到樂透設定頁';
$lang['lottery_random_items_updated'] = '隨機項目設定成功更新!';
$lang['lottery_item_added'] = 'Item successfully added to item pool!';
$lang['lottery_item_removed'] = 'Item successfully removed from item pool!';
$lang['lottery_updated'] = '成功更新樂透!';
$lang['lottery_status'] = '樂透狀態';
$lang['lottery_add_item'] = 'Add Item';
$lang['lottery_add_items'] = 'Add Item to Pool';
$lang['lottery_remove_item'] = 'Remove Item';
$lang['lottery_current_items'] = 'Current Item Pool';
$lang['lottery_update_settings'] = '更新設定';
$lang['lottery_max_cost'] = '最大值';
$lang['lottery_min_cost'] = '最小值';
$lang['lottery_all_shops'] = '所有商店';
$lang['lottery_from_shop'] = 'From Shop';
$lang['lottery_update'] = '更新';
$lang['lottery_currency'] = '金幣使用';
$lang['lottery_history'] = '樂透記錄';
$lang['lottery_item_pool'] = 'Item Pool';
$lang['lottery_full_display'] = '顯示全部';
$lang['lottery_max'] = '最大數量';
$lang['lottery_off'] = '關閉';
$lang['lottery_on'] = '開啟';
$lang['lottery_mult_tickets'] = '單次購買多張彩券';
$lang['lottery_multiple'] = '多張';
$lang['lottery_single'] = '單張';
$lang['lottery_tickets_allowed'] = '允許購買彩券模式';
$lang['lottery_draw_periods'] = '樂透開獎時間';
$lang['lottery_entry_cost'] = '彩券售價';
$lang['lottery_base_amount'] = '樂透基本彩金';
$lang['lottery_name'] = '樂透名稱';
$lang['lottery_auto_restart'] = '自動開始';
$lang['lottery_last_won'] = '上期樂透中獎名單';
$lang['lottery_pool'] = '累積樂透彩金';
$lang['lottery_time_left'] = '剩餘時間';
$lang['lottery_duration_left'] = '距離開獎時間';
$lang['lottery_total_entries'] = '累積售出彩券';
$lang['lottery_items_table'] = 'Edit Item Pool';
$lang['lottery_items_settings'] = '編輯項目設定';
// Lottery Error Variables
$lang['lottery_error_updating'] = '無法更新 %s 表格!';
$lang['lottery_error_deleting'] = '無法從 %s 表格內刪除資料!';
$lang['lottery_error_selecting'] = '無法從 %s 表格內取得資料!';
$lang['lottery_error_inserting'] = '無法插入至 %s 表格!';
$lang['lottery_error_variable'] = '無法讀取 %s 數據!';
有的沒翻是因為 item 要翻項目覺得怪怪的
而且 上頭的商店 我也不知道是指什麼\r
就當參考用就好了
lang_main.php
// Lottery Variables
$lang['lottery_second'] = '秒';
$lang['lottery_seconds'] = '秒';
$lang['lottery_minute'] = '分';
$lang['lottery_minutes'] = '分';
$lang['lottery_hour'] = '小時';
$lang['lottery_hours'] = '小時';
$lang['lottery_day'] = '天';
$lang['lottery_days'] = '天';
$lang['lottery_current_history'] = '目前記錄';
$lang['lottery_no_history'] = '尚無任何一筆樂透記錄!';
$lang['lottery_history_disabled'] = '論壇已關閉樂透記錄查詢!';
$lang['lottery_ticket_bought'] = '您的彩券 %s 購買成功!';
$lang['lottery_tickets_bought'] = '您的 %s 彩券 %s 已經購買成功!';
$lang['lottery_purchased_ticket'] = '無法購買彩券!';
$lang['lottery_purchased_tickets'] = ' 購買 %s 彩券!';
$lang['lottery_purchased_ne'] = '金錢不足!';
$lang['lottery_too_many_tickets'] = '您已成功購買彩券最大數量! 敬請等待開獎時間';
$lang['lottery_information'] = '資訊';
$lang['lottery_actions'] = '進行樂透彩';
$lang['lottery_disabled'] = '樂透已關閉!<br /><br />請稍後再試';
$lang['lottery_ID'] = 'ID';
$lang['lottery_winner'] = '上期得獎主';
$lang['lottery_amount_won'] = '累積獎金';
$lang['lottery_time_won'] = '開獎時間';
$lang['lottery_total_history'] = '共有 %s 筆彩券記錄';
$lang['lottery_history'] = '歷史記錄';
$lang['lottery_tickets_owned'] = '您已購買張數';
$lang['lottery_ticket_cost'] = '每張彩卷價格';
$lang['lottery_base_pool'] = '基本頭彩彩金';
$lang['lottery_current_entries'] = '彩卷銷售張數';
$lang['lottery_total_pool'] = '累積頭彩彩金';
$lang['lottery_item_draw'] = '距離開獎時間';
$lang['lottery_time_draw'] = '距離開獎時間';
$lang['lottery_last_winner'] = '得獎主';
$lang['lottery_buy_ticket'] = '購買彩券';
$lang['lottery_buy_tickets'] = '購買彩券';
$lang['lottery_view_history'] = '檢視樂透記錄';
$lang['lottery_view_phistory'] = '檢視個人記錄';
// Lottery Error Variables
$lang['lottery_error_updating'] = '無法更新 %s 表格!';
$lang['lottery_error_deleting'] = '無法從表格 %s 中刪除!';
$lang['lottery_error_selecting'] = '無法從表格 %s 取得資訊!';
$lang['lottery_error_inserting'] = '無法插入到 %s 表格中!';
$lang['lottery_error_variable'] = '無法讀取 %s 數值!';
$lang['lottery_invalid_command'] = '無效的程序!';
$lang['lottery_no_history_type'] = '沒有選擇記錄類型!';
lang_admin.php
$lang['lottery_seconds'] = '秒';
$lang['lottery_minute'] = '分';
$lang['lottery_minutes'] = '分';
$lang['lottery_hour'] = '小時';
$lang['lottery_hours'] = '小時';
$lang['lottery_day'] = '天';
$lang['lottery_days'] = '天';
$lang['lottery_no_items'] = '沒有項目在資料庫裡!';
$lang['lottery_rand'] = '隨機';
$lang['lottery_statistics'] = '樂透狀態';
$lang['lottery_edit_settings'] = '編輯樂透設定';
$lang['lottery_no_one'] = '尚無人選';
$lang['lottery_editor'] = '編輯樂透';
$lang['lottery_index_explain'] = '這個選項允許您去編輯樂透設定';
$lang['lottery_no_item'] = '無相符的項目存在!';
$lang['lottery_invalid_action'] = '執行無效!';
$lang['lottery_click_to_return'] = '點選 %s這裡%s 回到樂透設定頁';
$lang['lottery_random_items_updated'] = '隨機項目設定成功更新!';
$lang['lottery_item_added'] = 'Item successfully added to item pool!';
$lang['lottery_item_removed'] = 'Item successfully removed from item pool!';
$lang['lottery_updated'] = '成功更新樂透!';
$lang['lottery_status'] = '樂透狀態';
$lang['lottery_add_item'] = 'Add Item';
$lang['lottery_add_items'] = 'Add Item to Pool';
$lang['lottery_remove_item'] = 'Remove Item';
$lang['lottery_current_items'] = 'Current Item Pool';
$lang['lottery_update_settings'] = '更新設定';
$lang['lottery_max_cost'] = '最大值';
$lang['lottery_min_cost'] = '最小值';
$lang['lottery_all_shops'] = '所有商店';
$lang['lottery_from_shop'] = 'From Shop';
$lang['lottery_update'] = '更新';
$lang['lottery_currency'] = '金幣使用';
$lang['lottery_history'] = '樂透記錄';
$lang['lottery_item_pool'] = 'Item Pool';
$lang['lottery_full_display'] = '顯示全部';
$lang['lottery_max'] = '最大數量';
$lang['lottery_off'] = '關閉';
$lang['lottery_on'] = '開啟';
$lang['lottery_mult_tickets'] = '單次購買多張彩券';
$lang['lottery_multiple'] = '多張';
$lang['lottery_single'] = '單張';
$lang['lottery_tickets_allowed'] = '允許購買彩券模式';
$lang['lottery_draw_periods'] = '樂透開獎時間';
$lang['lottery_entry_cost'] = '彩券售價';
$lang['lottery_base_amount'] = '樂透基本彩金';
$lang['lottery_name'] = '樂透名稱';
$lang['lottery_auto_restart'] = '自動開始';
$lang['lottery_last_won'] = '上期樂透中獎名單';
$lang['lottery_pool'] = '累積樂透彩金';
$lang['lottery_time_left'] = '剩餘時間';
$lang['lottery_duration_left'] = '距離開獎時間';
$lang['lottery_total_entries'] = '累積售出彩券';
$lang['lottery_items_table'] = 'Edit Item Pool';
$lang['lottery_items_settings'] = '編輯項目設定';
// Lottery Error Variables
$lang['lottery_error_updating'] = '無法更新 %s 表格!';
$lang['lottery_error_deleting'] = '無法從 %s 表格內刪除資料!';
$lang['lottery_error_selecting'] = '無法從 %s 表格內取得資料!';
$lang['lottery_error_inserting'] = '無法插入至 %s 表格!';
$lang['lottery_error_variable'] = '無法讀取 %s 數據!';
有的沒翻是因為 item 要翻項目覺得怪怪的
而且 上頭的商店 我也不知道是指什麼\r
就當參考用就好了