Problem with led power source
Most likely, the voltage is too high, and the 39 ohm resistor isn't high enough to limit the current.  Have you managed to wire the transformer to give 24V, when you thought you were going to get 12V?