:::
XOOPS使用討論區

首頁進入不到問題!

discuss pic 2013-05-19 18:35:38

tad老師好...

我的網站如果沒用帳號先登入...就一直無法進入首頁...
之後去問我的虛擬主機商...

他的回覆是:
您設定 http://www.bnb.com 轉址到 http://www.bnb.com/viewpmsg.php
http://www.bnb.com/viewpmsg.php 又轉址到 http://www.bnb.com/modules/pm/viewpmsg.php
http://www.bnb.com/modules/pm/viewpmsg.php 又轉址到 http://www.bnb.com
所以變成一個無窮迴圈
導致您的網站無法正常顯示
請您修正這些錯誤的轉址設定
即可讓您的網站恢復正常

但我完全沒做過這些設定...亦不知去那設定...
他們說不會XOOP..幫助不到....
其實一開始安裝XOOP已覺得有點怪怪的....不知為何..

老師覺得要重新安裝好...還是做回設定就好...
請問在那設定的......感恩老師!

discuss pic 2013-05-20 08:12:28
tad
從描述看來,八成是群組權限沒設好而已。
應該說...基本上是不用去設定權限的
若是有去動到權限設定
那麼應該就是那裡的問題。

discuss pic 2013-05-20 16:38:28

謝謝老師回覆...

已重設了一次群組權限.....重設完後登出都是無限輪迴..
請問有何方法解決...感恩!

開除錯如下....

