嗚嗚~~
剛剛打很多字 , 但驗證碼錯誤,就全不見了........
(回報給老師參考, 1 跟 L 似乎不是很容易辨識 ...)
我是用xoops 2.2.4 , CBB剛從2.3 更新至3.0.7 , 大成功 ....
感謝老師....
另一個問題請教,
如果是xoops 2.0.16, CBB是1 可以直接更新至3.0.7 嗎?
如果可以, 我是不是只要備份 modules/newbb 這個資料夾?
如果發生問題, 把這資料夾覆蓋回去即可?
這樣舊文章就都能回復?
感謝 感謝.
^_^
用xoops 2.2.4 架的那台,出現一個問題如下,
可視化FCK編輯器每次發表文章,按送出時都會跳出小框框:(請進入內容), 之後才能完成發表文章
這是那裡出了問題呢 ?
PS. 驗證碼 7跟1 也不易辨識.. ^_^
1.前幾天我才從CBB從1.5.1升到3.08,我是沒備份啦~拿新程式蓋掉舊的,他就會自動升級了(很厲害...),一切順利。
2.原因不明,其實不只FCK會這樣,很多所見即所得的東西都會這樣...
3.加入驗證實屬不得已,所以建議送出前,建議複製一下自己寫的東西,以策安全。
我用xoops 2.0.16 更新 CBB 3.07
但更新完後,
討論區無法運作,
顯示如下,
" alt="" /> =
" alt="" /> =
=
偵錯如下
All errors (0) queries (34) blocks (7) extra (0) timers (6)
請問老師, 我那邊應該去修改呢?
感謝.
補充一下,
剛點過去討論區時, 它寫
錯誤, 無法連線至此討論區的資料庫.
感謝
我在系統/偏好設定 裡是開PHP偵錯,
(不知道有沒有誤會老師的意思)
感謝!!
安裝完後, 點選至討論區時無法顯示討論區,
只有顯示如下,
" alt="" /> =
" alt="" /> =
=
而如果開PHP偵錯, 錯誤訊息如下.....
Notice: Use of undefined constant _MD_ADMINCP - assumed '_MD_ADMINCP' in c:\appserv\www\ch\modules\newbb\index.php on line 182
Notice: Use of undefined constant _MI_NEWBB_BLOCK_TOPIC_POST - assumed '_MI_NEWBB_BLOCK_TOPIC_POST' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 141
Notice: Use of undefined constant _MI_NEWBB_BLOCK_TOPIC - assumed '_MI_NEWBB_BLOCK_TOPIC' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 158
Notice: Use of undefined constant _MI_NEWBB_BLOCK_POST - assumed '_MI_NEWBB_BLOCK_POST' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 176
Notice: Use of undefined constant _MI_NEWBB_BLOCK_AUTHOR - assumed '_MI_NEWBB_BLOCK_AUTHOR' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 192
Notice: Use of undefined constant _MI_SUBFORUM_EXPAND - assumed '_MI_SUBFORUM_EXPAND' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 269
Notice: Use of undefined constant _MI_SUBFORUM_COLLAPSE - assumed '_MI_SUBFORUM_COLLAPSE' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 270
Notice: Use of undefined constant _MI_SUBFORUM_HIDDEN - assumed '_MI_SUBFORUM_HIDDEN' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 271
Notice: Use of undefined constant _MI_AUTO - assumed '_MI_AUTO' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 354
Notice: Use of undefined constant _MI_MAGICK - assumed '_MI_MAGICK' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 354
Notice: Use of undefined constant _MI_NETPBM - assumed '_MI_NETPBM' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 354
Notice: Use of undefined constant _MI_GD1 - assumed '_MI_GD1' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 354
Notice: Use of undefined constant _MI_GD2 - assumed '_MI_GD2' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 354
Notice: Use of undefined constant _MI_NULL - assumed '_MI_NULL' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 395
Notice: Use of undefined constant _MI_TEXT - assumed '_MI_TEXT' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 395
Notice: Use of undefined constant _MI_GRAPHIC - assumed '_MI_GRAPHIC' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 395
Notice: Use of undefined constant _MI_COMPACT - assumed '_MI_COMPACT' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 492
Notice: Use of undefined constant _MI_NEWBB_EMAIL_NONE - assumed '_MI_NEWBB_EMAIL_NONE' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 526
Notice: Use of undefined constant _MI_NEWBB_EMAIL_DAILY - assumed '_MI_NEWBB_EMAIL_DAILY' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 526
Notice: Use of undefined constant _MI_NEWBB_EMAIL_WEEKLY - assumed '_MI_NEWBB_EMAIL_WEEKLY' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 526
Notice: Use of undefined constant _MI_SPL_DISABLE - assumed '_MI_SPL_DISABLE' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 647
Notice: Use of undefined constant _MI_SPL_ANYONE - assumed '_MI_SPL_ANYONE' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 647
Notice: Use of undefined constant _MI_SPL_MEMBER - assumed '_MI_SPL_MEMBER' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 647
Notice: Use of undefined constant _MI_SPL_MODERATOR - assumed '_MI_SPL_MODERATOR' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 647
Notice: Use of undefined constant _MI_SPL_ADMIN - assumed '_MI_SPL_ADMIN' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 647
Notice: Use of undefined constant _MI_SUBJECT_PREFIX_DEFAULT - assumed '_MI_SUBJECT_PREFIX_DEFAULT' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 655
Notice: Use of undefined constant _MI_POST - assumed '_MI_POST' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 664
Notice: Use of undefined constant _MI_REPLY - assumed '_MI_REPLY' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 664
Notice: Use of undefined constant _MI_OP_BOTH - assumed '_MI_OP_BOTH' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 664
Notice: Use of undefined constant _MI_DISCLAIMER_TEXT - assumed '_MI_DISCLAIMER_TEXT' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 672
Notice: Use of undefined constant _MI_NEWBB_GLOBAL_DIGEST_NOTIFY - assumed '_MI_NEWBB_GLOBAL_DIGEST_NOTIFY' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 776
Notice: Use of undefined constant _MI_NEWBB_GLOBAL_DIGEST_NOTIFYCAP - assumed '_MI_NEWBB_GLOBAL_DIGEST_NOTIFYCAP' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 777
Notice: Use of undefined constant _MI_NEWBB_GLOBAL_DIGEST_NOTIFYDSC - assumed '_MI_NEWBB_GLOBAL_DIGEST_NOTIFYDSC' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 778
Notice: Use of undefined constant _MI_NEWBB_GLOBAL_DIGEST_NOTIFYSBJ - assumed '_MI_NEWBB_GLOBAL_DIGEST_NOTIFYSBJ' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 780
Notice: Use of undefined constant _MI_NEWBB_BLOCK_TOPIC_POST - assumed '_MI_NEWBB_BLOCK_TOPIC_POST' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 141
Notice: Use of undefined constant _MI_NEWBB_BLOCK_TOPIC - assumed '_MI_NEWBB_BLOCK_TOPIC' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 158
Notice: Use of undefined constant _MI_NEWBB_BLOCK_POST - assumed '_MI_NEWBB_BLOCK_POST' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 176
Notice: Use of undefined constant _MI_NEWBB_BLOCK_AUTHOR - assumed '_MI_NEWBB_BLOCK_AUTHOR' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 192
Notice: Use of undefined constant _MI_SUBFORUM_EXPAND - assumed '_MI_SUBFORUM_EXPAND' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 269
Notice: Use of undefined constant _MI_SUBFORUM_COLLAPSE - assumed '_MI_SUBFORUM_COLLAPSE' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 270
Notice: Use of undefined constant _MI_SUBFORUM_HIDDEN - assumed '_MI_SUBFORUM_HIDDEN' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 271
Notice: Use of undefined constant _MI_AUTO - assumed '_MI_AUTO' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 354
Notice: Use of undefined constant _MI_MAGICK - assumed '_MI_MAGICK' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 354
Notice: Use of undefined constant _MI_NETPBM - assumed '_MI_NETPBM' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 354
Notice: Use of undefined constant _MI_GD1 - assumed '_MI_GD1' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 354
Notice: Use of undefined constant _MI_GD2 - assumed '_MI_GD2' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 354
Notice: Use of undefined constant _MI_NULL - assumed '_MI_NULL' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 395
Notice: Use of undefined constant _MI_TEXT - assumed '_MI_TEXT' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 395
Notice: Use of undefined constant _MI_GRAPHIC - assumed '_MI_GRAPHIC' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 395
Notice: Use of undefined constant _MI_COMPACT - assumed '_MI_COMPACT' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 492
Notice: Use of undefined constant _MI_NEWBB_EMAIL_NONE - assumed '_MI_NEWBB_EMAIL_NONE' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 526
Notice: Use of undefined constant _MI_NEWBB_EMAIL_DAILY - assumed '_MI_NEWBB_EMAIL_DAILY' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 526
Notice: Use of undefined constant _MI_NEWBB_EMAIL_WEEKLY - assumed '_MI_NEWBB_EMAIL_WEEKLY' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 526
Notice: Use of undefined constant _MI_SPL_DISABLE - assumed '_MI_SPL_DISABLE' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 647
Notice: Use of undefined constant _MI_SPL_ANYONE - assumed '_MI_SPL_ANYONE' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 647
Notice: Use of undefined constant _MI_SPL_MEMBER - assumed '_MI_SPL_MEMBER' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 647
Notice: Use of undefined constant _MI_SPL_MODERATOR - assumed '_MI_SPL_MODERATOR' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 647
Notice: Use of undefined constant _MI_SPL_ADMIN - assumed '_MI_SPL_ADMIN' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 647
Notice: Use of undefined constant _MI_SUBJECT_PREFIX_DEFAULT - assumed '_MI_SUBJECT_PREFIX_DEFAULT' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 655
Notice: Use of undefined constant _MI_POST - assumed '_MI_POST' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 664
Notice: Use of undefined constant _MI_REPLY - assumed '_MI_REPLY' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 664
Notice: Use of undefined constant _MI_OP_BOTH - assumed '_MI_OP_BOTH' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 664
Notice: Use of undefined constant _MI_DISCLAIMER_TEXT - assumed '_MI_DISCLAIMER_TEXT' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 672
Notice: Use of undefined constant _MI_NEWBB_GLOBAL_DIGEST_NOTIFY - assumed '_MI_NEWBB_GLOBAL_DIGEST_NOTIFY' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 776
Notice: Use of undefined constant _MI_NEWBB_GLOBAL_DIGEST_NOTIFYCAP - assumed '_MI_NEWBB_GLOBAL_DIGEST_NOTIFYCAP' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 777
Notice: Use of undefined constant _MI_NEWBB_GLOBAL_DIGEST_NOTIFYDSC - assumed '_MI_NEWBB_GLOBAL_DIGEST_NOTIFYDSC' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 778
Notice: Use of undefined constant _MI_NEWBB_GLOBAL_DIGEST_NOTIFYSBJ - assumed '_MI_NEWBB_GLOBAL_DIGEST_NOTIFYSBJ' in c:\appserv\www\ch\modules\newbb\xoops_version.php on line 780
真的是很奇怪,
我都是開PHP偵錯, 但現在是出現以下訊息...
真的是很擔心之前的資料會不會有影響...
Queries (35)
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id = 'ce3b50325eea543bd2cd2cbfb22a827c'
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_modules WHERE dirname = 'newbb'
SELECT * FROM xoops_config WHERE (conf_modid = '2') ORDER BY conf_order ASC
SELECT * FROM xoops_bb_categories WHERE 1 = '1' ORDER BY cat_order ASC
SELECT COUNT(l.groupid) FROM xoops_groups_users_link AS l LEFT JOIN xoops_group_permission AS p ON p.gperm_groupid=l.groupid WHERE l.uid=1 AND p.gperm_modid = '1' AND p.gperm_name = 'module_admin' AND p.gperm_itemid = '2'
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
SELECT DISTINCT gperm_itemid FROM xoops_group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (1,2)
SELECT b.* FROM xoops_newblocks b, xoops_block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,2) AND b.bid IN (54,53,21,5,25,13,26,52,41,40,39,29,28,27,24,23,22,20,19,18,17,16,15,14,12,11,10,9,8,7,6,4,3,2,1,56,55,57,58,59,60,64,63,62,61,65,66,67,68,69,70,71,72,73,74,75,76) ORDER BY b.weight,b.bid
SELECT COUNT(*) FROM xoops_priv_msgs WHERE (read_msg = '0' AND to_userid = '1')
SELECT texto, autor FROM xoops_citas ORDER BY RAND() LIMIT 0,1
SELECT storyid, title, published, expired, counter FROM xoops_stories WHERE published < 1185173669 AND published > 0 AND (expired = 0 OR expired > 1185173669) ORDER BY published DESC LIMIT 0, 10
SELECT * FROM xoops_modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC, mid ASC
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2'))
SELECT mid FROM xoops_modules WHERE dirname='piCal'
SELECT conf_name,conf_value FROM xoops_config WHERE conf_modid=5
SELECT * FROM xoops_groups
SELECT * FROM xoops_smiles
SELECT COUNT(*) FROM xoops_online WHERE online_uid=1
UPDATE xoops_online SET online_updated=1185173670, online_module = 2 WHERE online_uid = 1
SELECT COUNT(*) FROM xoops_bb_online WHERE online_uid=1
UPDATE xoops_bb_online SET online_updated= '1185173670', online_forum = '0', online_topic = '0' WHERE online_uid = 1
DELETE FROM xoops_bb_online WHERE ( online_uid > 0 AND online_uid NOT IN ( SELECT online_uid FROM xoops_online WHERE online_module =2 ) ) OR ( online_uid = 0 AND online_ip NOT IN ( SELECT online_ip FROM xoops_online WHERE online_module =2 AND online_uid = 0 ) )
SELECT * FROM xoops_bb_online
SELECT COUNT(l.groupid) AS count, l.uid FROM xoops_groups_users_link AS l LEFT JOIN xoops_group_permission AS p ON p.gperm_groupid=l.groupid WHERE l.uid IN (1) AND p.gperm_modid = '1' AND p.gperm_name = 'module_admin' AND p.gperm_itemid = '2' GROUP BY l.uid
SELECT COUNT(*) FROM xoops_bb_topics WHERE (approved > '0')
SELECT COUNT(*) FROM xoops_bb_posts WHERE (approved > '0')
SELECT * FROM xoops_bb_forums WHERE (1 = '1' AND cat_id IN (1)) ORDER BY forum_order ASC
SELECT uid,topic_id,post_time,subject,poster_name,icon,post_id FROM xoops_bb_posts WHERE post_id IN (1287, 1207, 1229, 1093, 1209, 911, 1197, 1271, 1239, 1001, 1273) ORDER BY post_id DESC
SELECT read_item,post_id,read_id FROM xoops_bb_reads_forum WHERE (uid = '1' AND read_item IN (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)) ORDER BY read_id DESC
SELECT uid, uname, name FROM xoops_users WHERE level>0 AND uid IN(8,0,3,6,10,11,2)
SELECT * FROM xoops_smiles
SELECT * FROM xoops_xoopsnotifications WHERE (not_modid = '2' AND not_category = 'global' AND not_uid = '1') ORDER BY not_id ASC
SELECT * FROM xoops_modules WHERE mid = 2
Total: 35 queries
templates_c
裡面的手動清空(index.html)<<不要刪其他的刪 重讀!!試試
又或 進資料庫 把有關cbb資料表 刪掉重裝!!
老師您好!
我使用的是租用的虛擬主機,Linux平台,XOOPS2.2.4 utf-8版,安裝CBB3.07,發現在發表新主題時,選擇編輯器選項中,只有inbetween編輯器內容文字是正常的,其他都出現亂碼,此外一切正常,請問該如何處理?
可能其他編輯器還是Big5的緣故吧...
去修改一下編輯器的語系即可...
老師您太神了!果然抓到我的問題,一改就成功了喔!感恩!