Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 28 Sep 2010, 00:55
AusPhotography's Avatar
AusPhotography AusPhotography is offline
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Style Chooser Disappears from footer when using (vB_Datastore_Filecache)

We reported this bug

Has anyone else seen a similar issue?


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.


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 28 Sep 2010 at 01:51 ---------------

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

Last edited by AusPhotography; 28 Sep 2010 at 01:51. Reason: Auto-Merged DoublePost
Reply With Quote
Old 01 Oct 2010, 01:56
AusPhotography's Avatar
AusPhotography AusPhotography is offline
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Bug found but not fixed.


manually edited datastore_cache.php

$stylecache = array (
4294967295 =>
array (

$stylecache = array (
-1 =>
array (

And it now works.
It looks like a bug in the bit that creates the datastore_cache.php file!
__________________ a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
Old 11 Jan 2011, 11:33
SnapOff Racing SnapOff Racing is offline
Join Date: Apr 2006
I was having this same damn issue and the solution that worked for me was the last post on this page...

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

THANKS snoopytas

Last edited by SnapOff Racing; 11 Jan 2011 at 13:13.
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nonselectable style on Quick Style Chooser for admin Marco van Herwaarden vBulletin 3.0 Full Releases 8 16 Feb 2005 10:15
Create Style Groups for Style Chooser Wayne Luke vBulletin 3.0 Full Releases 12 19 Jul 2004 11:57

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

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

New To Site? Need Help?

All times are GMT. The time now is 16:28.

Layout Options | Width: Wide Color: