not a valid MySQL-Link resource
This doesnt seem to be a new problem. I've just uploaded a site to my hosting server, which is working properly on my local WAMP server. Im getting the following errors when trying to login users:
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in .../WA_SecurityAssist/Helper_PHP.php on line 14
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in .../WA_SecurityAssist/Helper_PHP.php on line 20
This corresponds to the following code:
line 14: mysql_select_db($WA_Auth_Parameter["database"], $WA_Auth_Parameter["connection"]);
line 20: $WA_Auth_RS = mysql_query($WA_Auth_loginSQL, $WA_Auth_Parameter["connection"]) or die(mysql_error());
Following another SA forum thread i read i removed the 1st argument in line 14 and the 2nd argument in line 20. This removed the warning errors, but left me with a "no database selected" error.
Please, any help would be so appreciated!