vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Database error help plz (https://vborg.vbsupport.ru/showthread.php?t=270534)

SPEEDKILLZ 09-18-2011 11:15 PM

Database error help plz
 
I get this when i click the whos online (12users) link


Database error in vBulletin 4.1.5:

Invalid SQL:

SELECT IF(userid > 0, 1, 0) as isuser, COUNT(session.userid) as online_users
, user.market_username_color,
user.market_username_glow, market_username_subscript
FROM session as session

WHERE session.lastactivity > 1316390092



GROUP BY isuser;

MySQL Error : Unknown column 'user.market_username_color' in 'field list'
Error Number : 1054
Request Date : Monday, September 19th 2011 @ 04:09:52 AM
Error Date : Monday, September 19th 2011 @ 04:09:52 AM
Script : http://www.yourdomain.com/online.php
Referrer : http://www.yourdomain.com/forum.php
IP Address : xx.xx.xx.xxx
Username : xxxxx
Classname : vB_Database
MySQL Version : xxxxx

HMBeaty 09-18-2011 11:22 PM

That error is from a modification. Possibly the vBBux/VBPlaza mod? or some type of market modification....

SPEEDKILLZ 09-18-2011 11:28 PM

I have ucash? what should i do?

But when i disable it and reload there is still an error

HMBeaty 09-18-2011 11:33 PM

Disable it and ask/search in the modifications thread for a fix

SPEEDKILLZ 09-18-2011 11:34 PM

ok it is the point market thanks

wheretobet 09-27-2011 09:31 AM

Quote:

Originally Posted by SPEEDKILLZ (Post 2247676)
I get this when i click the whos online (12users) link


Database error in vBulletin 4.1.5:

Invalid SQL:

SELECT IF(userid > 0, 1, 0) as isuser, COUNT(session.userid) as online_users
, user.market_username_color,
user.market_username_glow, market_username_subscript
FROM session as session

WHERE session.lastactivity > 1316390092



GROUP BY isuser;

this bug is caused by Point Market. You can disable the plugin OR you can comment/delete the hook causing the error in the online.php


open online.php

at line 280 remove this line of code


$hook_query_fields

thats it!

and boom goes the dynamite


All times are GMT. The time now is 09:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01022 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete