vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Style Chooser Disappears from footer when using (vB_Datastore_Filecache) (https://vborg.vbsupport.ru/showthread.php?t=251260)

AusPhotography 09-27-2010 10:55 PM

Style Chooser Disappears from footer when using (vB_Datastore_Filecache)
 
We reported this bug
http://tracker.vbulletin.com/browse/VBIV-9235

Has anyone else seen a similar issue?

Thanks!

Quote:

I have a vB4.0.7 test system and have tried the vB_Datastore_Filecache (we are going to upgrade from 3.8.6 in the near future).

When the vB_Datastore_Filecache is enabled (uncomment in config.php) the style chooser disappears from the footer.
When I put it back to database mode all is good.

Datastore.php attached.

Thanks!

Edit: Stating the obvious... The test system has two selectable skins. As I said it works when the cache is in the database.

FYI The problem occurs even if I put 'define('DISABLE_HOOKS', true);' into config.php.
This suggests its not one of my plugins.
--------------- Added [DATE]1285635061[/DATE] at [TIME]1285635061[/TIME] ---------------

Update: As far as I can tell in eye-balling the code class_bootstrap.php/process_templates calls functions.php/construct_style_options and somehow $vbulletin->options['styleid'] is not set correctly when using vB_Datastore_Filecache.

No idea why

AusPhotography 09-30-2010 11:56 PM

Bug found but not fixed.

Updated: http://tracker.vbulletin.com/browse/VBIV-9235

manually edited datastore_cache.php

$stylecache = array (
4294967295 =>
array (

...to...

$stylecache = array (
-1 =>
array (

And it now works.
It looks like a bug in the bit that creates the datastore_cache.php file!

SnapOff Racing 01-11-2011 09:33 AM

I was having this same damn issue and the solution that worked for me was the last post on this page...

http://tracker.vbulletin.com/browse/VBIV-9235

Looks like this is an issue with PHP v5.2 so hopefully my damn host will upgrade soon.

THANKS snoopytas :up:


All times are GMT. The time now is 07:10 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.01141 seconds
  • Memory Usage 1,713KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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