Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 16 Aug 2008, 19:56
VodkaFish VodkaFish is offline
 
Join Date: Oct 2003
datastore retrieval

I just upgraded from 3.6.7 to 3.7.2

I was accessing something from my datastore like this:
$parse = $vbulletin->datastore->registry->mystuff;

Then I'd use $parse to parse the post message.

After the upgrade $parse is null.

However, if I do this, all is well:
$setup = $vbulletin->datastore->do_db_fetch("'mystuff'");
$parse = $vbulletin->mystuff;

I can then use $parse properly.

I once had a problem with getting data from the datastore before, but this is different (just in case anyone recognizes this somewhat).

Was anything changed in 3.7 that would disallow my original method?

Does the way I have to do it now create any extra load on my db (this is for a decent size forum)?
Reply With Quote
  #2  
Old 16 Aug 2008, 20:11
Opserty Opserty is offline
 
Join Date: Apr 2007

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

Would probably work just as well. The datastore fetch, most likely it returns a boolean on success/failure or something. Check the actual PHP code behind the function to see what is going if you really want to know.
Reply With Quote
  #3  
Old 16 Aug 2008, 21:05
VodkaFish VodkaFish is offline
 
Join Date: Oct 2003
That seems like a lot of digging. If this isn't brutal to my server, I'll stick with what works, thanks
Reply With Quote
  #4  
Old 16 Aug 2008, 21:17
Opserty Opserty is offline
 
Join Date: Apr 2007
vB_Datastore
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 21:20.

Layout Options | Width: Wide Color: