Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2005, 01:53 AM
bdjncox bdjncox is offline
 
Join Date: Jan 2002
Location: Frisco, TX
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 01-12-2005, 01:57 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 01-12-2005, 12:56 PM
bdjncox bdjncox is offline
 
Join Date: Jan 2002
Location: Frisco, TX
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Files
File Type: zip forum[1].sql.zip (3.8 KB, 9 views)
File Type: txt forumcache.txt (34.0 KB, 22 views)
Reply With Quote
  #4  
Old 01-12-2005, 01:40 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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')
Reply With Quote
  #5  
Old 01-12-2005, 02:11 PM
bdjncox bdjncox is offline
 
Join Date: Jan 2002
Location: Frisco, TX
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

problem fixed - thanks for the help.
Reply With Quote
  #6  
Old 01-12-2005, 06:39 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fine
Btw: You should update PHP ASAP.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:38 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.07151 seconds
  • Memory Usage 2,221KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete