Transferred host and can no longer log in
I am working on a site that someone else has done. It was just recently moved to godaddy and now when I attempt to login, I get the following:
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/content/97/8368397/html/includes/login/Helper_PHP.php on line 16
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/content/97/8368397/html/includes/login/Helper_PHP.php on line 22
Table 'astrec.your_tablename' doesn't exist
When I go to Helper_PHP.php, here are lines 11-24:
$WA_Auth_Separator = "|§|";
function WA_AuthenticateUser($WA_Auth_Parameter){
$UserAuthenticated = false;
mysql_select_db($WA_Auth_Parameter["database"], $WA_Auth_Parameter["connection"]); -------------(LINE 16)
$WA_Auth_loginSQL = "SELECT `".implode('`,`', $WA_Auth_Parameter["sessionColumns"])."` FROM `".$WA_Auth_Parameter["tableName"]."` WHERE ";
for($idx=0;$idx<count($WA_Auth_Parameter["columns"]);$idx++){
$WA_Auth_loginSQL = sprintf($WA_Auth_loginSQL.(($idx!=0)?" AND ":" ")."`%s`=%s ", $WA_Auth_Parameter["columns"][$idx], WA_GetSQLValueString($WA_Auth_Parameter["columnValues"][$idx], $WA_Auth_Parameter["columnTypes"][$idx]));
}
$WA_Auth_RS = mysql_query($WA_Auth_loginSQL, $WA_Auth_Parameter["connection"]) or die(mysql_error()); -------------(LINE 22)
$WA_Auth_Rows = mysql_num_rows($WA_Auth_RS);
I'm a newbie, any suggestions?? Thanks.