You have connected live and neutral across the switch creating a dead short assuming that doesn't link to another light. The two reds need to be kept totally separate with one of the blacks being a live switch return. No way of knowing from afar which black is this switch live return, the bare earths also need sleeving. Simple job for an electrician.
Not sure why the blue is an earth.
I assume that isn't the original connector block because it looks like it should be fixed to the back plate. What on earth did you make those holes in the plate with.