( ! ) 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.0000236952{main}( ).../index.php:0
20.0851340592Com_galleries->main( ).../index.php:69
30.0852341144Com_galleries->list_items( ).../com_galleries.php:35
40.0852341560Com_galleries->list_categories( ).../com_galleries.php:46
50.0853348848Database->get_array( ).../com_galleries.php:79
60.0860365608mysql_num_rows ( ).../Database.php:190
Cha Cha and FriendsGalleries

Galleries

  • Tried to execute Sql:  "select c.itemid,c.name,count(ci.itemid) as mycount from categories as c,categoriesitems as ci, galleries as g where c.itemid = ci.categoryid and ci.parent = 2 and g.itemid = ci.itemid and g.draft = 0 and g.private = 0 and g.publishDate <= '18-06-20 2:23:04' group by c.itemid,c.name order by orderby;"     (Error:No database selected)
  • Tried to execute Sql:  "select name,description,publishdate,itemid,thumb from galleries where draft = 0 and private = 0 and publishDate <= '18-06-20 2:23:04' order by publishdate desc"     (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)