Log in

View Full Version : error with datastore and APC


souperman
04-28-2012, 03:49 AM
When I use APC as my datastore I get this partial error:


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.