i hope someone can help me.
If i use my script, i get this error:
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in
..../includes/cron/sourcebans/sourcebans.php on line 171
Here is the Code from this line:
// ########################################################################
// ######################### START MAIN SCRIPT ############################
// ########################################################################
$res = $vbulletin->db->query_read("SELECT `username`, `user`.`userid` as userid,
`usergroupid`, `membergroupids`, `email`, `".$steamid_custom_field."` FROM ".
TABLE_PREFIX ."user LEFT JOIN `". TABLE_PREFIX ."userfield` ON
user`.`userid`=`userfield`.`userid`");
while($row = mysql_fetch_assoc($res))
{
I don´t know, what the problem and i hope someone can help me to resolve it.
Thanks.
EDIT:
I don´t know, what to do... here is the full code: http://pastebin.com/PzQcd8Yt