vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Rebuilding Post Cache (https://vborg.vbsupport.ru/showthread.php?t=295999)

Relientk 03-12-2013 01:39 AM

Rebuilding Post Cache
 
I recently ran Cleaner.php on a old impex import. All was successful with the clean up. I would like to proceed to do another impex import but here is my dilemma:

it says-

Once cleaner has been run successfully you must rebuild the Rebuild Post Cache in the AdminCP > Maintenance > Update Counters

Rebuilding the post cache takes such a long time (hours) my question is this-

Because I plan on doing another import with impex can I go ahead with that import and then run the cleaner again and then rebuild the post cache?

basically can I do the rebuild post cache only once?!

Or do I need to run it twice once before the second import with impex (since cleaner was just run now from an old import) and then again after the new import?

Thank you in advance for any help regarding this!

Thank you!

Lynne 03-12-2013 03:17 AM

It shouldn't take too long to rebuild the post cache unless you have the number of days set really high.

You don't have to rebuild the post cache now, but remember that any cached post may be incorrect after you have used the cleaner.

Relientk 03-12-2013 03:28 AM

Hi!

Thank you so much for the reply. I have been searching this forum and vbulletin.com, plus google all day trying to find an answer.

Do you know why it makes the date incorrect after the cleaner has been used?

Is it even really necessary to use the cleaner after the impex import then? I know that I didn't run the cleaner before after the old import years ago and everything was fine. But because I want to do another import I had to run the cleaner in order to do another impex import.

I know it says in the instructions to run the cleaner after the import and then to rebuild the post cache...will it mess things up if I just did this second impex import and then didn't run the cleaner or rebuild the post cache? Could I maybe just worry about running the cleaner if and when I ever needed to do another import in the future?

Lynne 03-12-2013 04:34 PM

You don't need to use the post cache - it's just something that helps speed up your forums.

The cleaner is just used to clean up some html/bbcode that is incorrect. You can run it with nothing in the $replacer array and then nothing will be done.


All times are GMT. The time now is 01:06 AM.

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.00949 seconds
  • Memory Usage 1,709KB
  • 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
  • (4)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