DB Query Error
select m.modelgroup, m.seperator, m.model, count(m.model) as product_count from 3ppp3_products_models m, 3ppp3_products p, fotocharlyat_products sp, 3ppp3_products_groups pg where sp.country = 3 AND p.id = sp.id and p.id=pg.product and p.id=m.product and pg.`group`=1 and m.oem='HP' group by m.modelgroup, m.seperator, m.model
MySQL server has gone away
array(1) {
  [0]=>
  array(7) {
    ["file"]=>
    string(48) "/var/www/clients/client34/web111/web/handler.php"
    ["line"]=>
    int(955)
    ["function"]=>
    string(8) "DB_query"
    ["class"]=>
    string(2) "DB"
    ["object"]=>
    object(DB)#2 (1) {
      ["db_handle"]=>
      resource(2) of type (mysql link)
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(1) {
      [0]=>
      &string(327) "select m.modelgroup, m.seperator, m.model, count(m.model) as product_count from 3ppp3_products_models m, 3ppp3_products p, fotocharlyat_products sp, 3ppp3_products_groups pg where  sp.country = 3 AND p.id = sp.id and p.id=pg.product and p.id=m.product and pg.`group`=1 and m.oem='HP' group by m.modelgroup, m.seperator, m.model"
    }
  }
}