Error in createzipfile.php, gallery_id was