Warning: mysqli_query(): MySQL server has gone away in /home/wa018391/public_html/shop/includes/functions/database.php on line 47

Warning: mysqli_query(): Error reading result set's header in /home/wa018391/public_html/shop/includes/functions/database.php on line 47
array(5) { [0]=> array(4) { ["file"]=> string(63) "/home/wa018391/public_html/shop/includes/functions/database.php" ["line"]=> int(48) ["function"]=> string(12) "tep_db_error" ["args"]=> array(3) { [0]=> &string(209) "select b.banners_id, b.expires_date, b.expires_impressions, sum(bh.banners_shown) as banners_shown from banners b, banners_history bh where b.status = '1' and b.banners_id = bh.banners_id group by b.banners_id" [1]=> &int(2006) [2]=> &string(26) "MySQL server has gone away" } } [1]=> array(4) { ["file"]=> string(61) "/home/wa018391/public_html/shop/includes/functions/banner.php" ["line"]=> int(41) ["function"]=> string(12) "tep_db_query" ["args"]=> array(1) { [0]=> &string(209) "select b.banners_id, b.expires_date, b.expires_impressions, sum(bh.banners_shown) as banners_shown from banners b, banners_history bh where b.status = '1' and b.banners_id = bh.banners_id group by b.banners_id" } } [2]=> array(4) { ["file"]=> string(60) "/home/wa018391/public_html/shop/includes/application_top.php" ["line"]=> int(621) ["function"]=> string(18) "tep_expire_banners" ["args"]=> array(0) { } } [3]=> array(4) { ["file"]=> string(67) "/home/wa018391/public_html/shop/mobile/includes/application_top.php" ["line"]=> int(3) ["args"]=> array(1) { [0]=> string(60) "/home/wa018391/public_html/shop/includes/application_top.php" } ["function"]=> string(7) "require" } [4]=> array(4) { ["file"]=> string(53) "/home/wa018391/public_html/shop/mobile/catalog_mb.php" ["line"]=> int(2) ["args"]=> array(1) { [0]=> string(67) "/home/wa018391/public_html/shop/mobile/includes/application_top.php" } ["function"]=> string(12) "require_once" } } 2006 - MySQL server has gone away

select b.banners_id, b.expires_date, b.expires_impressions, sum(bh.banners_shown) as banners_shown from banners b, banners_history bh where b.status = '1' and b.banners_id = bh.banners_id group by b.banners_id

[TEP STOP]