2006 - MySQL server has gone away

SELECT pd.*, p.*, IF(s.status, s.specials_new_products_price, NULL) AS specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) AS base_price, p.products_quantity AS in_stock, IF(s.status, 1, 0) AS is_special, IF(s.status, s.expires_date, NULL) AS special_expiration, IF(COALESCE(a.attribute_count, 0) > 0, 1, 0) AS has_attributes FROM products_description pd INNER JOIN products p ON pd.products_id = p.products_id LEFT JOIN specials s ON p.products_id = s.products_id LEFT JOIN (SELECT products_id, COUNT(*) AS attribute_count FROM products_attributes GROUP BY products_id) a ON p.products_id = a.products_id WHERE p.products_id = 17901 AND pd.language_id = 1 AND p.products_status = 1

[TEP STOP]

2006 - MySQL server has gone away

INSERT INTO sessions (sesskey, expiry, value) VALUES ('4864235f54be11f23a0805b6ce0b7a84', '1727825254', 'sessiontoken|s:32:\"0e1a1e459f59ea004192388b4e757ee5\";cart|O:12:\"shoppingCart\":5:{s:8:\"contents\";a:0:{}s:5:\"total\";i:0;s:6:\"weight\";i:0;s:6:\"cartID\";N;s:12:\"content_type\";b:0;}language|s:7:\"english\";languages_id|s:1:\"1\";currency|s:3:\"USD\";navigation|O:17:\"navigationHistory\":2:{s:4:\"path\";a:2:{i:0;a:3:{s:4:\"page\";s:16:\"product_info.php\";s:3:\"get\";a:2:{s:4:\"ceid\";s:32:\"4864235f54be11f23a0805b6ce0b7a84\";s:11:\"products_id\";s:5:\"13197\";}s:4:\"post\";a:0:{}}i:1;a:3:{s:4:\"page\";s:9:\"index.php\";s:3:\"get\";a:3:{s:5:\"cPath\";s:11:\"180_278_300\";s:4:\"ceid\";s:32:\"4864235f54be11f23a0805b6ce0b7a84\";s:4:\"page\";s:1:\"1\";}s:4:\"post\";a:0:{}}}s:8:\"snapshot\";a:3:{s:4:\"page\";s:37:\"ext/modules/content/reviews/write.php\";s:3:\"get\";a:2:{s:4:\"ceid\";s:32:\"4864235f54be11f23a0805b6ce0b7a84\";s:11:\"products_id\";s:5:\"11301\";}s:4:\"post\";a:0:{}}}') ON DUPLICATE KEY UPDATE expiry = VALUES(expiry), value = VALUES(value)

[TEP STOP]