I ran into an error installing the
3.6.x zipped fix, here was my workaround, incase others have this problem.
The symptom was that the Importing Product task bar would keep growing and not stop. The error log had the following entry:
PHP Fatal error: Cannot use object of type mysqli_result as array in /var/www/html/vBulletin/admincp/plugin.php(1941) : eval()'d code on line 35, referer:
https://xxxxxx/admincp/plugin.php?do=productadd
To fix this error, I modified product-rulesagreement.xml and removed the if statement in the install code, by changing the code from
PHP Code:
$xx = $db->query("select * from " . TABLE_PREFIX . "user");
if ($xx[agreedrule]=='')
{
$db->query("ALTER TABLE " . TABLE_PREFIX . "user ADD agreedrule TEXT NOT NULL ");
}
$db->query("DELETE FROM " . TABLE_PREFIX . "cron WHERE filename like '%cron/cron_ruleshack.php'");
to
PHP Code:
$xx = $db->query("select * from " . TABLE_PREFIX . "user");
$db->query("ALTER TABLE " . TABLE_PREFIX . "user ADD agreedrule TEXT NOT NULL ");
$db->query("DELETE FROM " . TABLE_PREFIX . "cron WHERE filename like '%cron/cron_ruleshack.php'");
This is a manual workaround, so make sure the agreedrule column does not exist (select agreedrule from vb_users) before making this change.