vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Style Chooser Shows Up On One Server But NOT The Other?? (https://vborg.vbsupport.ru/showthread.php?t=256880)

SnapOff Racing 01-11-2011 09:11 AM

OMG I figured it out!!! Thanks to your pushing in the right direction I discovered something...

When you said to check the functions.php file I looked thru it at the part you specified and didn't really see anything that I could change. HOWEVER, below that section I noticed

PHP Code:

// #############################################################################
/**
* Saves the specified data into the datastore
*
* @param    string    The name of the datastore item to save 


Which made a light bulb light up in my head! It made me think about the datastore file that is referenced in the config.php Remember how I was saying earlier that I had been moving the ENTIRE SITE including database AND filesystem and that the ONLY FILE that was different was the config.php. Well so I commented out the
//$config['Datastore']['class'] = 'vB_Datastore_Filecache';
in the config.php file and VOILA!! Style chooser is now working again!!!

BUT unfortunately the fun doesn't stop there.

- I go back into the config.php and uncomment $config['Datastore']['class'] = 'vB_Datastore_Filecache';
- Delete the datastore_cache.php file and replace it with a stock vB datastore_cache.php
- Then I go into the AdminCP -> Maintenance -> Update Counters -> Rebuild Styles

But then the problem is now back again, missing style chooser. So apparently clearing out the datastore_cache.php file is still causing it to rebuild the style cache with whatever issue is in there. I was thinking ok maybe there is something wrong with one of the styles but as I stated before it does this to the Default style as well. Also as I mentioned when I comment out the datastore line in the config.php file to disabled datastore caching the style chooser starts working fine again.

I even tried going into the config.php and disabling all my plugins, and then retrying the procedure I listed above. Still did the same thing. So I don't think it's a plugin issue.

Any ideas?

Thanks again for your help though, if you hadn't shoved me into the right direction I wouldn't have seen that line in the functions.php file referencing datastore cache and that damn light bulb would have never gone off in my head lol :D

--------------- Added [DATE]1294745431[/DATE] at [TIME]1294745431[/TIME] ---------------

Ok after some more research now that I had some more ammo to search with via Google I have found that this is apparently a bug in PHP v5.2 which is what my HOST uses on their servers. The reason that this wasn't happening when I was putting the forum on my local server is because I am running PHP v5.3

The solution that worked for me to fix the issue is referenced in the last post on this page...

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

Thanks again for all your help everyone, and especially kh99 :up:


All times are GMT. The time now is 06:03 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.00951 seconds
  • Memory Usage 1,721KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete