代碼: 選擇全部
$linespersession = 3000;
$delaypersession = 0
完成後是否是見到提示如Congratulations: End of file reached, assuming OK
因為我都未見到此提示.執行後只見網頁空白一片!我想我是否做錯!
版主: 版主管理群
代碼: 選擇全部
Processing file: 1544.sql
Starting at the line: 1
Error at the line 83: );
Query: CREATE TABLE phpbb_config( config_name varchar(255) NOT NULL, config_value varchar(255) NOT NULL, PRIMARY KEY (config_name), KEY config_name (config_name, config_value) );
MySQL: Specified key was too long. Max key length is 500
Stopped on error
沒錯!我也看到了!那表示還是沒有更新成功,唉~!耐A阿捏~!~倉木麻衣~ 寫:哦, 我剛才也跑去按了一下= ="
那個, 請將你瀏覽器的編碼勾選自動選取就會看到錯誤訊息了代碼: 選擇全部
Processing file: 1544.sql Starting at the line: 1 Error at the line 83: ); Query: CREATE TABLE phpbb_config( config_name varchar(255) NOT NULL, config_value varchar(255) NOT NULL, PRIMARY KEY (config_name), KEY config_name (config_name, config_value) ); MySQL: Specified key was too long. Max key length is 500 Stopped on error
代碼: 選擇全部
CREATE TABLE [phpbb_config] (
[config_name] [varchar] (255) NULL ,
[config_value] [varchar] (255) NULL
) ON [PRIMARY]
GO
代碼: 選擇全部
CREATE TABLE phpbb_config (
config_name varchar(255) NOT NULL,
config_value varchar(255) NOT NULL,
PRIMARY KEY (config_name)
);
有啦!我還不會這樣白目!~倉木麻衣~ 寫:你要改的是位於主機上的檔案才對
注意一下有沒有改對檔, 或是在本機修改後忘記上傳 v_v
代碼: 選擇全部
Query: CREATE TABLE phpbb_config( config_name varchar(255) NOT NULL, config_value varchar(255) NOT NULL, PRIMARY KEY (config_name), KEY config_name (config_name, config_value) );
MySQL: Specified key was too long. Max key length is 500
Stopped on error
可是, 上頭這句怎麼看也跟底下這句(要替換成的)不同呀echolin8 寫:結果是\rQuery: CREATE TABLE phpbb_config( config_name varchar(255) NOT NULL, config_value varchar(255) NOT NULL, PRIMARY KEY (config_name), KEY config_name (config_name, config_value) );
代碼: 選擇全部
CREATE TABLE phpbb_config (
config_name varchar(255) NOT NULL,
config_value varchar(255) NOT NULL,
PRIMARY KEY (config_name)
);
代碼: 選擇全部
CREATE TABLE [phpbb_config] (
[config_name] [varchar] (255) NULL ,
[config_value] [varchar] (255) NULL
) ON [PRIMARY]
GO
代碼: 選擇全部
CREATE TABLE phpbb_config (
config_name varchar(255) NOT NULL,
config_value varchar(255) NOT NULL,
PRIMARY KEY (config_name)
);
代碼: 選擇全部
CREATE TABLE phpbb_config(
config_name varchar(255) NOT NULL,
config_value varchar(255) NOT NULL,
PRIMARY KEY (config_name),
KEY config_name (config_name, config_value)
);
代碼: 選擇全部
CREATE TABLE phpbb_config (
config_name varchar(255) NOT NULL,
config_value varchar(255) NOT NULL,
PRIMARY KEY (config_name)
);
代碼: 選擇全部
Processing file: 1544.sql
Starting at the line: 268827
Error at the line 268952: );
Query: CREATE TABLE phpbb_users( user_id mediumint(8) NOT NULL, user_active tinyint(1) DEFAULT '1', username varchar(25) NOT NULL, user_password varchar(32) NOT NULL, user_session_time int(11) NOT NULL, user_session_page smallint(5) NOT NULL, user_lastvisit int(11) NOT NULL, user_regdate int(11) NOT NULL, user_level tinyint(4), user_posts mediumint(8) unsigned NOT NULL, user_timezone decimal(5,2) DEFAULT '0.00' NOT NULL, user_style tinyint(4), user_lang varchar(255), user_dateformat varchar(14) DEFAULT 'd M Y H:i' NOT NULL, user_new_privmsg smallint(5) unsigned NOT NULL, user_unread_privmsg smallint(5) unsigned NOT NULL, user_last_privmsg int(11) NOT NULL, user_emailtime int(11), user_viewemail tinyint(1), user_attachsig tinyint(1), user_allowhtml tinyint(1) DEFAULT '1', user_allowbbcode tinyint(1) DEFAULT '1', user_allowsmile tinyint(1) DEFAULT '1', user_allowavatar tinyint(1) DEFAULT '1' NOT NULL, user_allow_pm tinyint(1) DEFAULT '1' NOT NULL, user_allow_viewonline tinyint(1) DEFAULT '1' NOT NULL, user_notify tinyint(1) DEFAULT '1' NOT NULL, user_notify_pm tinyint(1) NOT NULL, user_popup_pm tinyint(1) NOT NULL, user_rank int(11), user_avatar varchar(100), user_avatar_type tinyint(4) NOT NULL, user_email varchar(255), user_icq varchar(15), user_website varchar(100), user_from varchar(100), user_sig text, user_sig_bbcode_uid varchar(10), user_aim varchar(255), user_yim varchar(255), user_msnm varchar(255), user_occ varchar(100), user_interests varchar(255), user_actkey varchar(32), user_newpasswd varchar(32), PRIMARY KEY (user_id), UNIQUE username_2 (username), UNIQUE username_4 (username), UNIQUE ³·¤ñ尔 (username), KEY user_session_time (user_session_time), KEY user_id (user_id), KEY user_id_2 (user_id), KEY user_active (user_active), KEY username_3 (username), KEY username_5 (username) );
MySQL: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '³·¤ñ尔 (username), KEY user_session_time (user_session_
Stopped on error
代碼: 選擇全部
CREATE TABLE phpbb_users( user_id mediumint(8) NOT NULL, user_active tinyint(1) DEFAULT '1', username varchar(25) NOT NULL, user_password varchar(32) NOT NULL, user_session_time int(11) NOT NULL, user_session_page smallint(5) NOT NULL, user_lastvisit int(11) NOT NULL, user_regdate int(11) NOT NULL, user_level tinyint(4), user_posts mediumint(8) unsigned NOT NULL, user_timezone decimal(5,2) DEFAULT '0.00' NOT NULL, user_style tinyint(4), user_lang varchar(255), user_dateformat varchar(14) DEFAULT 'd M Y H:i' NOT NULL, user_new_privmsg smallint(5) unsigned NOT NULL, user_unread_privmsg smallint(5) unsigned NOT NULL, user_last_privmsg int(11) NOT NULL, user_emailtime int(11), user_viewemail tinyint(1), user_attachsig tinyint(1), user_allowhtml tinyint(1) DEFAULT '1', user_allowbbcode tinyint(1) DEFAULT '1', user_allowsmile tinyint(1) DEFAULT '1', user_allowavatar tinyint(1) DEFAULT '1' NOT NULL, user_allow_pm tinyint(1) DEFAULT '1' NOT NULL, user_allow_viewonline tinyint(1) DEFAULT '1' NOT NULL, user_notify tinyint(1) DEFAULT '1' NOT NULL, user_notify_pm tinyint(1) NOT NULL, user_popup_pm tinyint(1) NOT NULL, user_rank int(11), user_avatar varchar(100), user_avatar_type tinyint(4) NOT NULL, user_email varchar(255), user_icq varchar(15), user_website varchar(100), user_from varchar(100), user_sig text, user_sig_bbcode_uid varchar(10), user_aim varchar(255), user_yim varchar(255), user_msnm varchar(255), user_occ varchar(100), user_interests varchar(255), user_actkey varchar(32), user_newpasswd varchar(32), PRIMARY KEY (user_id), UNIQUE username_2 (username), UNIQUE username_4 (username), UNIQUE ³·¤ñ尔 (username), KEY user_session_time (user_session_time), KEY user_id (user_id), KEY user_id_2 (user_id), KEY user_active (user_active), KEY username_3 (username), KEY username_5 (username) );
代碼: 選擇全部
CREATE TABLE phpbb_users(
user_id mediumint(8) NOT NULL,
user_active tinyint(1) DEFAULT '1',
username varchar(25) NOT NULL,
user_password varchar(32) NOT NULL,
user_session_time int(11) NOT NULL,
user_session_page smallint(5) NOT NULL,
user_lastvisit int(11) NOT NULL,
user_regdate int(11) NOT NULL,
user_level tinyint(4),
user_posts mediumint(8) unsigned NOT NULL,
user_timezone decimal(5,2) DEFAULT '0.00' NOT NULL,
user_style tinyint(4),
user_lang varchar(255),
user_dateformat varchar(14) DEFAULT 'd M Y H:i' NOT NULL,
user_new_privmsg smallint(5) unsigned NOT NULL,
user_unread_privmsg smallint(5) unsigned NOT NULL,
user_last_privmsg int(11) NOT NULL,
user_emailtime int(11),
user_viewemail tinyint(1),
user_attachsig tinyint(1),
user_allowhtml tinyint(1) DEFAULT '1',
user_allowbbcode tinyint(1) DEFAULT '1',
user_allowsmile tinyint(1) DEFAULT '1',
user_allowavatar tinyint(1) DEFAULT '1' NOT NULL,
user_allow_pm tinyint(1) DEFAULT '1' NOT NULL,
user_allow_viewonline tinyint(1) DEFAULT '1' NOT NULL,
user_notify tinyint(1) DEFAULT '1' NOT NULL,
user_notify_pm tinyint(1) NOT NULL,
user_popup_pm tinyint(1) NOT NULL,
user_rank int(11),
user_avatar varchar(100),
user_avatar_type tinyint(4) NOT NULL,
user_email varchar(255),
user_icq varchar(15),
user_website varchar(100),
user_from varchar(100),
user_sig text,
user_sig_bbcode_uid varchar(10),
user_aim varchar(255),
user_yim varchar(255),
user_msnm varchar(255),
user_occ varchar(100),
user_interests varchar(255),
user_actkey varchar(32),
user_newpasswd varchar(32),
PRIMARY KEY (user_id),
KEY user_session_time (user_session_time)
);
代碼: 選擇全部
Error in obtaining userdata
DEBUG MODE
SQL Error : 1054 Unknown column 'user_login_tries' in 'field list'
SELECT user_id, username, user_password, user_active, user_level, user_login_tries, user_last_login_try FROM phpbb_users WHERE username = 'greenrusteye'
Line : 65
File : login.php