Hi,
i have found the "problem" that is in the SmnLikQuick.php file in the AdminCp folder.
The author of the mod don't have used vBulletin's database class, for this i receive this errors, is not a database problem:
Code:
Warning: mysql_query() [function.mysql-query]: Access denied for user 'xxxx'@'localhost' (using password: NO) in [path]/admincp/mod.php on line 50
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/admincp/mod.php on line 50
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/admincp/mod.php on line 51
I have changed in the line 50 "mysql_query" with "$db->query":
Code:
$announcements = mysql_query("SELECT count(*) FROM `" . TABLE_PREFIX . "mod`");
Code:
$announcements = $db->query("SELECT count(*) FROM `" . TABLE_PREFIX . "mod`");
With this edit the first 2 errors are fixed, but there's again the last error on the line 51:
Code:
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in [path]/admincp/mod.php on line 51
How can i do for change this string in vb database class?Or the're's any other fix?