PHP Warning: mysql_num_rows() expects parameter 1

Mehr
10 Jahre 2 Monate her - 10 Jahre 2 Monate her #557 von Simpel
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);
Letzte Änderung: 10 Jahre 2 Monate her von Simpel.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Events Joomla
MarvikShop
Finnaly it's here:
 
No bridges, no look a likes!
This is the ultimate integration
between Oscommerce and Joomla!
Documentation
Site Showcase
Follow us