the problem will most certanly be that the flame is not touching the electrode that senses the flame once the oven is turned on,normally caused by spillages or grease build up.
It may well be that the jets on the burner are blocked and may need cleaning which will require a corgi engineer visit.