一般性錯誤
SQL ERROR [ mysql4 ]
Table 'usbbmm_main.ANNOUNCEMENTS_CENTRE_TABLE' doesn't exist [1146]
SQL
SELECT * FROM ANNOUNCEMENTS_CENTRE_TABLE
BACKTRACE
FILE: includes/db/mysql.php
LINE: 158
按照這句error, 他顯示的紅字便是主要的問題
看看安裝說明, 是否忘了 資料庫的那部份
我指的是這部份喔
其中, phpbb這個要按照你的情況修改
看情況你要將所有phpbb_開頭改成 usbbmm_main
請先檢查一下你的phpmyadmin裡是, 開始寫的是什麼 :]
代碼: 選擇全部
CREATE TABLE phpbb_announcement_centre (
announcement_show tinyint (1) NOT NULL,
announcement_enable_guests tinyint (1) NOT NULL,
announcement_show_birthdays tinyint (1) NOT NULL,
announcement_birthday_avatar tinyint (1) NOT NULL,
announcement_draft text NOT NULL,
announcement_draft_bbcode_uid varchar(8) DEFAULT '' NOT NULL,
announcement_draft_bbcode_bitfield varchar(255) DEFAULT '' NOT NULL,
announcement_draft_bbcode_options mediumint(4) DEFAULT 0 NOT NULL,
announcement_text text NOT NULL,
announcement_text_bbcode_uid varchar(8) DEFAULT '' NOT NULL,
announcement_text_bbcode_bitfield varchar(255) DEFAULT '' NOT NULL,
announcement_text_bbcode_options mediumint(4) DEFAULT 0 NOT NULL,
announcement_text_guests text NOT NULL,
announcement_text_guests_bbcode_uid varchar(8) DEFAULT 0 NOT NULL,
announcement_text_guests_bbcode_bitfield varchar(255) DEFAULT 0 NOT NULL,
announcement_text_guests_bbcode_options mediumint(4) DEFAULT 0 NOT NULL,
announcement_title varchar(255) NOT NULL default '',
announcement_title_guests varchar(255) NOT NULL default '',
announcement_show_group varchar(255) NOT NULL default '');
INSERT INTO phpbb_announcement_centre (announcement_show, announcement_enable_guests, announcement_show_birthdays, announcement_birthday_avatar, announcement_title, announcement_text, announcement_draft, announcement_title_guests, announcement_text_guests, announcement_show_group) VALUES ('0', '1', '0', '0', 'Site Announcements', '[color=red][b]Site Announcements[/b][/color] can be seen here!! :mrgreen:', '[color=red][b]Draft Announcements[/b][/color] can be seen here!! :mrgreen:', 'Guest Announcements', '[color=green][b]Guest Announcements[/b][/color] can be seen here!! :wink:', '2');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('announcement_show_index', '0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('announcement_enable', '1');