Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
6 + 8 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Custom HTML Blocks not showing...
by khampster on 2005/10/12 17:16:08

Quote:
included templates & config files (load time in seconds):
db:system_block_mainmenu.html
db:system_block_dummy.html
db:membership_block.html
db:PDdownloads_block_new.html
db:PDdownloads_block_top.html
db:system_block_user.html
db:xcgal_block_scroll.html
db:news_block_new.html
db:xoopspoll_block_poll.html
db:system_block_newusers.html
db:newbb_block.html
db:system_block_topusers.html
db:system_block_dummy.html
db:pical_todays_schedule.html
db:system_block_siteinfo.html
db:system_block_dummy.html
7dana-round/theme.html (0.07494)
assigned template variables:
{$SCRIPT_NAME} /html/index.php
{$block} Array (2)
title => Site Info
content => <table class="outer" cellspacing="0">...
{$download} Array (5)
id => 11
cid => 1
title => DJ epic - Club Biz...
hits => 101
dirname => PDdownloads
{$group} Array (1)
users => Array (1)
0 => Array (4)
id => 863
name => wifey
msglink => <a href="javascript:openWithSelfMain(...
avatar => http://www.gotriceproductions.net/htm...
{$module} Array (3)
name => GRP Association Groups
directory => multiMenu
sublinks => Array (0)
{$news} Array (3)
title => Site update
id => 5
date => 2005/8/15
{$option} Array (2)
id => 43
text => other
{$pic} Array (6)
pos => -21
image => <img src="http://www.gotriceproductio...
caption => empty
pid => 21
link_tgt => displayimage.php?pid=21&album=random&...
i => 5
{$poll} Array (5)
id => 10
question => What type of music do you listen to?
option_type => radio
option_name => option_id
options => Array (10)
0 => Array (2)
id => 34
text => alternative
1 => Array (2)
id => 35
text => break beat
2 => Array (2)
id => 36
text => gangsta rap
3 => Array (2)
id => 37
text => hip-hop
4 => Array (2)
id => 38
text => heavy metal
5 => Array (2)
id => 39
text => house
6 => Array (2)
id => 40
text => oldies
7 => Array (2)
id => 41
text => r&b
8 => Array (2)
id => 42
text => slow jams
9 => Array (2)
id => 43
text => other
{$topic} Array (12)
jump_post => <a href='http://www.gotriceproduction...
topic_subject => empty
forum_id => 1
forum_name => GotRice Productions Bulletin
id => 496
title => GotRice Productions Members please re...
replies => 0
views => 3
post_id => 4196
time => 2005/10/10 10:05
topic_poster => <a href='http://www.gotriceproduction...
topic_page_jump => empty
{$user} Array (4)
id => 863
name => wifey
msglink => <a href="javascript:openWithSelfMain(...
avatar => http://www.gotriceproductions.net/htm...
{$xoops_banner} &nbsp;
{$xoops_ccblocks} Array (4)
0 => Array (2)
title => Welcome to our site!
content => empty

1 => Array (2)
title => News + Updates
content => <ul>\r\n <li><a href="http://www.g...
2 => Array (2)
title => Recent Topics
content => <table class="outer" cellspacing="1">...
3 => Array (2)
title => About GotRice Productions
content => empty

{$xoops_charset} ISO-8859-1
{$xoops_clblocks} Array (1)
0 => Array (2)
title => Top Downloads
content => <ul>\r\n <li><a href="http://www.g...
{$xoops_contents} empty
{$xoops_crblocks} Array (1)
0 => Array (2)
title => Recent PD-Downloads
content => <ul>\r\n <li><a href="http://www.g...
{$xoops_dirname} system
{$xoops_footer} Powered by Rice
{$xoops_imageurl} http://www.gotriceproductions.net/htm...
{$xoops_isadmin} 1
{$xoops_isuser} 1
{$xoops_js} //--></script><script type="text/java...
{$xoops_langcode} en
{$xoops_lblocks} Array (5)
0 => Array (2)
title => Main Menu
content => <table cellspacing="0">\r\n <tr>\r\n ...
1 => Array (2)
title => User Menu
content => <table cellspacing="0">\r\n <tr>\r\n ...
2 => Array (2)
title => Polls
content => <form style="margin-top: 1px;" action...
3 => Array (2)
title => Upcoming events
content => No Events\r\n\r\n\r\n <dl>\r\n <d...
4 => Array (2)
title => MiniCalendar
content => empty

