XOOPS 2.4.5 +XLanguage 3.11安裝問題

edited 十一月 -1 in XOOPS
您好:因為xlanguage 3.11裝起來後一直無法切換語系
最後就先以 XOOPS2.4.5+XLanguage 3.11來安裝
參考 http://sites.google.com/site/ndwxoops/Home/mod/xlanguage
但其中 2.修改 XOOPS/include/common.php (只有 XOOPS 2.4.0 之前版本需修改)
就沒有做了,因為目前為2.4之後

安裝完後,我去開啟php 偵錯 結果錯誤如下:

通知: Undefined variable: xoopsConfig 在檔案中的第 /modules/xlanguage/api.php 列 62
警告: constant() [function.constant]: Couldn't find constant _LOGGER_DEPRECATED 在檔案中的第 /class/logger/render.php 列 83


而另外以下sql 錯誤中:
SELECT * FROM modules WHERE dirname = 'xlanguage' 是否跟 xalngageu有關?
因為他沒抓到前綴字 如aa_modules
而造成後面的抓不到xoopsConfig....

求 高手幫忙一下...
快搞死啦!
感溫!


0.000209 - SET NAMES 'utf8'
0.000116 - SET SQL_BIG_SELECTS = 1
0.000903 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000331 - SELECT * FROM modules WHERE dirname = 'xlanguage'
0.000291 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'h4gkachf03q08scikmgfphcg96'
0.000281 - SELECT * FROM users WHERE uid = '1'
0.000287 - SELECT * FROM modules WHERE dirname = 'protector'
0.000245 - SELECT COUNT(*) FROM banner
0.000225 - SELECT * FROM banner LIMIT 1, 1
0.000211 - UPDATE banner SET impmade = impmade+1 WHERE bid = 2
0.000425 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
0.000804 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (1,2)
0.002047 - SELECT b.* FROM newblocks b, block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,-1) AND b.bid IN (1,2,3,4,5,6,7,8,9,10,11,12,13) ORDER BY b.weight, m.block_id
0.000262 - SELECT COUNT(*) FROM priv_msgs WHERE (read_msg = '0' AND to_userid = '1')
0.000331 - SELECT * FROM modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC, mid ASC
0.000308 - SELECT * FROM group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2'))



原始討論: http://twpug.net/x/modules/newbb/viewtopic.php?topic_id=6329

評論

  • edited 十月 2011
    你抓的錯誤訊息看來應該不會造成什麼錯誤, xoops 除錯的資料庫記錄本來就不會顯示前綴字
Sign In or Register to comment.