check the connections to your wiring harness, and your amp, and your box.
test them if you have a tester, make sure the connections are complete everywhere, and strong.
if everything checks out.... then you may want to take a look at your fuses, or you alternator, not sure. but that's a good...