Full stomach + Lifting with big intensity = Good chance of honking
I personally like to train on a very empty stomach. Maximizes fat loss and that way, if you do end up throwing up, its just water.
If fat loss is not an issue (you are bulking, or have a fast metabolism) then a protein/carb shake 30-45 minutes before a workout is ok.