:::
XOOPS使用討論區

Tad Repair 維修通報模組

discuss pic 2013-02-26 07:45:08


1.點選維修通報總覽顯示空白
2.點選維修單顯示空白
3.點選MI TADREPAIR SMNAME3,模組內無report.php檔

已嘗試移除模組再安裝,也以清除cahes了。

麻煩您了!
discuss pic 2013-02-26 09:05:40
index.php

錯誤 (9)
通知: Constant TADTOOLS_PATH already defined 在檔案中的第 /modules/tadtools/tadtools_header.php 列 9
通知: Constant TADTOOLS_URL already defined 在檔案中的第 /modules/tadtools/tadtools_header.php 列 10
通知: Undefined index: show_submenu 在檔案中的第 /modules/tadnews/xoops_version.php 列 46
通知: Use of undefined constant _MI_TADREPAIR_AUTHOR_WEB - assumed '_MI_TADREPAIR_AUTHOR_WEB' 在檔案中的第 /modules/tad_repair/xoops_version.php 列 26
通知: Use of undefined constant _MI_TADREPAIR_AUTHOR_WEB - assumed '_MI_TADREPAIR_AUTHOR_WEB' 在檔案中的第 /modules/tad_repair/xoops_version.php 列 29
通知: Use of undefined constant _MI_TADREPAIR_SMNAME3 - assumed '_MI_TADREPAIR_SMNAME3' 在檔案中的第 /modules/tad_repair/xoops_version.php 列 49
通知: Undefined variable: report 在檔案中的第 /modules/tad_repair/index.php 列 94
通知: Undefined index: com_rule 在檔案中的第 /include/comment_view.php 列 26
警告: xoopsOption[template_main] should be defined before including header.php 在檔案中的第 /footer.php 列 59
警告: constant() [function.constant]: Couldn't find constant _LOGGER_DEPRECATED 在檔案中的第 /class/logger/render.php 列 83


問題 (20)
0.000090 - SET NAMES 'utf8'
0.000059 - SET SQL_BIG_SELECTS = 1
0.000548 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000225 - SELECT sess_data, sess_ip FROM session WHERE sess_id = '7db19b9d518dc14a3981e37d901afafa'
0.000146 - SELECT * FROM users WHERE uid = '1'
0.000213 - SELECT * FROM modules WHERE dirname = 'tad_repair'
0.000180 - SELECT * FROM config WHERE (conf_modid = '27') ORDER BY conf_order ASC
0.000151 - SELECT * FROM modules WHERE dirname = 'protector'
0.000191 - SELECT COUNT(*) FROM banner
0.000121 - SELECT * FROM banner LIMIT 0, 1
0.000222 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
0.000672 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (1,2)
0.002293 - 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,27) AND b.bid IN (1,2,3,55,4,5,6,7,8,9,10,11,12,13,59,15,51,49,41,45,46,47,48,43,44,42,54) ORDER BY b.weight, m.block_id
0.000349 - SELECT * FROM modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC, mid ASC
0.000387 - SELECT * FROM group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2'))
0.000218 - SELECT COUNT(*) FROM priv_msgs WHERE (read_msg = '0' AND to_userid = '1')
0.000144 - select * from `tad_repair_unit`
0.000085 - select * from `tad_repair` order by `repair_date` desc
0.000081 - select * from `tad_repair` order by `repair_date` desc LIMIT 0, 20
0.000068 - select repair_date from `tad_repair` order by `repair_date` desc
總計: 20
discuss pic 2013-02-26 09:06:04
repair.php

錯誤 (13)

