I have tried this and another module for shipping estimates and both are giving me an error i just can't luck out and get rid of when a customer is not logged in i get an error returned
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /catalog/includes/functions/database.php on line 103
but when the customer is logged in it does not display this error. I am using php5 and mysql 5 as well.
The code from this line is
function tep_db_num_rows($db_query) {
return mysql_num_rows($db_query);
What would be causing this error any help would be much appriciated. I am running one mod that i have uninstalled and retested that i thought might be causing the error and it wasn't the cause and that was the display prices to logged in customers only. This is mind frusterating to me as i have looked all over to try to find out what could be causing this and i can't seem to find anywere that i calling that particular line to cause the error to return only when a customer is not logged on.
Link to the site to see error