1
RoMeO
Custom Block not working
  • 2006/3/4 7:25

  • RoMeO

  • Just popping in

  • Posts: 34

  • Since: 2005/8/27


hi,
i create custom block but its not working.
at first its working very good but now old blocks are empty and i create new custom block but its invisible.
sorry my english .
can you help me ?

2
marcionline
Re: Custom Block not working

The content of your custom block is html or javascript or php ? What is the code you added in your block? Turn on debug in admin/preferences and see if show errors... You tried with others themes/browsers?

3
RoMeO
Re: Custom Block not working
  • 2006/3/4 15:04

  • RoMeO

  • Just popping in

  • Posts: 34

  • Since: 2005/8/27


i tried another browser and pc but not working.
i can't write anyhthing what article or codes in custom block.

Another Problem
--------
and PM modul not working ..

thanks for help.

--

My debug mod
Quote:


Queries core
SELECT * FROM xoops_users u, xoops_user_profile p WHERE u.uid = p.profileid AND uid = '1' LIMIT 0, 1
( 0.01125)
SELECT * FROM xoops_modules WHERE dirname = 'system'
( 0.015682)
SELECT * FROM xoops_config WHERE (conf_modid = '1') ORDER BY conf_order ASC
( 0.011728)
SELECT COUNT(*) FROM xoops_banner
( 0.016529)
SELECT * FROM xoops_config WHERE (conf_modid = '1' AND conf_catid = '3') ORDER BY conf_order ASC
( 0.002419)
SELECT * FROM xoops_group_permission WHERE (gperm_modid = '1' AND gperm_name = 'block_read' AND gperm_groupid IN (1,2))
( 0.014536)
SELECT DISTINCT i.instanceid, b.*, i.* FROM xoops_block_instance i, xoops_newblocks b, xoops_block_module_link m WHERE m.block_id=i.instanceid AND i.instanceid IN (1,2,3,32,27,19,18,15,9,14,8,4,6,31,30,29,28,26,23,24,20,25,33) AND i.visible=1 AND i.bid=b.bid AND b.isactive=1 AND m.module_id=0 AND m.pageid IN (0, 1) ORDER BY i.weight,i.instanceid
( 0.000736)
Total Number of Queries: 9 | Total SQL Generation Time: 0.082592

Queries module
SELECT * FROM xoops_modules WHERE dirname = 'ipboard'
( 0.006003)
Total Number of Queries: 1 | Total SQL Generation Time: 0.006003

