Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 03 Sep 2012, 18:03
jamoss's Avatar
jamoss jamoss is offline
 
Join Date: Apr 2002
Real name: Jennifer
Question Data Manager error in vb 4.2.0

- I have a universal login: website->vbull
- Just upgraded to vb 4.2.0
- When I try to create a new user (new reg), I get this error when trying to initialize the data manager:
Fatal error: Please check the $bitfields array in the vB_DataManager_User class definition - $vbulletin->bf_misc_useroptions is not a valid bitfield.
in includes/class_dm.php on line 220


- BUT! When the exact same function is called to SAVE an existing user's record, it works.

I have used tools.php to fix the bitfields, I have run the upgrade script completely. Still happening. Any ideas?
__________________
Jennifer M. - php developer since '98
Reply With Quote
  #2  
Old 03 Sep 2012, 19:47
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
have you edited that php file in any way in the also try replacing it with a fresh unedited one
Reply With Quote
  #3  
Old 03 Sep 2012, 20:09
jamoss's Avatar
jamoss jamoss is offline
 
Join Date: Apr 2002
Real name: Jennifer
No, didn't edit it. And I will upload..although I don't know why one function would call it and it would work, and the other would call it and it wouldn't work.

The function it's trying to call is:
datamanager_init('User', $vbulletin, ERRTYPE_CP);
__________________
Jennifer M. - php developer since '98
Reply With Quote
  #4  
Old 03 Sep 2012, 20:37
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
hope this helps you work out the problem from line 187 to 220

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #5  
Old 03 Sep 2012, 21:06
jamoss's Avatar
jamoss jamoss is offline
 
Join Date: Apr 2002
Real name: Jennifer
Thanks! It looks like it does have to do with bitfields that are either set or not set, triggering this error.

I got away with commenting out line #224 in class_dm.php and it works. That's a kluge, but at least it will let me move forward and complete registrations until I figure out a real fix.
__________________
Jennifer M. - php developer since '98
Reply With Quote
  #6  
Old 03 Sep 2012, 21:59
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
happy to help
Reply With Quote
Reply



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 23:08.

Layout Options | Width: Wide Color: