( ! ) 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.0000236568{main}( ).../index.php:0
20.0011340184Com_galleries->main( ).../index.php:69
30.0011340736Com_galleries->list_items( ).../com_galleries.php:35
40.0011341152Com_galleries->list_categories( ).../com_galleries.php:46
50.0012348440Database->get_array( ).../com_galleries.php:79
60.0019365208mysql_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-05-26 14:22:34' 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-05-26 14:22:34' 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)