I got a solution, this happened to me before but I fixed it easily
1. Start with having the system in standby (redlight is on)
2. Hold the power button down; the system will turn on and turn off once again.
3. Press and hold the power button again and keep holding, it will beep as it turns on and then it will double beep. When you hear the double beeps immediately take your finger off the power button (if your system turns off before you get a double beep just try again and hold the button, it should double beep the 2nd time you try)
4. You will be prompted to plug in your controller via USB and then hit the PS button
You will now have a screen with these options
1. Restart System: Restarts the PLAYSTATION®3 System.
2. Restore Default Settings: Reset all system settings back to default.
CHOOSE THIS ONE 3.Restore File System: Checks for corrupt/missing system files.
4. Rebuild Database: Rebuilds the OS for the PLAYSTATION®3.
5. Restore PS3 System: Fresh restore; Deletes everything and starts from Scratch.
6. System Update: Update the PLAYSTATION®3 System
That should fix it
This happened to me and all I did was eject the disc that was in there and and fiddle around and when I say fiddle I mean start poking it but after I fixed it I was stupid enough to get it broken again when I started poking it my luck ran out and after I found out that the laser broke and had to replace it so don't listen to my first solution listen to this one.