通知: Constant _MI_QRCODE_BLOCKNAME already defined 在檔案中的第 /modules/tadgallery/language/tchinese_utf8/modinfo.php 列 86
通知: Constant _MI_QRCODE_BLOCKDESC already defined 在檔案中的第 /modules/tadgallery/language/tchinese_utf8/modinfo.php 列 87
通知: Constant _MI_FBCOMMENT_TITLE already defined 在檔案中的第 /modules/tadnews/language/tchinese_utf8/modinfo.php 列 111
通知: Constant _MI_FBCOMMENT_TITLE_DESC already defined 在檔案中的第 /modules/tadnews/language/tchinese_utf8/modinfo.php 列 112
通知: Constant _MI_SOCIALTOOLS_TITLE already defined 在檔案中的第 /modules/tadnews/language/tchinese_utf8/modinfo.php 列 113
通知: Constant _MI_SOCIALTOOLS_TITLE_DESC already defined 在檔案中的第 /modules/tadnews/language/tchinese_utf8/modinfo.php 列 114
通知: Constant _MI_USE_PDA_TITLE already defined 在檔案中的第 /modules/tadnews/language/tchinese_utf8/modinfo.php 列 115
通知: Constant _MI_USE_PDA_TITLE_DESC already defined 在檔案中的第 /modules/tadnews/language/tchinese_utf8/modinfo.php 列 116
通知: Constant _MI_STAR_RATING_TITLE already defined 在檔案中的第 /modules/tadnews/language/tchinese_utf8/modinfo.php 列 117
通知: Constant _MI_STAR_RATING_DESC already defined 在檔案中的第 /modules/tadnews/language/tchinese_utf8/modinfo.php 列 118
通知: Undefined index: show_submenu 在檔案中的第 /modules/tadnews/xoops_version.php 列 55
通知: Constant _MI_THEMESET already defined 在檔案中的第 /modules/newbb/language/tchinese_utf8/modinfo.php 列 295
通知: Use of undefined constant _MI_NEWBB_INFOBOX_NONE - assumed '_MI_NEWBB_INFOBOX_NONE' 在檔案中的第 /modules/newbb/xoops_version.php 列 563
通知: Use of undefined constant _MI_NEWBB_INFOBOX_HIDDEN - assumed '_MI_NEWBB_INFOBOX_HIDDEN' 在檔案中的第 /modules/newbb/xoops_version.php 列 564
通知: Use of undefined constant _MI_NEWBB_INFOBOX_SHOW - assumed '_MI_NEWBB_INFOBOX_SHOW' 在檔案中的第 /modules/newbb/xoops_version.php 列 565
通知: Undefined index: global_perms 在檔案中的第 /modules/myalbum/xoops_version.php 列 154
通知: Undefined index: global_perms 在檔案中的第 /modules/myalbum/xoops_version.php 列 162
不建議使用
問題
0.000078 - SET NAMES 'utf8'
0.000036 - SET SQL_BIG_SELECTS = 1
0.000313 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000098 - SELECT sess_data, sess_ip FROM session WHERE sess_id = '2bba72aaea8286c74c4e524938b1593a'
0.000105 - SELECT * FROM users WHERE uid = '1'
0.000098 - SELECT * FROM modules WHERE dirname = 'pm'
0.000111 - SELECT * FROM config WHERE (conf_modid = '2') ORDER BY conf_order ASC
0.000067 - SELECT COUNT(*) FROM banner
0.000077 - SELECT * FROM banner LIMIT 1, 1
0.000084 - UPDATE banner SET impmade = 4082 WHERE bid = 2
0.000123 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
0.000600 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (1,2,4)
0.000440 - 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,2) AND b.bid IN (75,74,73,72,71,70,69,52,51,54,53,55,56,48,47,46,45,44,43,42,41,40,39,38,37,36,35,34,33,32,31,30,29,82,28,27,83,26,25,24,23,22,21,20,19,49,12,11,10,9,8,7,6,5,4,3,2,1) ORDER BY b.weight, m.block_id
0.000080 - SELECT COUNT(*) FROM online WHERE online_uid=1
0.000076 - INSERT INTO online (online_uid, online_uname, online_updated, online_ip, online_module) VALUES (1, 'bnb228', 1369067695, '1.64.187.124', 2)
0.000060 - SELECT * FROM online
0.000067 - SELECT COUNT(*) FROM online WHERE online_module = '2'
0.000200 - 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 = 'system_block_online.html') ORDER BY tpl_refid
0.000137 - SELECT * FROM modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC, mid ASC
0.000193 - SELECT * FROM group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2' OR gperm_groupid = '4'))
0.000218 - 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 = 'system_block_mainmenu.html') ORDER BY tpl_refid
0.000167 - SELECT COUNT(*) FROM `priv_msgs` WHERE (to_delete = '0' AND to_userid = '1' AND to_save = '0')
0.000118 - SELECT * FROM `priv_msgs` WHERE (to_delete = '0' AND to_userid = '1' AND to_save = '0') ORDER BY msg_time DESC LIMIT 0, 20
0.000122 - SELECT * FROM smiles
0.000127 - SELECT * FROM `users` WHERE uid IN (2, 1)
0.000243 - 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 = 'pm_viewpmsg.html') ORDER BY tpl_refid
0.000202 - select * from tad_themes where `theme_name`='school2013'
0.000300 - select conf_value from config where conf_title ='_MD_AM_DEBUGMODE'
0.000162 - select menuid,itemname,itemurl from tad_themes_menu where of_level=0 and status='1' order by position
0.000119 - select itemname,itemurl from tad_themes_menu where of_level='5' and status='1' order by position
0.000172 - select itemname,itemurl from tad_themes_menu where of_level='6' and status='1' order by position
0.000178 - select itemname,itemurl from tad_themes_menu where of_level='2' and status='1' order by position
0.000072 - select itemname,itemurl from tad_themes_menu where of_level='11' and status='1' order by position
0.000067 - select itemname,itemurl from tad_themes_menu where of_level='1' and status='1' order by position
0.000066 - select itemname,itemurl from tad_themes_menu where of_level='10' and status='1' order by position
0.000066 - select itemname,itemurl from tad_themes_menu where of_level='12' and status='1' order by position
0.000099 - select itemname,itemurl from tad_themes_menu where of_level='7' and status='1' order by position
0.000233 - select a.*,b.slide_width,b.slide_height from tad_themes_files_center as a left join tad_themes as b on a.col_sn=b.theme_id where a.`col_name`='slide' and b.`theme_name`='school2013'
總計: 38
區塊
線上使用者: 沒有快取
主選單: 沒有快取
discuss pic 2013-05-20 18:03:16

老師深夜好....
一直都已全開了!!
但就是一直進入不都首頁!
不知發生什麼事!

discuss pic 2013-05-21 01:00:47
tad
那些訊息都無關緊要。
訪客的模組使用權限和區塊使用權限請全開。
discuss pic 2013-05-21 04:27:21
TAD老師...
那我現在應該重架....還是有其他處理方法...@@?
discuss pic 2013-05-21 07:18:39
老師...已傳私訊...請看!
discuss pic 2013-05-21 12:34:26
tad
網誌帳密給我,我直接測試看看比較快
discuss pic 2013-05-21 14:04:48

tad老師....感恩喔...
真的萬分感恩!

discuss pic 2013-05-21 21:25:57
tad
OK了!您把PM模組設成首頁預設模組
但該模組是會員才有權限使用,所以,會導致無窮迴圈
取消預設模組就搞定了
:::

搜尋

QR Code 區塊

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

線上使用者

51人線上 (36人在瀏覽討論留言)

會員: 0

訪客: 51

更多…