Quote:
Originally Posted by Zahl
When installing I get:
|
You are not alone.
There is really a bug in code.
Code:
Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: NO) in [path]/admincp/plugin.php(1995) : eval()'d code on line 13
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/admincp/plugin.php(1995) : eval()'d code on line 13
The fix for this one is
- Open file:
Cyb_AFStats.xml
- Find line:
PHP Code:
if (mysql_query("SELECT post_thanks_thanked_times FROM " . TABLE_PREFIX . "user LIMIT 0") AND !$cyb_ind_b)
- Replace with line:
PHP Code:
if ($vbulletin->db->query_first("SELECT post_thanks_thanked_times FROM " . TABLE_PREFIX . "user LIMIT 0") AND !$cyb_ind_b)
- After that you can re-install the product.