Queries block
SELECT * FROM xoops_modules WHERE dirname = 'pm'
( 0.000361)
SELECT COUNT(*) FROM xoops_priv_msgs WHERE (read_msg = '0' AND to_userid = '1')
( 0.000167)
SELECT COUNT(*) FROM xoops_ipb_messages WHERE recipient_id = '1' AND vid='in' AND read_state='0'
( 0.000122)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_user.html') ORDER BY tpl_refid
( 0.000223)
SELECT * FROM xoops_modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC
( 0.000238)
SELECT * FROM xoops_group_permission WHERE (gperm_modid = '1' AND gperm_name = 'module_read' AND gperm_groupid IN (1,2))
( 0.000301)
SELECT * FROM xoops_modules WHERE dirname = 'news'
( 0.000298)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_mainmenu.html') ORDER BY tpl_refid
( 0.000261)
SELECT COUNT(*) FROM xoops_online WHERE online_uid=1
( 0.000893)
UPDATE xoops_online SET online_updated=1141484978, online_module = 1 WHERE online_uid = 1
( 0.000536)
SELECT * FROM xoops_online
( 0.000325)
SELECT * FROM xoops_modules WHERE isactive = '1'
( 0.000247)
SELECT * FROM xoops_smiles
( 0.00025)
SELECT country2,country FROM xoops_iptoc WHERE IPFROM<=1432494911 AND IPTO>=1432494911
( 0.000137)
SELECT COUNT(*) FROM xoops_online WHERE online_module = '1'
( 0.003745)
SELECT COUNT(*) FROM xoops_users u, xoops_user_profile p WHERE u.uid = p.profileid AND level > '0'
( 0.021185)
SELECT COUNT(*) FROM xoops_users u, xoops_user_profile p WHERE u.uid = p.profileid AND user_regdate >= '1141452000'
( 0.00209)
SELECT COUNT(*) FROM xoops_users u, xoops_user_profile p WHERE u.uid = p.profileid AND user_regdate >= '1141365600'
( 0.002443)
SELECT * FROM xoops_users u, xoops_user_profile p WHERE u.uid = p.profileid AND (level > '0') ORDER BY user_regdate DESC LIMIT 0, 1
( 0.002527)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'membership_block.html') ORDER BY tpl_refid
( 0.000267)
SELECT * FROM xoops_marquee WHERE marqueeid=2
( 0.000261)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'marquee_block.html') ORDER BY tpl_refid
( 0.000214)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000203)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.00018)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000162)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.00017)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000173)
SELECT u.org_perm_id, g.g_perm_id FROM xoops_users u, xoops_ipb_groups g WHERE u.uid=1 AND u.mgroup=g.g_id
( 0.000877)
SELECT img_dir FROM xoops_ipb_skins WHERE sid=0
( 9.7E-05)
SELECT t.tid, t.title, t.last_post, t.views, t.posts, t.last_poster_id, t.last_poster_name, t.icon_id, f.id as fid, f.name as fname, f.read_perms, f.password as fpass FROM xoops_ipb_topics AS t INNER JOIN xoops_ipb_forums AS f ON(f.id=t.forum_id) WHERE t.approved = 1 ORDER BY t.last_post DESC LIMIT 0, 5
( 0.000222)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'ipboard_block_new.html') ORDER BY tpl_refid
( 0.000156)
SELECT id_soft, nombre, descargas FROM xoops_rmdp_software ORDER BY id_soft DESC LIMIT 0, 7
( 0.000157)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'rmdp_recent.html') ORDER BY tpl_refid
( 0.000341)
SELECT id_soft, nombre, descargas FROM xoops_rmdp_software WHERE descargas > 1 ORDER BY descargas DESC LIMIT 0, 7
( 0.000222)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'rmdp_populars.html') ORDER BY tpl_refid
( 0.0002)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000202)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000174)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000168)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000163)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000168)
SELECT * FROM xoops_config WHERE (conf_modid = '5') ORDER BY conf_order ASC
( 0.000612)
SELECT * FROM xoops_group_permission WHERE (gperm_modid = '5' AND gperm_name = 'news_view' AND gperm_groupid IN (1,2))
( 0.000255)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=0) AND (s.topicid=t.topic_id)
( 0.000747)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (published > 0 AND published <= 1141484978) AND (expired = 0 OR expired > 1141484978) AND (s.topicid=t.topic_id) AND topicid IN (4,7,6,5,1,8,9,10,3,2) ORDER BY s.published DESC LIMIT 0, 4
( 0.001272)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'news_block_top.html') ORDER BY tpl_refid
( 0.000213)
SELECT storyid FROM xoops_stories WHERE (published > 0 AND published <= 1141484978) AND (expired = 0 OR expired > 1141484978) AND topicid IN (1,2,3,4,5,6,7,8,9,10) ORDER BY published DESC
( 0.001535)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=30) AND (s.topicid=t.topic_id)
( 0.000717)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=26) AND (s.topicid=t.topic_id)
( 0.00051)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=25) AND (s.topicid=t.topic_id)
( 0.000429)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=24) AND (s.topicid=t.topic_id)
( 0.000656)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=23) AND (s.topicid=t.topic_id)
( 0.000583)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=18) AND (s.topicid=t.topic_id)
( 0.000438)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=17) AND (s.topicid=t.topic_id)
( 0.000418)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=15) AND (s.topicid=t.topic_id)
( 0.000422)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=14) AND (s.topicid=t.topic_id)
( 0.000516)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=13) AND (s.topicid=t.topic_id)
( 0.000548)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=12) AND (s.topicid=t.topic_id)
( 0.000423)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=11) AND (s.topicid=t.topic_id)
( 0.000448)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=10) AND (s.topicid=t.topic_id)
( 0.000922)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=9) AND (s.topicid=t.topic_id)
( 0.000626)
SELECT s.*, t.* FROM xoops_stories s, xoops_topics t WHERE (storyid=4) AND (s.topicid=t.topic_id)
( 0.000562)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'news_block_randomnews.html') ORDER BY tpl_refid
( 0.000371)
SELECT * FROM xoops_xoopspoll_desc WHERE display=1 ORDER BY weight ASC, end_time DESC
( 0.000283)
SELECT * FROM xoops_xoopspoll_option WHERE poll_id=3 ORDER BY option_id
( 0.00018)
SELECT * FROM xoops_xoopspoll_option WHERE poll_id=2 ORDER BY option_id
( 0.000199)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'xoopspoll_block_poll.html') ORDER BY tpl_refid
( 0.00021)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000235)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000185)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000179)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000185)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000181)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000211)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000186)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000183)
SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000184)
SELECT f.*, s.tpl_source FROM xoops_tplfile f LEFT JOIN xoops_tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid
( 0.000184)
Total Number of Queries: 76 | Total SQL Generation Time: 0.057136

Blocks
Üye Menüsü: (4 Queries) No Cache
Ana Menu: (4 Queries) No Cache
Membership: (12 Queries) No Cache
Kayan yazı 4: (2 Queries) No Cache
Özel Blok: (5 Queries) No Cache
Recent Topics: (4 Queries) No Cache
New Downloads: (2 Queries) No Cache
Top Downloads: (2 Queries) No Cache
Özel Blok: (5 Queries) No Cache
Recent News: (5 Queries) No Cache
Random news: (17 Queries) No Cache
Polls: (4 Queries) No Cache
Özel Blok: (5 Queries) No Cache
Özel Blok: (5 Queries) No Cache
Total: 14 blocks

Execution Time
XOOPS took 9.00512480736 seconds to load.

Extra

4
skeletor
Re: Custom Block not working
  • 2006/3/6 20:49

  • skeletor

  • Just popping in

  • Posts: 22

  • Since: 2006/2/20


bah, my XOOPS started doin this as well. everything was working just fine until i tried to install this autologin hack .. and then all the custom blocks went away, i mean it has the titles and everything, just the content itself. well actually, its any system block. cuz even the theme chooser isn't working anymore. but like the main menu block and usermenu block works. as well as the oscommerce blocks im using... and suggestions on what this hack did to it? lol. i even completly removed the hack, and its still the same way.

heres a link to the hack itself =http://www.peak.ne.jp/xoops/md/mydownloads/singlefile.php?cid=2&lid=59

Login

Who's Online

170 user(s) are online (123 user(s) are browsing Support Forums)


Members: 0


Guests: 170


more...

Donat-O-Meter

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

Latest GitHub Commits