1
savanah
User.php / userinfo.php blank page - debug mode returns errors
  • 2008/5/27 3:18

  • savanah

  • Just popping in

  • Posts: 3

  • Since: 2008/5/27


When I have debug mode off, user.php redirects to userinfo.php and returns a blank screen.

I turned on debug mode and received the following messages.

All errors (3) queries (26) blocks (8) extra (0) timers (5)
Errors
Notice: Use of undefined constant _MI_XCHATWHOSCHATTING - assumed '_MI_XCHATWHOSCHATTING' in file /modules/xoopschat/xoops_version.php line 67
Notice: Use of undefined constant _MI_XCHATWHOSCHATTINGDESC - assumed '_MI_XCHATWHOSCHATTINGDESC' in file /modules/xoopschat/xoops_version.php line 68
Warning: array_intersect(): Argument #1 is not an array in file /modules/links/xoops_version.php line 77
Queries
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data, sess_ip FROM xoops_session WHERE sess_id = 'a88075b53ac065ece6d894fdc7c336e1'
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '2') ORDER BY conf_order ASC
SELECT COUNT(*) FROM xoops_banner
SELECT * FROM xoops_banner LIMIT 0, 1
UPDATE xoops_banner SET impmade = impmade+1 WHERE bid = 4
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
SELECT DISTINCT gperm_itemid FROM xoops_group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (1,2)
SELECT b.* FROM xoops_newblocks b, xoops_block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id=0 AND b.bid IN (1,2,3,4,5,6,7,8,9,10,11,12,55,96,95,68,78,77,97,108,107,106,111,113,112,110,109) ORDER BY b.weight,b.bid
SELECT COUNT(*) FROM xoops_priv_msgs WHERE (read_msg = '0' AND to_userid = '1')
SELECT * FROM xoops_modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC, mid ASC
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2'))
SELECT * FROM xoops_modules WHERE dirname = 'news'
SELECT * FROM xoops_config WHERE (conf_modid = '29') ORDER BY conf_order ASC
SELECT * FROM xoops_modules WHERE dirname = 'links'
SELECT COUNT(*) FROM xoops_online WHERE online_uid=1
UPDATE xoops_online SET online_updated=1211856592, online_module = 0 WHERE online_uid = 1
SELECT * FROM xoops_online
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_read' AND gperm_groupid IN (1,2))
SELECT * FROM xoops_xoopscomments WHERE (com_status = '2' AND com_modid IN (1,5,12,7,2,6,9,25,21,29,28)) ORDER BY com_created DESC LIMIT 0, 10
SELECT * FROM xoops_modules WHERE hascomments = '1' ORDER BY weight ASC, mid ASC
SELECT * FROM xoops_smiles
SELECT rank_title AS title, rank_image AS image FROM xoops_ranks WHERE rank_id = 7
SELECT * FROM xoops_modules WHERE (hassearch = '1' AND isactive = '1') ORDER BY weight ASC, mid ASC
SELECT * FROM xoops_modules WHERE mid = 3
Total: 26 queries
Blocks
User Menu: No Cache
Login: No Cache
Search: No Cache
Main Menu: No Cache
Who's Online: No Cache
Recent Comments: No Cache
Custom Block (HTML): No Cache
Custom Block (HTML): No Cache
Total: 8 blocks
Extra
Timers
XOOPS took 0.125 seconds to load.
XOOPS Boot took 0.028 seconds to load.
Module init took 0.008 seconds to load.
XOOPS output init took 0.072 seconds to load.
Module display took 0.017 seconds to load.



Any help would be greatly appreciated. Everything else is working great. It's only the user.php/userinfo.php pages that don't work. edituser.php works fine, too.

Thank you,
Savanah

2
solo71
Re: User.php / userinfo.php blank page - debug mode returns errors
  • 2008/5/27 8:31

  • solo71

  • Module Developer

  • Posts: 941

  • Since: 2003/1/29


This may occure when 2 differents modules use the same function name, which cause the page to crash. The 2 modules are used to dislay user submission list.

So, I suggest you deactivate (and not uninstall) modules one by one to check which ones are conflicting.


3
savanah
Re: User.php / userinfo.php blank page - debug mode returns errors
  • 2008/5/27 14:34

  • savanah

  • Just popping in

  • Posts: 3

  • Since: 2008/5/27


Okay, I deactivated Chat & Links and the message changed. I still get a blank page when debug is off.

Errors
Queries
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
SELECT sess_data, sess_ip FROM xoops_session WHERE sess_id = 'e370b3f30fa3386ea35a5fd228ccac12'
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '2') ORDER BY conf_order ASC
SELECT COUNT(*) FROM xoops_banner
SELECT * FROM xoops_banner LIMIT 0, 1
UPDATE xoops_banner SET impmade = impmade+1 WHERE bid = 4
SELECT * FROM xoops_config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
SELECT DISTINCT gperm_itemid FROM xoops_group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (1,2)
SELECT b.* FROM xoops_newblocks b, xoops_block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id=0 AND b.bid IN (1,2,3,4,5,6,7,8,9,10,11,12,55,96,95,68,78,77,97,108,107,106,111,113,112,110,109) ORDER BY b.weight,b.bid
SELECT COUNT(*) FROM xoops_priv_msgs WHERE (read_msg = '0' AND to_userid = '1')
SELECT * FROM xoops_modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC, mid ASC
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2'))
SELECT * FROM xoops_modules WHERE dirname = 'news'
SELECT * FROM xoops_config WHERE (conf_modid = '29') ORDER BY conf_order ASC
DELETE FROM xoops_online WHERE online_updated < 1211898468
SELECT COUNT(*) FROM xoops_online WHERE online_uid=1
UPDATE xoops_online SET online_updated=1211898768, online_module = 0 WHERE online_uid = 1
SELECT * FROM xoops_online
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_read' AND gperm_groupid IN (1,2))
SELECT * FROM xoops_xoopscomments WHERE (com_status = '2' AND com_modid IN (1,5,12,7,2,6,9,25,21,29,28)) ORDER BY com_created DESC LIMIT 0, 10
SELECT * FROM xoops_modules WHERE hascomments = '1' ORDER BY weight ASC, mid ASC
SELECT * FROM xoops_smiles
SELECT rank_title AS title, rank_image AS image FROM xoops_ranks WHERE rank_id = 7
SELECT * FROM xoops_modules WHERE (hassearch = '1' AND isactive = '1') ORDER BY weight ASC, mid ASC
SELECT * FROM xoops_modules WHERE mid = 3
Total: 26 queries
Blocks
User Menu: No Cache
Login: No Cache
Search: No Cache
Main Menu: No Cache
Who's Online: No Cache
Recent Comments: No Cache
Custom Block (HTML): No Cache
Custom Block (HTML): No Cache
Total: 8 blocks
Extra
Timers
XOOPS took 0.119 seconds to load.
XOOPS Boot took 0.029 seconds to load.
Module init took 0.008 seconds to load.
XOOPS output init took 0.067 seconds to load.
Module display took 0.015 seconds to load.



Not sure what else to do or how to mix it so I can use those modules.
Thanks,
Savanah

Login

Who's Online

361 user(s) are online (217 user(s) are browsing Support Forums)


Members: 0


Guests: 361


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits