Oven & broiler won't light

The oven & broiler will not light. The burners will. When you try to light it, it clicks 2 times, then nothing. We bought a latch door piece, but did not do the trick. The error code is F5.