Most likely you are flashing different size partitions. Is it stock?
If so, please download pit file for your model, flash with pit file and repartition marked, do not reboot phone, go to recovery, wipe phone and reflash again, this time without pit file and without repartition marked. Shall do the job.
Final tip: NEVER ignore Odin errors messages.