cart works locally not at remote server
Finally after much trial and error the store works perfectly on local MAMP server, but files put on remote server I get this error message:
Notice: Undefined variable: database_connNewProRes in /home2/charles4/public_html/store.php on line 43
Notice: Undefined variable: connNewProRes in /home2/charles4/public_html/store.php on line 43
Warning: mysql_select_db() expects parameter 2 to be resource, null given in /home2/charles4/public_html/store.php on line 43
Notice: Undefined variable: connNewProRes in /home2/charles4/public_html/store.php on line 45
Warning: mysql_query() expects parameter 2 to be resource, null given in /home2/charles4/public_html/store.php on line 45
In the store.php file lines 43 and 45 are:
43 - mysql_select_db($database_connNewProRes, $connNewProRes);
44 - $query_rsItems = "SELECT * FROM items WHERE ItemCatID = 1 ORDER BY ItemID ASC";
45 - $rsItems = mysql_query($query_rsItems, $connNewProRes) or die(mysql_error());
What does "mysql_query() expects parameter 2 to be resource, null given" mean??
I used the same files when this worked remotely before (with UPS shipping) the only thing different is the changeover to USPS shipping (which I would think has nothing to do with this issue so early in the process).
I'm also using the same database that I used before...