1
asifanwar
Error with Newbb 2: Forums not displayed under Category Names and bits of image tag displayed
  • 2006/2/20 23:14

  • asifanwar

  • Just popping in

  • Posts: 1

  • Since: 2006/2/20


Hi I would be very greatful if someone could help me with an error Im having after updating from Newbb 1 to 2.02 I am using XOOPS version 2.0.13.2

Forums are not displayed under Category Names and bits of image tag are displayed after the categorys here is a link to the site: http://www.livisoc.org/test/xoops2/modules/newbb/

Ive tried adding a new category called "test" and a new forum called "test forum" incase the problem was due to updating the database (ie. the forums that I added before updating were the only ones effected) but the new forum did axactly the same thing. When I did the update the update_from_1_to_2 file said that it completed sucsessfully just as XOOPS did when i updated the module under it.

I have turned on php debug and had no errors shown on the page I have also tried turning on smarty debug and got the following debug report

Smarty Debug Console 
included templates 
config files (load time in seconds): 
db:system_block_mainmenu.html 
db
:system_block_siteinfo.html 
db
:system_block_user.html 
db
:newbb_index.html 
   db
:system_notification_select.html (0.00434
isoc/theme.html (0.00401
   default/
theme_blockleft.html (0.00081
   default/
theme_blockleft.html (0.00072
   default/
theme_blockright.html (0.00074
assigned template variables
{
$SCRIPT_NAME} /test/xoops2/modules/newbb/index.php 
{$all_linkviewall.php 
{$block} Array (2)
title => User Menu
content 
=> <table cellspacing="0"><tr><t... 
{
$cat_displayblock
{
$categories} Array (3)
=> Array (10)
  
cat_order => 1
  cat_id 
=> 1
  cat_title 
=> Main
  cat_image 
=> blank.gif
  cat_url 
=> empty
  
cat_description => empty
  
permission => 1
  cat_display 
=> block;
  
cat_display_icon => images/minus.png
  forums 
=> Array (5)
    
=> Array (14)
      
forum_order => 1
      forum_id 
=> 1
      forum_cid 
=> 1
      forum_name 
=> General
      forum_desc 
=> General Isoc discussions
      forum_posts 
=> 0
      forum_topics 
=> 0
      forum_type 
=> 0
      forum_lastpost_time 
=> empty
      
forum_lastpost_icon => empty
      
forum_lastpost_user => empty
      
forum_folder => <img src="http://www.livisoc.org/test...
      forum_moderators => 
      forum_permission => 1
    1 => Array (14)
      forum_order => 2
      forum_id => 2
      forum_cid => 1
      forum_name => Events
      forum_desc => Isoc Events (Event orgainisers please...
      forum_posts => 0
      forum_topics => 0
      forum_type => 0
      forum_lastpost_time => empty
      forum_lastpost_icon => empty
      forum_lastpost_user => empty
      forum_folder => <img src="
http://www.livisoc.org/test...
      
forum_moderators => <a href='http://www.livisoc.org/test/...
      forum_permission => 1
    2 => Array (14)
      forum_order => 3
      forum_id => 3
      forum_cid => 1
      forum_name => Announcements
      forum_desc => Use this forum for any announcements ...
      forum_posts => 0
      forum_topics => 0
      forum_type => 0
      forum_lastpost_time => empty
      forum_lastpost_icon => empty
      forum_lastpost_user => empty
      forum_folder => <img src="http://www.livisoc.org/test...
      forum_moderators => 
      forum_permission => 1
    3 => Array (14)
      forum_order => 4
      forum_id => 4
      forum_cid => 1
      forum_name => Islamic
      forum_desc => Ask questions here; these will be for...
      forum_posts => 0
      forum_topics => 0
      forum_type => 0
      forum_lastpost_time => empty
      forum_lastpost_icon => empty
      forum_lastpost_user => empty
      forum_folder => <img src="http://www.livisoc.org/test...
      forum_moderators => 
      forum_permission => 1
    4 => Array (14)
      forum_order => 5
      forum_id => 13
      forum_cid => 1
      forum_name => Isoc Jobs
      forum_desc => The aim of this forum is to help thos...
      forum_posts => 0
      forum_topics => 0
      forum_type => 0
      forum_lastpost_time => empty
      forum_lastpost_icon => empty
      forum_lastpost_user => empty
      forum_folder => <img src="http://www.livisoc.org/test...
      forum_moderators => 
      forum_permission => 1
1 => Array (10)
  cat_order => 2
  cat_id => 2
  cat_title => Committee
  cat_image => blank.gif
  cat_url => empty
  cat_description => empty
  permission => 1
  cat_display => block;
  cat_display_icon => images/minus.png
  forums => Array (8)
    0 => Array (14)
      forum_order => 1
      forum_id => 5
      forum_cid => 2
      forum_name => Core Committee
      forum_desc => Talk to the Core Committee
      forum_posts => 0
      forum_topics => 0
      forum_type => 0
      forum_lastpost_time => empty
      forum_lastpost_icon => empty
      forum_lastpost_user => empty
      forum_folder => <img src="http://www.livisoc.org/test...
      forum_moderators => 
      forum_permission => 1
    1 => Array (14)
      forum_order => 2
      forum_id => 6
      forum_cid => 2
      forum_name => Dawah
      forum_desc => Talk to the Dawah team
      forum_posts => 0
      forum_topics => 0
      forum_type => 0
      forum_lastpost_time => empty
      forum_lastpost_icon => empty
      forum_lastpost_user => empty
      forum_folder => <img src="http://www.livisoc.org/test...
      forum_moderators => 
      forum_permission => 1
    2 => Array (14)
      forum_order => 3
      forum_id => 7
      forum_cid => 2
      forum_name => Education
      forum_desc => Talk to the Education team
      forum_posts => 0
      forum_topics => 0
      forum_type => 0
      forum_lastpost_time => empty
      forum_lastpost_icon => empty
      forum_lastpost_user => empty
      forum_folder => <img src="http://www.livisoc.org/test...
      forum_moderators => 
      forum_permission => 1
    3 => Array (14)
      forum_order => 4
      forum_id => 8
      forum_cid => 2
      forum_name => Finance
      forum_desc => Talk to the Finance team
      forum_posts => 0
      forum_topics => 0
      forum_type => 0
      forum_lastpost_time => empty
      forum_lastpost_icon => empty
      forum_lastpost_user => empty
      forum_folder => <img src="http://www.livisoc.org/test...
      forum_moderators => 
      forum_permission => 1
    4 => Array (14)
      forum_order => 5
      forum_id => 9
      forum_cid => 2
      forum_name => Prayer room
      forum_desc => Talk to the Prayer room team
      forum_posts => 0
      forum_topics => 0
      forum_type => 0
      forum_lastpost_time => empty
      forum_lastpost_icon => empty
      forum_lastpost_user => empty
      forum_folder => <img src="http://www.livisoc.org/test...
      forum_moderators => 
      forum_permission => 1
    5 => Array (14)
      forum_order => 6
      forum_id => 10
      forum_cid => 2
      forum_name => Project Organiser
      forum_desc => Talk to the Project Organiser team
      forum_posts => 0
      forum_topics => 0
      forum_type => 0
      forum_lastpost_time => empty
      forum_lastpost_icon => empty
      forum_lastpost_user => empty
      forum_folder => <img src="http://www.livisoc.org/test...
      forum_moderators => 
      forum_permission => 1
    6 => Array (14)
      forum_order => 7
      forum_id => 11
      forum_cid => 2
      forum_name => Publicity
      forum_desc => Talk to the Publicity team
      forum_posts => 0
      forum_topics => 0
      forum_type => 0
      forum_lastpost_time => empty
      forum_lastpost_icon => empty
      forum_lastpost_user => empty
      forum_folder => <img src="http://www.livisoc.org/test...
      forum_moderators => 
      forum_permission => 1
    7 => Array (14)
      forum_order => 8
      forum_id => 12
      forum_cid => 2
      forum_name => Welfare
      forum_desc => Talk to the Welfare team
      forum_posts => 0
      forum_topics => 0
      forum_type => 0
      forum_lastpost_time => empty
      forum_lastpost_icon => empty
      forum_lastpost_user => empty
      forum_folder => <img src="http://www.livisoc.org/test...
      forum_moderators => 
      forum_permission => 1
2 => Array (10)
  cat_order => 3
  cat_id => 3
  cat_title => Test
  cat_image => blank.gif
  cat_url => empty
  cat_description => empty
  permission => 1
  cat_display => block;
  cat_display_icon => images/minus.png
  forums => Array (1)
    0 => Array (14)
      forum_order => 1
      forum_id => 14
      forum_cid => 3
      forum_name => test forum
      forum_desc => empty
      forum_posts => 0
      forum_topics => 0
      forum_type => 0
      forum_lastpost_time => empty
      forum_lastpost_icon => empty
      forum_lastpost_user => empty
      forum_folder => <img src="http://www.livisoc.org/test...
      forum_moderators => <a href='
http://www.livisoc.org/test/...
      
forum_permission => 
{$color_admin#FFA34F 
{$color_mod#006600 
{$digest_linkviewall.php?type=digest 
{$down} <img src="http://www.livisoc.org/test... 
{$editprofile_url} http://www.livisoc.org/test/xoops2/ed... 
{$forum_index_cpanel} <strong> <a href='admin/index.php' ta... 
{$forum_index_title} empty 
{$group} Array (2)
name => Webmasters
users => Array (1)
  0 => Array (4)
    id => 1
    name => admin
    msglink => <a href="
javascript:openWithSelfMain(...
    
avatar => http://www.livisoc.org/test/xoops2/up... 
{$img_folder} <img src="http://www.livisoc.org/test... 
{$img_hotfolder} <img src="http://www.livisoc.org/test... 
{$img_locked_newposts} <img src="http://www.livisoc.org/test... 
{$img_locked_nonewposts} <img src="http://www.livisoc.org/test... 
{$img_subforum} <img src="http://www.livisoc.org/test... 
{$lang_activenotifications} Active Notifications 
{$lang_category} Category 
{$lang_change} Change 
{$lang_checkall} Check All 
{$lang_currenttime} The time now is 20/2/2006 6:03 pm 
{$lang_event} Event 
{$lang_events} Events 
{$lang_lastvisit} You last visited: 20/2/2006 4:55:20 pm 
{$lang_notificationmethodis} Notification method is 
{$lang_notificationoptions} Notification Options 
{$lang_updatenow} Update Now 
{$lang_updateoptions} Update Notification Options 
{$lang_welcomemsg} Welcome to Livisoc Forum. 
{$mark_read} index.php?mark_read=1 
{$mark_unread} index.php?mark_read=2 
{$module} Array (3)
name => Sitemap
directory => sitemap
sublinks => Array (0) 
{$online} Array (5)
image => <img src="
http://www.livisoc.org/test...
num_total => 1
num_user 
=> 1
num_anonymous 
=> 0
users 
=> Array (1)
  
=> Array (3)
    
link => http://www.livisoc.org/test/xoops2/us...
    
uname => admin
    color 
=> #FFA34F 
{$rss_enable} <div align='right'><a href='http://ww... 
{$subforum_display} collapse 
{$total_posts} 0 
{$total_topics} 0 
{$unread_link} viewall.php?type=unread 
{$unreplied_link} viewall.php?type=unreplied 
{$user} Array (4)
id => 1
name => admin
msglink => <a href="javascript:openWithSelfMain(...
avatar => http://www.livisoc.org/test/xoops2/up... 
{$user_method} private message 
{$xoops_banner} <div><a href="http://www.livisoc.org/... 
{$xoops_charset} ISO-8859-1 
{$xoops_contents} <!-- start module contents -->rn<tabl... 
{$xoops_dirname} newbb 
{$xoops_footer} Powered by XOOPS 2.0 © 2001-2003 <a h... 
{$xoops_imageurl} http://www.livisoc.org/test/xoops2/th... 
{$xoops_isadmin} 1 
{$xoops_isuser} 1 
{$xoops_js} //--></script><script type="text/java... 
{$xoops_langcode} en 
{$xoops_lblocks} Array (2)
0 => Array (2)
  title => Main Menu
  content => <table cellspacing="0">n <tr>n <t...
1 => Array (2)
  title => Site Info
  content => <table class="outer" cellspacing="0">... 
{$xoops_meta_author} Liverpool Universty Islamic Society 
{$xoops_meta_copyright} Copyright © 2006 
{$xoops_meta_description} This website is for all those who are... 
{$xoops_meta_keywords} LIVISOC, Liverpool Islamic Society, I... 
{$xoops_meta_rating} general 
{$xoops_meta_robots} index,follow 
{$xoops_module_header} <link rel="alternate" type="applicati... 
{$xoops_notification} Array (4)
show => 1
categories => Array (1)
  global => Array (5)
    name => global
    title => Global
    description => Global forum notification options.
    itemid => 0
    events => Array (3)
      new_forum => Array (5)
        name => new_forum
        title => New Forum
        caption => Notify me when a new forum is created.
        description => Receive notification when a new forum...
        subscribed => 0
      new_post => Array (5)
        name => new_post
        title => New Post
        caption => Notify me of any new posts.
        description => Receive notification when any new mes...
        subscribed => 1
      new_fullpost => Array (5)
        name => new_fullpost
        title => New Post (Full Text)
        caption => Notify me of any new posts (include f...
        description => Receive full text notification when a...
        subscribed => 0
target_page => notification_update.php
redirect_script => /test/xoops2/modules/newbb/index.php 
{$xoops_pagetitle} Forum 
{$xoops_rblocks} Array (1)
0 => Array (2)
  title => User Menu
  content => <table cellspacing="0">n <tr>n <t... 
{$xoops_requesturi} /test/xoops2/modules/newbb/ 
{$xoops_rootpath} /home/livisoc/public_html/test/xoops2 
{$xoops_showcblock} 0 
{$xoops_showlblock} 1 
{$xoops_showrblock} 1 
{$xoops_sitename} Livisoc 
{$xoops_slogan} empty 
{$xoops_theme} isoc 
{$xoops_themecss} http://www.livisoc.org/test/xoops2/th... 
{$xoops_uname} admin 
{$xoops_upload_url} http://www.livisoc.org/test/xoops2/up... 
{$xoops_url} http://www.livisoc.org/test/xoops2 
{$xoops_userid} 1 
{$xoops_version} XOOPS 2.0.13.2 
assigned config file variables (outer template scope): 
{#files#} Array (0) 
{#vars#} Array (0)


Im not sure how to interpret this (do the last 2 lines mean theres an error with a config file)

Thanks for any help in advance
Asif

2
hydrO
Re: Error with Newbb 2: Forums not displayed under Category Names and bits of image tag displayed
  • 2006/3/24 17:09

  • hydrO

  • Not too shy to talk

  • Posts: 105

  • Since: 2004/1/8 8


I have had the same problem too. But I wasn't using the default XOOPS Template set when I did the upgrade.

So it worked when I changed the template set to default.
If it doesn't work you might wanna clear templates_c folder and do a system and newbb module update.
Download Dhivehi mp3s
[size=x-small]www.gnatoll.com[/size]

Login

Who's Online

185 user(s) are online (115 user(s) are browsing Support Forums)


Members: 0


Guests: 185


more...

Donat-O-Meter

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

Latest GitHub Commits