View Single Post
  #2  
Old 12 Oct 2011, 15:19
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
It looks like a bug was introduced in VB 4.1.4 where they accidentally re-used the same variable for new query causing this database error.

This is a vBulletin bug, not a bug with this mod.

Currently affected versions are VB 4.1.4 - 4.1.7 and even though it's not out yet, 4.1.8 will probably have it too.

To fix the problem you will have to manually edit your file: online.php

Find the code (around line 277- may vary by version):


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

and delete the line $hook_query_fields so you make it:


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

And save and upload the fixed file. (Save a backup of the original of course.)

This will fix the database error on who's online.

I realize it is a pain to do a manual file edit so I added an option to simply disable the mod on "Who's Online" to avoid this bug.

Just to reiterate- VB versions below 4.1.4 are not affected by this bug.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.

Last edited by BirdOPrey5; 13 Oct 2011 at 12:51.
Reply With Quote