View Single Post
  #11  
Old 01-11-2011, 09:11 AM
SnapOff Racing SnapOff Racing is offline
 
Join Date: Apr 2006
Posts: 336
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

--------------- 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:
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01127 seconds
  • Memory Usage 1,770KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete