2006 MySQL server has gone away
in:
[select specials_id, products_id from specials where status = '1' and ( (specials_date_available!='0001-01-01' and CURDATE()expires_date) )]