I think p07h34d is on the right track. If you dislodged the power cable it might be connected enough to allow a current but not enough to empower the machine. Then I would check all other connections and make sure the "power switch" on the back of most PSU's is not switched off.
Seems unlikely to me that static is the problem. RAM is sensitive but most components are not that sensitive.