Hi Daz,
If it worked originally it will more than likely be a loose connection where you have pushed it in and it was quite tight. Could have popped something out so I would check this first.
If it was the earth that wasn't connected it wouldn't have turned on at all.