Quote:
Originally Posted by SnowBot
hhhm I keep getting this db error
|
try this:
open File: includes/functions_showthread.php
find:
PHP Code:
$refcount = $DB_site->query_first("SELECT
COUNT(*) AS count FROM " . TABLE_PREFIX . "user WHERE referrerid =
$post[userid]");
$referrals = vb_number_format($refcount['count']);
Replace it with:
PHP Code:
$refcount = @$DB_site->query_first("SELECT
COUNT(*) AS count FROM " . TABLE_PREFIX . "user AS user WHERE user.referrerid =
$post[userid]");
$referrals = @vb_number_format($refcount['count']);