Either the electronics are not recognising that the pilot flame is alight - or the main gas valve is not opening for some reason - the electronics or the valve itself.
If the flame sensor is incorrectly positioned it might not be getting hot enough to trigger the next stage.
I am not qualified to offer this opinion.
Good Luck..., March 2016