通知: Constant TADTOOLS_PATH already defined 在檔案中的第 /modules/tadtools/tadtools_header.php 列 9
通知: Constant TADTOOLS_URL already defined 在檔案中的第 /modules/tadtools/tadtools_header.php 列 10
通知: Undefined index: show_submenu 在檔案中的第 /modules/tadnews/xoops_version.php 列 46
通知: Use of undefined constant _MI_TADREPAIR_AUTHOR_WEB - assumed '_MI_TADREPAIR_AUTHOR_WEB' 在檔案中的第 /modules/tad_repair/xoops_version.php 列 26
通知: Use of undefined constant _MI_TADREPAIR_AUTHOR_WEB - assumed '_MI_TADREPAIR_AUTHOR_WEB' 在檔案中的第 /modules/tad_repair/xoops_version.php 列 29
通知: Use of undefined constant _MI_TADREPAIR_SMNAME3 - assumed '_MI_TADREPAIR_SMNAME3' 在檔案中的第 /modules/tad_repair/xoops_version.php 列 49
通知: Use of undefined constant WEB_THEME - assumed 'WEB_THEME' 在檔案中的第 /modules/tadtools/tadtools_header.php 列 21
通知: Undefined offset: 1 在檔案中的第 /modules/tad_repair/function.php 列 74
通知: Undefined offset: 1 在檔案中的第 /modules/tad_repair/function.php 列 74
通知: Undefined offset: 1 在檔案中的第 /modules/tad_repair/function.php 列 74
通知: Undefined variable: main 在檔案中的第 /modules/tad_repair/function.php 列 101
通知: Undefined index: com_rule 在檔案中的第 /include/comment_view.php 列 26
警告: xoopsOption[template_main] should be defined before including header.php 在檔案中的第 /footer.php 列 59
警告: constant() [function.constant]: Couldn't find constant _LOGGER_DEPRECATED 在檔案中的第 /class/logger/render.php 列 83


問題 (17)

0.000088 - SET NAMES 'utf8'
0.000061 - SET SQL_BIG_SELECTS = 1
0.000555 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000315 - SELECT sess_data, sess_ip FROM session WHERE sess_id = '7db19b9d518dc14a3981e37d901afafa'
0.000216 - SELECT * FROM users WHERE uid = '1'
0.000265 - SELECT * FROM modules WHERE dirname = 'tad_repair'
0.000189 - SELECT * FROM config WHERE (conf_modid = '27') ORDER BY conf_order ASC
0.000155 - SELECT * FROM modules WHERE dirname = 'protector'
0.000197 - SELECT COUNT(*) FROM banner
0.000120 - SELECT * FROM banner LIMIT 1, 1
0.000222 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
0.000695 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (1,2)
0.002270 - 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,27) AND b.bid IN (1,2,3,55,4,5,6,7,8,9,10,11,12,13,59,15,51,49,41,45,46,47,48,43,44,42,54) ORDER BY b.weight, m.block_id
0.000351 - SELECT * FROM modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC, mid ASC
0.000359 - SELECT * FROM group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2'))
0.000220 - SELECT COUNT(*) FROM priv_msgs WHERE (read_msg = '0' AND to_userid = '1')
0.000173 - select `unit_sn` , `unit_title` from `tad_repair_unit` order by `unit_sn`
總計: 17
discuss pic 2013-02-26 16:14:54
tad
咦?可否開啟除錯看看?

discuss pic 2013-02-26 17:32:41
tad
把 $xoopsOption['template_main'] = "tad_repair_repair_tpl.html"; 移到 include_once XOOPS_ROOT_PATH."/header.php"; 的上面試試
index.php 也比照辦理試試...
若還不行,看要不留個帳密我去看一下原因。
discuss pic 2013-03-02 04:04:10
您好,感謝您的細心教導,已經可以看到正常畫面了。
目前仍有其他問題請教:
1.下載月報表,無法開啟,檔案大小為0
2.點選左方功能列MI TADREPAIR SMNAME3,顯示找不到路徑,模組內無report.php
3.於他台電腦測試,中文會顯示亂碼

麻煩您了,再次感謝!
discuss pic 2013-03-02 12:06:33
tad
可否給我網址
我測試一下

discuss pic 2013-03-16 05:50:14
謝謝老師,我已經找到原因了,是因為資料庫的校對語言造成的。
discuss pic 2013-06-07 13:14:37

老師

請問出現底下問題要怎麼解決
點選左方功能列MI TADREPAIR SMNAME3,顯示找不到路徑,模組內無report.php

感謝

discuss pic 2013-06-07 16:38:22
tad
去xoops_version.php把report.php那一行拿掉就好了
(下一版的已經修正了)
:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.net%2Fmodules%2Ftad_discuss%2Fdiscuss.php%3FBoardID%3D17%26DiscussID%3D3028

線上使用者

29人線上 (16人在瀏覽討論留言)

會員: 0

訪客: 29

更多…