osCommerce 2.3.3.3 has been released, with changes to the MySQL layer. If you are getting messages like:
PHP Warning: mysql_num_rows() expects parameter 1 to be resource, object given in ...
or
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource
then simply change the call “mysql_num_rows” to “tep_db_num_rows” in the following places:
recover_cart_sales.php
recover_wishlist.php
So the old code looked like this:
Code:
$this->_check = mysql_num_rows($check_query);
the new code will look like this:
Code:
$this->_check = tep_db_num_rows($check_query);
Laatst bewerkt 10 jaren 2 maanden geleden doorSimpel.