1 頁 (共 1 頁)

[問題]update 到 2.0.6出點問題..

發表於 : 2003-08-22 23:20
gugufish
更新完後...
不知道是不是和realName 和 NickName那個衝耶..
出現下面的錯誤..
Could not insert data into users table

DEBUG MODE

SQL Error : 1064 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 ' 8, 'Y/n/j D g:iA', 'chinese_traditional_taiwan', '', 3, 0, 1,

INSERT INTO phpbb_users (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_popup_pm, user_timezone, user_dateformat, user_lang, user_nickname, user_style, user_level, user_allow_pm, user_active, user_actkey, user_realname) VALUES (30, 'test', 1061564941, '81dc9bdb52d04dc20036dbd8313ed055', 'aa@aa.aa', '', '', '', '', '', '', '', '', 0, 0, '', '', '', 1, 1, 1, 1, 1, 0, 1, , 8, 'Y/n/j D g:iA', 'chinese_traditional_taiwan', '', 3, 0, 1, 'test', 0, '91755e')

Line : 543
File : /home/2003u/u89190974/public_html/song/phpBB2/includes/usercp_register.php

哪位大大來解救小弟我吧...T.T

發表於 : 2003-08-23 00:10
davidcool
按照公告發文吧,謝謝。

發表於 : 2003-08-23 00:30
gugufish
sorry..一時沒注意..因為更新完出錯..讓我慌了..

我是架設在學校空間裡,學校使用 Debian
我用phpBB 2.0.6

錯誤訊息如下:

代碼: 選擇全部

Could not insert data into users table 

DEBUG MODE 

SQL Error : 1064 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 ' 8, 'Y/n/j D g:iA', 'chinese_traditional_taiwan', '', 3, 0, 1, 

INSERT INTO phpbb_users (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_popup_pm, user_timezone, user_dateformat, user_lang, user_nickname, user_style, user_level, user_allow_pm, user_active, user_actkey, user_realname) VALUES (30, 'test', 1061564941, '81dc9bdb52d04dc20036dbd8313ed055', 'aa@aa.aa', '', '', '', '', '', '', '', '', 0, 0, '', '', '', 1, 1, 1, 1, 1, 0, 1, , 8, 'Y/n/j D g:iA', 'chinese_traditional_taiwan', '', 3, 0, 1, 'test', 0, '91755e') 

Line : 543 
File : /home/2003u/u89190974/public_html/song/phpBB2/includes/usercp_register.php 
更新方式是參考手動更新的部分..

更新完後造成使用者註冊會出現上述錯誤訊息...

猜測和 realname MOD 和 暱稱 MOD有關..
但是一時查不出問題所在...

請大大幫忙..

發表於 : 2003-08-23 00:36
davidcool

代碼: 選擇全部

Could not insert data into users table
好像找不到資料庫表格...

嗯...把每個步驟都檢查一下

如果文章沒多少或沒裝多少外掛那就重裝比較快^^"

不過...應該有備份把,把備份的拿出來重裝會最快 :mrgreen:

發表於 : 2003-08-23 11:34
gugufish
沒有用..
我降回2.0.5才正常...
還找不到原因..
我覺得不是資料庫的問題耶...
我再試試好了...

發表於 : 2003-08-25 12:16
askqq
gugufish 寫:沒有用..
我降回2.0.5才正常...
還找不到原因..
我覺得不是資料庫的問題耶...
我再試試好了...
我的用2.0.6也遇到同樣的問題ㄟ
不過現在還不知道怎麼解 :roll:

[問題]

發表於 : 2003-08-28 12:32
arkgeo
各位先進\r
如果取代的部份就不要用整段覆蓋的方式,只要加入所需要的就行了,
這裏有ruka_zh兄整理好的說明http://phpbb-tw.net/phpbb/viewtopic.php?t=17820
不知這樣行不行 :-D