My ps3 isn't staying on
Solution 1:
This is what people like to call the "Yellow Light Of Death" - similar to the PC's "Blue Screen of Death" or the Xbox's "Red Ring of Death". Basically, it means there is a hardware fault on your PS3's motherboard, causing it to fail to boot/operate properly, forcing an immediate power-down.
As the name suggests, the "YLoD" is usually accompanied by a flashing Yellow Light. If you don't see one, unplug the power cable for a short time (at least 30 seconds), plug it back in, and try again.
Alternatively, repairs are possible, but if you don't know what you're doing, this can lead to more problems than solutions.