Sensor floods are notoriously unreliable unless you buy a more expensive one.
Also if its a Halogen one I have had plenty were it WAS only the bulb but the new one hasnt been put in properly.
If so its usually that only one end is actually sitting on the contact...the other is on the insulation.
Regards
Steve
April 2008