1
schlafen
News Submission Displays Blank Page - No Errors reported with Debug turned on
  • 2007/8/9 16:20

  • schlafen

  • Just popping in

  • Posts: 4

  • Since: 2007/6/20


XOOPS Version: 2.0.16
Module Name/Version: News 1.53
PHP Version: 5.2.2
MySQL Version: 5
Web Server Software (Apache/IIS/Other): Apache 2.2.4
Operating System: Windows Server 2003 SP2
Theme you are using: Default
Custom template: No
PHP Debug Messages:
All errors (0queries (35blocks (6extra (0timers (5)
Errors
Queries
SELECT 
FROM xoops_config WHERE (conf_modid '0' AND conf_catid '1'ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id 
'rgqf0hq8l9l82pu24i97srm333'
SELECT FROM xoops_users WHERE uid=2
SELECT 
FROM xoops_modules WHERE dirname 'news'
SELECT FROM xoops_config WHERE (conf_modid '2'ORDER BY conf_order ASC
SELECT COUNT
(*) FROM xoops_banner
SELECT 
FROM xoops_banner LIMIT 01
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 AND gperm_groupid IN (1,5,15,19)
SELECT b.* FROM xoops_newblocks bxoops_block_module_link m WHERE m.block_id=b.bid AND b.isactive=AND b.visible=AND m.module_id IN (0,2) AND b.bid IN (34,33,32,31,30,28,27,26,25,24,23,22,20,19,18,17,15,14,13,12,10,9,8,6,4,11,29,16,38,21,2,1,5,3,43,42,41,40,39,37,36,35,7ORDER BY b.weight,b.bid
SELECT 
FROM xoops_modules WHERE (hasmain '1' AND isactive '1' AND weight '0'ORDER BY weight ASCmid ASC
SELECT 
FROM xoops_group_permission WHERE (gperm_name 'module_read' AND gperm_modid '1' AND (gperm_groupid '1' OR gperm_groupid '5' OR gperm_groupid '15' OR gperm_groupid '19'))
SELECT FROM xoops_groups
SELECT COUNT
(*) FROM xoops_priv_msgs WHERE (read_msg '0' AND to_userid '2')
SELECT FROM xoops_tplfile WHERE (tpl_module 'news'ORDER BY tpl_refid
SELECT 
FROM xoops_newblocks WHERE mid=2
UPDATE xoops_users SET uname 
'Brian.Geng'name 'Brian Geng'email 'briang@blessings.com'url ''user_avatar 'blank.gif'user_icq ''user_from 'Blessings Central'user_sig ''user_viewemail 1user_aim ''user_yim ''user_msnm ''posts 8pass '8d1235c33db3bafaeb36666c5afbc7be'attachsig 0rank 10level1theme ''timezone_offset = -8.00umode 'nest'last_login 1186677621uorder 0notify_method 2notify_mode 0user_occ ''bio ''user_intrest ''user_mailok 0 WHERE uid 2
SELECT 
FROM xoops_config WHERE (conf_modid '0' AND conf_catid '4'ORDER BY conf_order ASC
INSERT INTO xoops_stories 
(storyiduidtitlecreatedpublishedexpiredhostnamenohtmlnosmileyhometextbodytextcountertopicidihomenotifypubstory_typetopicdisplaytopicaligncommentsratingvotesdescriptionkeywordsVALUES (02'News Testing Still'118667771211866777120'192.168.12.1'00'disregard''disregard'02600'admin'0'R'000'''')
SELECT FROM xoops_modules WHERE mid 2
SELECT 
FROM xoops_xoopsnotifications WHERE (not_modid '2' AND not_category 'global' AND not_itemid '0' AND not_event 'new_story' AND (not_mode '0' OR not_mode '1' OR not_mode '2')) ORDER BY not_id ASC
SELECT 
FROM xoops_users WHERE uid=41
SELECT 
FROM xoops_config WHERE (conf_modid '0' AND conf_catid '6'ORDER BY conf_order ASC
SELECT 
FROM xoops_users WHERE uid=47
SELECT 
FROM xoops_users WHERE uid=27
SELECT 
FROM xoops_users WHERE uid=21
SELECT 
FROM xoops_users WHERE uid=13
SELECT 
FROM xoops_users WHERE uid=28
SELECT 
FROM xoops_users WHERE uid=17
SELECT 
FROM xoops_users WHERE uid=59
SELECT 
FROM xoops_users WHERE uid=31
SELECT 
FROM xoops_users WHERE uid=4
SELECT 
FROM xoops_users WHERE uid=19
SELECT 
FROM xoops_users WHERE uid=42
Total
35 queries
Blocks
Custom Block 
(PHP): No Cache
Search
No Cache
Main Menu
No Cache
User Menu
No Cache
Login
No Cache
Notification Options
No Cache
Total
6 blocks
Extra
Timers
XOOPS took 31.149 seconds to load
.
XOOPS Boot took 0.058 seconds to load.
Module init took 0.033 seconds to load.
XOOPS output init took 0.128 seconds to load.
Module display took 30.931 seconds to load.

A full description of the issue:
News submission worked fine during testing but now with the roll out to a larger number of users (currently 235) news submission is resulting in a blank screen. I have a number of users who are able to submit news and they're all experiencing the same behaviour - the news story is successfully posted but the page does not refresh as it should.

The main difference I see is that we now have more users signed up for News notification. I'm suspicious of this because some users are receiving news notifications but some are not. When I manually execute the query in MySQL listed above which gets the list of users to be notified:
SELECT FROM xoops_xoopsnotifications WHERE (not_modid '2' AND not_category 'global' AND not_itemid '0' AND not_event 'new_story' AND (not_mode '0' OR not_mode '1' OR not_mode '2')) ORDER BY not_id ASC

I get 20 rows returned but as I look down the list of the follow up queries in the debug code I find only 12 user id's are being queried. I'm suspicious that something is going wrong with the notification functionality but I'm not sure how to debug this further. Any help would be greatly appreciated.

2
schlafen
Re: News Submission Displays Blank Page - No Errors reported with Debug turned on
  • 2007/8/9 21:05

  • schlafen

  • Just popping in

  • Posts: 4

  • Since: 2007/6/20


So, I was able to put an SMTP service onto the XOOPS server (securing it to only allow relays from itself) and this resolved the issue. It appears that the notification sends were timing out and there was no error displayed to make this clear.

Login

Who's Online

358 user(s) are online (52 user(s) are browsing Support Forums)


Members: 0


Guests: 358


more...

Donat-O-Meter

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

Latest GitHub Commits