the 'flame failure device' (usually thermocouple) may be faulty. if so then main gas supply to oven will be permanently shut off.
full gas flow is only allowed when thermocouple current energises small solenoid inside gas valve. otherwise just very low gas flow to let burner run at minimum possible level.
typically F.F.D. is sold as thermocouple and valve together for £25.
the doctor, June 2008