Probably not an overheating problem, they tend to take at least a few minutes to manifest. All modern computers have some prety good protection against overheating and overheating damage is mostly a thing of the past. They start by underclocking, then shut down if underclocking is not enough.
The operating system need to load before it can go to sleep. As the operating system don't seems to have the time to load, it can't be the case.
Same thing for the hybernate state.
You have a far more serious problem than that:
NO RAM.
NO CPU. In both those cases, the system detect that it's not complete and automaticaly shut down to prevent any damage to other components. Install some RAM or a compatible CPU if they are missing.
You need to open the case. Remove the battery and disconnect the charger before you open the case.
Broken or defective motherboard. You need to replace the motherboard. It may be cheaper to get a new computer.
Bad BIOS, like a BIOS update that was interupted or performed for the wrong model.
This is a fatal, terminal, irreparable, problem. A bad or corrupted BIOS totaly prevent the computer from starting, and you need to start it to repair the problem. The solution is the same as for the motherboard problem: Get a new motherboard or computer.
Electro, February 2013