vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   need way to rebuild forum records from the forumcache (https://vborg.vbsupport.ru/showthread.php?t=74229)

bdjncox 01-12-2005 01:53 AM

need way to rebuild forum records from the forumcache
 
The folks at vbulletin.com asked me to post this here so here goes...

apparently my forum records have been corrupted while my forumcache is fine. There is a way to rebuild the forumcache from the forum records, but not currently a way to rebuild the forum records from the forumcache.

Anyone got any clues? My site is working until I try to update a forum from the forum manager. When it rebuilds the cache, it's missing one category and 3 forums. If the rebuild isn't possible, is there a way I could capture these posts in the missing forums, go ahead and rebuild the cache and then re-create the missing forums and repopulate the missing posts?

Like I said, right now, everything is there, but I'm hamstrung on not being able to let my forumcache rebuild.

Anyone got any ideas?

Andreas 01-12-2005 01:57 AM

Hmm ...
I'd suggest you export your forum table as a sql-file, zip it up and attach it here.
Furthermore the forumcache would be necessary to see what's going wrong

bdjncox 01-12-2005 12:56 PM

1 Attachment(s)
sure thing - I think the problem might be that the category that ends up missing is not showing up in my forum table. The other 'active' forums that are under that category do show up in the forum table. Perhaps it will be as easy as recreating that category in the forum table since there aren't any posts in it?

I'm attaching the forum table export and the text file of what was contained in the forumcache (the one that works).

The forumIDs that go missing after the re-cache are 41, 47, 26 and 12 along with the category that is missing from the forum table.

Andreas 01-12-2005 01:40 PM

Hmm, the only forum that seems to be missing from the database is Conversation and Fun.
Try to execute the following query:

INSERT INTO forum
(forumid, styleid, title, description, forumheader, forumfooter, displayorder, sponsorname, sponsorimg, sponsorurl, daysprune, newpostemail, newthreademail, parentid, parentlist, password, link, options, childlist)
VALUES ('11', '0', 'CONVERSATION AND FUN', '', '<script language=\'JavaScript\' type=\'text/javascript\'>
<!--
if (!document.phpAds_used) document.phpAds_used = \',\';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);

document.write (\"<\" + \"script language=\'JavaScript\' type=\'text/javascript\' src=\'\");
document.write (\"http://www.rotojunkie.com/adserver/adjs.php?n=\" + phpAds_random);
document.write (\"&amp;what=zone:4&amp;target=_blank\");
document.write (\"&amp;exclude=\" + document.phpAds_used);
if (document.referer)
document.write (\"&amp;referer=\" + escape(document.referer));
document.write (\"\'><\" + \"/script>\");
//-->
</script><noscript><a href=\'http://www.rotojunkie.com/adserver/adclick.php?n=a1e915c6\' target=\'_blank\'><img src=\'http://www.rotojunkie.com/adserver/adview.php?what=zone:4&amp;n=a1e915c6\' border=\'0\' alt=\'\'></a></noscript>
', '', '4', 'Players Super Book', '3845dgy.gif', 'http://www.Players-SB.com/cgi-bin/affiliate.pl?aid=8939&sid=2', '30', '', '', '-1', '11,-1', '', '', '130755', '11,12,24,26,47,41,-1')

bdjncox 01-12-2005 02:11 PM

problem fixed - thanks for the help.

Andreas 01-12-2005 06:39 PM

Fine :)
Btw: You should update PHP ASAP.


All times are GMT. The time now is 09:08 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.00975 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete