SACRAMENTO — Illegal activities contributed to a Yolo County fireworks explosion last year that killed seven people, state fire authorities said this week.