tappan gas wall oven

I have a Tappan gas wall oven. I can set the temp and it will come on and act like it is going to heat up but in a few seconds it turns off. We have put on a new ignitor but it did not help. what is the problem?