probably your wiring has had a meltdown
how had you connected everything to the RPi
show all the links i.e.
I had a power button also customized to turn off the RPI
it's not the foundations problem it's something you have done what make of RPi ?>