vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Weird Error - Sub Forums dont show up anymore? (https://vborg.vbsupport.ru/showthread.php?t=285935)

Simon Lloyd 07-26-2012 04:34 PM

Maybe his datastore is messed up when he moved the database?

Lynne 07-26-2012 06:08 PM

Ah, that could be it. In which case go to edit a Forum and just click Save. It should rebuild the forum datastore.

rmd1 07-27-2012 08:34 AM

Quote:

Originally Posted by Simon Lloyd (Post 2351572)
Where Lynne mentions caching, if you are using xcache you'll need to give each config a different setting not doing so can crash the memory or, as you are having, difficulties displaying things called in to a cache such as templates :)

As a test, change the folder name that your forum is in or change the database details in config.php to something ficticious, clear your server cache and then try and access your test forum see what issues you have, but before that i'd copy the database again and import it in to the test database again.

I never touched the Config File - except editing the the DB Login Credentials. Also not on the Main site, so I guess there is no xcache in use at all? Just checked my config File and it says:
// $config['Datastore']['class'] = 'vB_Datastore_Filecache';

The Problem wth Export + Import the Database again is that I already modified a lot of stuff on the Test Site, which of course I dont want to loose :/ I was hoping to fix this issue without deleting anything, so I dont delay my hired Designers work :)

What do you mean with "clear your server cache" ? If you tell me, I can let my Hoster do it (my UNIX knowledge is limited)

Quote:

Originally Posted by Lynne (Post 2351622)
What are you settings (the top three) in AdminCP > Settings > Options > forum listings display options?

2 2 1

Quote:

Originally Posted by Lynne (Post 2351665)
Ah, that could be it. In which case go to edit a Forum and just click Save. It should rebuild the forum datastore.

Just did that... with all Forums! :D But it didnt work....

Thanks for all your help so far :)

Simon Lloyd 07-27-2012 08:54 AM

try this, in forumhome_forumbit_level2_post template find
HTML Code:

<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
and replace with
HTML Code:

<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
 - $forum[forumid]

now check your forum index page and see how many forum id's you see.

rmd1 07-27-2012 09:24 AM

1 Attachment(s)
Attachment 140137
Only the Parent Forums show their IDs this way.

Simon Lloyd 07-27-2012 09:50 AM

Yes that was the idea, this way you can check that the forums show id's are the correct ones for the sub forums that should have been shown.

--------------- Added [DATE]1343386930[/DATE] at [TIME]1343386930[/TIME] ---------------

In forumhome_subforumbit_post look for $forum[title]</a> and replace it with $forum[title]</a> - $forum[forumid] so now any sub forums will show their forumid


All times are GMT. The time now is 02:21 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01171 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete