vb Link Checker problem

usawarez

New Member
downloaded and install the mod from
http://www.vbteam.info/vb-3-7-x-add...s/13293-vb-linkchecker-bot-version-1-1-a.html

installed everything correctly (im assuming anyways:p) tried to set up a cron within vb. i clicked run now and i get this error


Code:
Fatal error: Call to a member function query_first_slave() on a non-object in /home/*/domains/*.com/public_html/global.php on line 247


code from line 247:
	$style = $db->query_first_slave("
		SELECT *
		FROM " . TABLE_PREFIX . "style
		WHERE (styleid = $styleid" . iif(!($vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']) AND !$userselect, ' AND userselect = 1') . ")
			OR styleid = " . $vbulletin->options['styleid'] . "
		ORDER BY styleid " . iif($styleid > $vbulletin->options['styleid'], 'DESC', 'ASC') . "
		LIMIT 1
	");
}
define('STYLEID', $style['styleid']);
 

pandusetiawan

New Member
If you look below that error message, you'll see that the real error is "MySQL server has gone away".
Im my case, i've found that the error happened because the PM function. So i turn off the PM options for the mod,&it runs smoothly.
 
Top