Ok, not knowing enough about mysql and the database errors that I have been getting, and took a look at the code in the admincp SmnLikQuick
Now I'm using mysql version 5 and on lines 50 and 51 reads as follows
$announcements = mysql_query("SELECT count(*) FROM `" . TABLE_PREFIX . "smnlikquick`");
$announcement = (mysql_result($announcements, 0, 0));
Should mysql be changed to "mysqli"? If I change this, I don't get a cannot access database message but now I get the following.
Warning: mysqli_query() expects at least 2 parameters, 1 given in [path]/admincp/smnlikquick.php on line 50
Fatal error: Call to undefined function mysqli_result() in /home/xxxxxxxx/www/www/forums/admincp/smnlikquick.php on line 51
Notice how these errors are not there now.....Below
Warning: mysql_query() [function.mysql-query]: Access denied for user: 'torontod@localhost' (Using password: NO) in [path]/admincp/smnlikquick.php on line 50
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in [path]/admincp/smnlikquick.php on line 50
Just my 2 cents worth here from a rookie, but am I going to the right direction here?
|