see what you need to do is go down to the beach and get yourself some sand.
pour some of this sand into the fan at the back of the ps3 and pour some more into the disc slot
take a little more of the sand and rub it on your wireless controller
now stick the ac adapter back into the ps3 and turn the power on
while it is powering up, stand on your head for 7 seconds while singing a christmas carol (this part is just a joke

)
your ps3 should now work as usual with no problems
hope this helps
IMPORTANT NOTICE
a disagreeable and ill-mannered member of this forum recently posted a video suggesting you can repair a games console by submering it in a mixture of water and vinegar. DO NOT FOLLOW HIS INSTRUCTION. you put your life at risk as you may receive a very serious electric shock and you will also smell like vinegar.