![]() |
Weird Error - Sub Forums dont show up anymore?
Hello vb org Community!
I got a strange Problem here that neither me or a coder that I hired cant fix... So I hope you can help me with this little Problem... I made a 1:1 Copy of my already working Website to use it as my Testenviroment. Everything works fine, except this BIG Problem regarding Sub Forums! In my Forumhome I have a Category which has multiple Sub Forums. Clicking the Category on the Live Site shows the Threads that it contains + the Sub Forums on top of the Threads. Problem: In my Test Enviroment, the Sub Forums dont show up - even tho its a 1:1 copy of the DB / Files. Why does this happen and how can I fix it? I am currently trying to create a new theme and cant complete it without designing the Sub Forums. :( Already tried rebuilding the Thread / Forum Information via the Mainentance functions in Admincp. I appreciate any help on this! Google only spits out Topics about the Sub Forum Depth, which is not the Problem, already tried that :) |
Try temporarily disabling all plugins by putting
Code:
define('DISABLE_HOOKS', 1); in your config.php file, and also try creating a new style with no parent, and see if you still have the problem. |
Maybe a link to the problem
|
Any caching being used on the server? Did you select to use that caching in the config.php file also? Can you see the sub-forums in the database? Are they shown in the Forum Manager and not set to Display "0"?
|
1 Attachment(s)
Quote:
About the styles, no matter which Style I use, these Forums are never visible "inside the first level Sub Forum". Not even in the default Style that comes with vb!! Quote:
Attachment 140101Attachment 140102 Quote:
I can see the Sub Forums in the Database, Forum Manager AND when im on Forumhome (domain.com/forum) .... but not when im clicking the level 1 Sub Forum :/ Please dont forget, this test area is a 1:1 DB + Files copy of my live site, where everything works :( Any Ideas ? |
Just to be clear, the missing subforums are the same ones that already exist on your main site, not subforums you started adding on the test site?
|
Quote:
|
Edit: nvm - you're using vb3.
|
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. |
What are you settings (the top three) in AdminCP > Settings > Options > forum listings display options?
|
Maybe his datastore is messed up when he moved the database?
|
Ah, that could be it. In which case go to edit a Forum and just click Save. It should rebuild the forum datastore.
|
Quote:
// $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:
Quote:
Thanks for all your help so far :) |
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> HTML Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> |
1 Attachment(s)
Attachment 140137
Only the Parent Forums show their IDs this way. |
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 04:59 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|