{$xoops_meta_author} GotRice Productions
{$xoops_meta_copyright} Copyright © 2001-2005
{$xoops_meta_description} GotRice Productions is a Midwest Base...
{$xoops_meta_keywords} entertainment,night life, team, crew,...
{$xoops_meta_rating} general
{$xoops_meta_robots} index,follow
{$xoops_notification} Array (1)
show => 0
{$xoops_pagetitle} .Visualize.Design.Construct.
{$xoops_rblocks} Array (5)
0 => Array (2)
title => Who's Online?
content => <b><u>Membership:</u></b><br />\r\n<img...
1 => Array (2)
title => Scrolling Thumbnails
content => <script src="http://www.gotriceproduc...
2 => Array (2)
title => New Members
content => <table cellspacing="1" class="outer">...
3 => Array (2)
title => Top Posters
content => <table cellspacing="1" class="outer">...
4 => Array (2)
title => Site Info
content => <table class="outer" cellspacing="0">...
{$xoops_requesturi} /html/
{$xoops_rootpath} /home/gotricep/public_html/html
{$xoops_showcblock} 1
{$xoops_showlblock} 1
{$xoops_showrblock} 1
{$xoops_sitename} GotRice Productions
{$xoops_slogan} .Visualize.Design.Construct.
{$xoops_theme} 7dana-round
{$xoops_themecss} http://www.gotriceproductions.net/htm...
{$xoops_uname} KHAMPSTER
{$xoops_upload_url} http://www.gotriceproductions.net/htm...
{$xoops_url} http://www.gotriceproductions.net/html
{$xoops_userid} 1
{$xoops_version} XOOPS 2.0.13.1
assigned config file variables (outer template scope):
{#files#} Array (0)
{#vars#} Array (0)


This is from the Smarty Debug Console.

I really want this problem to be resolved so I can utilize my full website. Please give me some details on how to fix this.
Re: Custom HTML Blocks not showing...
by JMorris on 2005/10/12 17:14:17

I'm afraid I don't have a quick answer for you. However, it seems this is a common problem. From the few posts I read, this could be because of folder permissions, corrupt templates, or a module. Hopefully the following will lead to a better answer for you.

Google results: "Call to a member function on a non-object" tplsets/main.php line 93 site:xoops.org

Hope this helps.

James
Re: Custom HTML Blocks not showing...
by khampster on 2005/10/12 17:09:53

le="color: #000000"><?php 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 = '25396f69a88d7f95493ad3ca243a4f92' SELECT * FROM xoops_users WHERE uid=1 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 IN (0,-1) AND b.bid IN (57,19,18,17,16,15,14,13,12,11,10,9,7,8,5,6,3,4,98,2,97,96,49,47,43,39,91,38,79,74,56,55,37,36,35,32,77,94,89,78,27,28,1,40,42,99,103,117,116,115,114,113,44,45,46,48,50,51,112,111,110,109,108,104,102,101,100,95,93,88,85,84,83) ORDER BY b.weight,b.bid 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 = 'PDdownloads' 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 SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid 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 SELECT COUNT(*) FROM xoops_online WHERE online_uid=1 UPDATE xoops_online SET online_updated=1129137078, online_module = 0 WHERE online_uid = 1 SELECT * FROM xoops_online SELECT * FROM xoops_modules WHERE isactive = '1' ORDER BY weight ASC, mid ASC SELECT COUNT(*) FROM xoops_users WHERE level > '0' SELECT COUNT(*) FROM xoops_users WHERE user_regdate >= '1129100400' SELECT COUNT(*) FROM xoops_users WHERE user_regdate >= '1129014000' SELECT * FROM xoops_users WHERE (level > '0') ORDER BY user_regdate DESC LIMIT 0, 1 SELECT * FROM xoops_config WHERE (conf_modid = '28') ORDER BY conf_order ASC SELECT lid, cid, title, date, hits FROM xoops_PDdownloads_downloads WHERE status > 0 AND offline = 0 ORDER BY date DESC LIMIT 0, 10 SELECT lid, cid, title, date, hits FROM xoops_PDdownloads_downloads WHERE status > 0 AND offline = 0 ORDER BY hits DESC LIMIT 0, 10 SELECT COUNT(*) FROM xoops_priv_msgs WHERE (read_msg = '0' AND to_userid = '1') SELECT * FROM xoops_modules WHERE dirname = 'xcgal' SELECT count(*) from xoops_xcgal_pictures WHERE approved = 'YES' SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime FROM xoops_xcgal_pictures WHERE approved = 'YES' ORDER BY RAND() LIMIT 5 SELECT * FROM xoops_config WHERE (conf_modid = '4') ORDER BY conf_order ASC SELECT storyid, title, published, expired, counter FROM xoops_stories WHERE published < 1129137078 AND published > 0 AND (expired = 0 OR expired > 1129137078) ORDER BY published DESC LIMIT 0, 10 SELECT * FROM xoops_xoopspoll_desc WHERE display=1 ORDER BY weight ASC, end_time DESC SELECT * FROM xoops_xoopspoll_option WHERE poll_id=10 ORDER BY option_id SELECT * FROM xoops_users WHERE (level > '0') ORDER BY user_regdate DESC LIMIT 0, 5 SELECT * FROM xoops_modules WHERE dirname = 'newbb' SELECT * FROM xoops_config WHERE (conf_modid = '3') ORDER BY conf_order ASC SELECT * FROM xoops_bb_forums ORDER BY forum_order SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_admin' AND gperm_itemid = '3' AND gperm_modid = '1') SELECT uid FROM xoops_groups_users_link WHERE groupid=1 SELECT t.*, f.forum_name, f.allow_subject_prefix, p.post_id, p.icon, p.uid, p.poster_name, u.uname, u.name FROM xoops_bb_topics t, xoops_bb_forums f, xoops_bb_posts p LEFT JOIN xoops_users u ON u.uid = p.uid WHERE f.forum_id=t.forum_id AND t.forum_id IN (1,2,3,4,5,7,8,9,10,11,13,14,15,16,17,18,19,20,6) AND t.approved = 1 AND p.approved = 1 AND t.topic_last_post_id=p.post_id ORDER BY t.topic_time DESC LIMIT 0, 5 SELECT * FROM xoops_users WHERE (level > '0' AND rank <> '6' AND rank <> '7' AND rank <> '8' AND rank <> '9' AND rank <> '11' AND rank <> '12') ORDER BY posts DESC LIMIT 0, 5 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 SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid 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 SELECT mid FROM xoops_modules WHERE dirname='piCal' SELECT conf_name,conf_value FROM xoops_config WHERE conf_modid=38 SELECT * FROM xoops_groups SELECT u.uid, u.uname, u.email, u.user_viewemail, u.user_avatar, g.name AS groupname FROM xoops_groups_users_link l LEFT JOIN xoops_users u ON l.uid=u.uid LEFT JOIN xoops_groups g ON l.groupid=g.groupid WHERE g.group_type='Admin' ORDER BY l.groupid, u.uid SELECT mid FROM xoops_modules WHERE dirname='piCal' SELECT conf_name,conf_value FROM xoops_config WHERE conf_modid=38 SELECT * FROM xoops_groups 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 SELECT * FROM xoops_tplfile WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid 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 Total: 52 queries


This is what I got when I activated the MySQL Debug Mode.
Re: Custom HTML Blocks not showing...
by khampster on 2005/10/12 16:58:27

no i see no red or yellow on the template manager. Its a mixed confusion that I been sitting down and thinking about this for a while now.

le="color: #000000"><?php Fatal error: Call to a member function on a non-object in /home/gotricep/public_html/html/modules/system/admin/tplsets/main.php on line 93


This is what i see when I turn PHP Debug ON and checked out the templates manager... My XOOPS is falling apart.. now im really stuck!
Re: Custom HTML Blocks not showing...
by JMorris on 2005/10/12 16:49:27

Are you using a custom template set? If so, try going into the Template Set Manager, if the number next to System is red, you need to generate the file.

Ex:
Quote:
System [List (27)]


To generate the file, click on the word List. Then scroll down until you see the row that is highlighted in yellow and click the generate button.

Hope this helps.

James

Who's Online

87 user(s) are online (44 user(s) are browsing Support Forums)


Members: 0


Guests: 87


more...

Donat-O-Meter

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

Latest GitHub Commits