Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 3 of 3

Thread: database error with who's online

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    4

    Default database error with who's online

    I am getting this when trying to use who's online feature in VB 4.1.4

    Code:
    Database error in vBulletin 4.1.4:
    
    Invalid SQL:
    
    	SELECT IF(userid > 0, 1, 0) as isuser, COUNT(session.userid) as online_users
    	, user.vbet_def_lang AS vbet_def_lang
    	FROM session as session
    	
    	WHERE session.lastactivity > 1310867974
    	
    	
    	
    	GROUP BY isuser;
    
    MySQL Error   : Unknown column 'user.vbet_def_lang' in 'field list'
    Error Number  : 1054
    Request Date  : Sunday, July 17th 2011 @ 08:29:34 AM
    Error Date    : Sunday, July 17th 2011 @ 08:29:34 AM
    Script        :*/online.php
    Referrer      : */forum.php
    IP Address    : 122.177.110.35
    Username      : Avinash
    Classname     : vB_Database
    MySQL Version : 5.0.92-community
    can anyone help?

  2. #2
    Junior Member
    Join Date
    May 2010
    Posts
    4

    Default

    Looks like I found the solution / workaround from a similar thread.
    vbenterprisetranslator.com/forum/vbet4-bug-reporting/1952-vbet-error-online-users-vb-4-1-4-a-2.html#post8985

    you may close the thread.

  3. #3
    MichaƂ Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Yes - we know it is open issue, but this is officially vBulletin bug. We are waiting they will solve it. Great you already found the thread about it. Closing this one

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •