我的環境:IIS7.5+PHP5.5+MYSQL5.1
book3安裝時無法新增"隨機好書"及"書籍列表"區塊,安裝後也無法新增書籍
偵錯如下:
錯誤
通知: Undefined variable: data_arr 在檔案中的第 /modules/tad_book3/index.php 列 158
警告: Invalid argument supplied for foreach() 在檔案中的第 /modules/tad_book3/index.php 列 158
通知: Undefined index: show_submenu 在檔案中的第 /modules/tadnews/xoops_version.php 列 50
通知: Undefined variable: td 在檔案中的第 /modules/tad_book3/function.php 列 335
警告: constant(): Couldn't find constant _LOGGER_DEPRECATED 在檔案中的第 /class/logger/render.php 列 83
_LOGGER_DEPRECATED
問題
0.000212 - SET NAMES 'utf8'
0.000120 - SET SQL_BIG_SELECTS = 1
0.000968 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000191 - SELECT sess_data, sess_ip FROM session WHERE sess_id = '9d9njpeqipsv6frnortjrqaji6'
0.000243 - SELECT * FROM users WHERE uid = '1'
0.000200 - SELECT * FROM modules WHERE dirname = 'tad_book3'
0.000238 - SELECT * FROM config WHERE (conf_modid = '9') ORDER BY conf_order ASC
0.000184 - SELECT * FROM modules WHERE dirname = 'protector'
0.000127 - DELETE FROM protector_access WHERE expire < UNIX_TIMESTAMP()
0.000170 - SELECT COUNT(*) FROM protector_access WHERE ip='163.20.86.85' AND request_uri='/class/modules/tad_book3/'
0.000146 - SELECT COUNT(*) FROM protector_access WHERE ip='163.20.86.85'
0.000135 - INSERT INTO protector_access SET ip='163.20.86.85',request_uri='/class/modules/tad_book3/',expire=UNIX_TIMESTAMP()+'60'
0.001429 - select a.`tbsn`, a.`tbcsn`, a.`sort`, a.`title`, a.`description`, a.`author`, a.`read_group`, a.`passwd`, a.`enable`, a.`pic_name`, a.`counter`, a.`create_date` ,b.`of_tbsn`, b.`sort` as cate_sort, b.`title` as cate_title , b.`description` from tad_book3 as a left join tad_book3_cate as b on a.tbcsn=b.tbcsn where a.enable='1' order by cate_sort,a.sort
0.000342 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
0.000979 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (1,2)
0.001674 - 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,9) AND b.bid IN (1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21,22,23,24,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41) ORDER BY b.weight, m.block_id
0.000312 - SELECT * FROM modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC, mid ASC
0.000439 - SELECT * FROM group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2'))
0.000165 - SELECT COUNT(*) FROM priv_msgs WHERE (read_msg = '0' AND to_userid = '1')