:::
Tad Link 好站連結

模組首頁在建第一個連結後出錯

discuss pic 2015-08-11 12:23:43
未建立任何連結前, 模組首頁沒問題, 但只要建立了第一個, 頁面全部空白

建立連結時的除錯訊息:
通知: Undefined index: xoops_op 在檔案中的第 /class/xoopsblock.php(167) : eval()'d code 列 4
通知: Undefined variable: main 在檔案中的第 /class/xoopsblock.php(167) : eval()'d code 列 58
警告: getimagesize(/uploads/tad_link/2.jpg): failed to open stream: No such file or directory 在檔案中的第 /modules/tad_link/function.php 列 241
警告: Division by zero 在檔案中的第 /modules/tad_link/function.php 列 243

0.000061 - SET NAMES 'utf8'
0.000039 - SET SQL_BIG_SELECTS = 1
0.000055 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000181 - SELECT sess_data, sess_ip FROM session WHERE sess_id = '7ipa2lempskn01h7gnlq3l34b6'
0.000043 - SELECT * FROM users WHERE uid = '1'
0.000043 - SELECT * FROM modules WHERE dirname = 'tad_link'
0.000047 - SELECT * FROM config WHERE (conf_modid = '18') ORDER BY conf_order ASC
0.000040 - select `tt_use_bootstrap`,`tt_bootstrap_color`,`tt_theme_kind` from `tadtools_setup` where `tt_theme`='school2015'
0.000086 - SELECT COUNT(*) FROM banner
0.000100 - SELECT * FROM banner LIMIT 1, 1
0.000118 - UPDATE banner SET impmade = 402 WHERE bid = 2
0.000040 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
0.000066 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (2,1)
0.000043 - 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,18) AND b.bid IN (1,2,3,4,5,6,7,8,9,106,10,105,11,104,12,13,14,18,15,103,16,101,17,19,20,100,99,98,54,55,56,97,57,58,96,95,60,94,93,61,92,91,90,62,89,88,63,64,65,87,86,85,84,66,67,83,82,81,68,69,70,71,80,79,78,77,76,72,73,74,75,102,108) ORDER BY b.weight, m.block_id
0.000048 - select * from tad_themes where `theme_name`='school2015'
0.000044 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'tadtools_qrcode.html') ORDER BY tpl_refid
0.000104 - select max(`link_sort`) from tad_link
0.000162 - insert into tad_link (`cate_sn` , `link_title` , `link_url` , `link_desc` , `link_sort` , `link_counter` , `unable_date` , `uid` , `post_date` , `enable`) values('1' , '臺南市教育局資訊中心' , 'http://www.tn.edu.tw' , '臺南市教育局資訊中心' , '1' , 0 , '' , '1' , now() , '1')

重新進入模組頁面時的訊息:

通知: Undefined index: xoops_op 在檔案中的第 /class/xoopsblock.php(167) : eval()'d code 列 4
通知: Undefined variable: main 在檔案中的第 /class/xoopsblock.php(167) : eval()'d code 列 58

0.000064 - SET NAMES 'utf8'
0.000040 - SET SQL_BIG_SELECTS = 1
0.000057 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000041 - SELECT sess_data, sess_ip FROM session WHERE sess_id = '7ipa2lempskn01h7gnlq3l34b6'
0.000042 - SELECT * FROM users WHERE uid = '1'
0.000044 - SELECT * FROM modules WHERE dirname = 'tad_link'
0.000041 - SELECT * FROM config WHERE (conf_modid = '18') ORDER BY conf_order ASC
0.000041 - select `tt_use_bootstrap`,`tt_bootstrap_color`,`tt_theme_kind` from `tadtools_setup` where `tt_theme`='school2015'
0.000128 - SELECT COUNT(*) FROM banner
0.000127 - SELECT * FROM banner LIMIT 1, 1
0.000128 - UPDATE banner SET impmade = 404 WHERE bid = 2
0.000041 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
0.000049 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (2,1)
0.000043 - 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,18) AND b.bid IN (1,2,3,4,5,6,7,8,9,106,10,105,11,104,12,13,14,18,15,103,16,101,17,19,20,100,99,98,54,55,56,97,57,58,96,95,60,94,93,61,92,91,90,62,89,88,63,64,65,87,86,85,84,66,67,83,82,81,68,69,70,71,80,79,78,77,76,72,73,74,75,102,108) ORDER BY b.weight, m.block_id
0.000048 - select * from tad_themes where `theme_name`='school2015'
0.000045 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'tadtools_qrcode.html') ORDER BY tpl_refid
0.000047 - select * from tad_link_cate
0.000039 - select * from tad_link where enable='1' and (unable_date='0000-00-00' or unable_date >='2015-08-11') order by post_date desc
0.000036 - select * from tad_link where enable='1' and (unable_date='0000-00-00' or unable_date >='2015-08-11') order by post_date desc LIMIT 0, 20
0.000049 - select * from tad_link where link_sn='2'
0.000033 - select * from tad_link where link_sn='2'
discuss pic 2015-08-14 17:47:50
tad
老話一句
網址帳密。
:::

快速登入


http%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_discuss%2Fdiscuss.php%3FBoardID%3D11%26DiscussID%3D1247

計數器

今天: 4206420642064206
昨天: 8625862586258625
總計: 8034813803481380348138034813803481380348138034813