you should not eat anything within 2 hours of your training.
i like to train fasted, but if you insist on food then eat something light like eggs and fruit 2 hours prior
eating food before a workout that is heavy is why you get sick, your body is stressed and wants to evacuate