
02-10-2010, 10:59 PM
|
 |
|
|
Join Date: Nov 2009
Location: Laramie, Wyoming
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Digital Jedi
I got this same error today. I'm no expert at SQL, but I know enough to know that it appears one of the plugins is trying to SELECT the id from a table name, without accounting for your table's prefix first. I was able to fix it this way.
Like I said, I'm no expert, so use at your own risk. But it makes sense to me. Maybe someone more versed in MySQL can verify.
In Plugins & Products >> Plugin Manager >> Product : Welcome Thread, edit the plugin that uses the register_activate_start hook. Add the code in red:
Code:
$useridnumber = $db->query_first("
SELECT userid
FROM " . TABLE_PREFIX . "useractivation
WHERE activationid = '" . $vbulletin->db->escape_string($vbulletin->GPC['i']) . "'
Be careful with the syntax. The syntax is important. Don't just assume that quote mark or period or what have you is unimportant. It needs to be there.
|
You can download the one from 4.0.1 it works for 3.8.4 i've installed it and no problems at all and has all the fixes to can get it here.
https://vborg.vbsupport.ru/showthread.php?t=229473
|