Sounds like the battery doesnt have the voltage or amps to run everything...have it tested.
*Edit* Missed the part where you unhooked and it was fine....your battery terminals may have been loose.