i know this might not be the most helpful but it might be a power supply issue because it powers on and then shuts off (Possible fried motherboard). also just for the record im not that technical with hardware so i could be telling you a stupid common error is a serious issue