( ! ) Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/chacha/web/chachaandfriends.com/public_html/library/Database.php on line 190
Call Stack
#TimeMemoryFunctionLocation
10.0000236992{main}( ).../index.php:0
20.0021502912Com_products->main( ).../index.php:69
30.0021503560Com_products->list_categories( ).../com_products.php:47
40.0021504072Com_products->bread_crumbs( ).../com_products.php:324
50.0021504544path_to_level_zero( ).../com_products.php:58
60.0025519312Database::get_array( ).../datasources.php:239
70.0028527608mysql_num_rows ( ).../Database.php:190

( ! ) Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/chacha/web/chachaandfriends.com/public_html/library/Database.php on line 190
Call Stack
#TimeMemoryFunctionLocation
10.0000236992{main}( ).../index.php:0
20.0021502912Com_products->main( ).../index.php:69
30.0021503560Com_products->list_categories( ).../com_products.php:47
40.0032550872Database->get_array( ).../com_products.php:335
50.0034552496mysql_num_rows ( ).../Database.php:190
Cha Cha and Friends The Books

The Books

No items exist for this category

  • Tried to execute Sql:  "select parent,name,itemid from categories where itemid = 96;"     (Error:No database selected)
  • Tried to execute Sql:  "select c1.name,c1.itemid,c1.d1,c1.description,count(c2.itemid) as categorycount,count(ci.itemid) as productcount from categories as c1 LEFT JOIN categories as c2 on c1.itemid = c2.parent LEFT JOIN categoriesitems as ci on (c1.itemid = ci.categoryid and ci.parent=4 and ci.itemid in (select itemid from products where publishDate <= '18-05-26 14:19:31' and draft = 0 )) where c1.parent = 96 group by c1.name,c1.itemid,c1.d1,c1.description,c1.orderby order by c1.orderby;"     (Error:No database selected)
  • Tried to execute Sql:  "select p.itemid,p.name,p.d1,p.shortdescription,min(po.price1) as price1,min(po.onsale) as onsale,sum(po.stock) as stock from products as p LEFT JOIN productoptions as po on (p.itemid = po.parent) where draft = 0 and p.itemid in (select itemid from categoriesitems where categoryid = 96) and publishDate <= '18-05-26 14:19:31' GROUP BY p.itemid,p.name,p.d1,p.shortdescription order by p.orderby"     (Error:No database selected)
  • Tried to execute Sql:  "select itemid,name from categories where parent = 4 order by orderby;"     (Error:No database selected)
  • Tried to execute Sql:  "select itemid,name from categories where parent = 4 order by orderby;"     (Error:No database selected)