MySQL server has gone away
In query SELECT p.id AS pid FROM shop_products p INNER JOIN shop_page_products pp ON p.id=pp.prid WHERE p.bukle='matoma' AND pp.pid='19' AND p.nuo<=CURDATE() AND p.iki>=CURDATE();