vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   error with datastore and APC (https://vborg.vbsupport.ru/showthread.php?t=282148)

souperman 04-28-2012 03:49 AM

error with datastore and APC
 
When I use APC as my datastore I get this partial error:

Code:

Please check the $bitfields array in the vB_DataManager_Blog_User class definition - $vbulletin->bf_misc_vbbloguseroptions is not a valid bitfield.
in [path]/includes/class_dm.php on line 1

This error only happens when I try to change someones usergroup, I haven't noticed otherwise.

I have tried to rebuild the datastore via tools.php, but no luck. If I switch to filecache it works fine.

I'm running vb 3.8.7 pl2 w/blogs on php 5.3.10 w/APC 3.1.9

I have check and notice that APC is running fine, vboptimize and vbseo both run great on APC (each have their own prefix).

Anyone have any ideas what could cause this?

Boofo 04-28-2012 04:22 AM

vb 3 is not set to run properly on PHP 5.3.

souperman 04-28-2012 05:08 AM

vb 3.8.5 was not set to run properly on php 5.3, but those bugs/quirks were "fixed" in the 3.8.7 release.

Still, I ran another instance of php, and switch my board to php 5.2.17 and the issue is still there. The only thing I can think of is that either APC is buggy, or vb is not setup properly for APC. I used to run the datastore in memcache without issues, so I'm guessing vbulletin is not properly configured to work with APC.

Boofo 04-28-2012 05:24 AM

They were not fixed in 3.8.7 AFAIK. You might want to check further into that on the com.

souperman 04-28-2012 05:40 PM

I don't think php 5.3 is the case in this instance since I tried it with php 5.2 and the same issue is still there.

souperman 04-29-2012 10:09 PM

I fixed it. For those that have the same issue:
Upload tools.php and /install folder

Go to tools.php and rebuild the datastore. Then go to the usergroups and edit any usegroup, when you try to edit a usergroup a message will say that bitfields. Try to edit another usergroup until the bitfields message doesn't pop up. Edit config file and add APC for the datastore, ALL done.

It's a bit dirty, but works. Hopefully this helps someone.


All times are GMT. The time now is 11:43 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.01047 seconds
  • Memory Usage 1,716KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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