Currently Being ModeratedDec 7, 2012 11:52 AM (in response to Lawrence Rowe)
Both of these problems can be caused by short circuit of iPhone charging port. Clean charging port with a clean dry toothbrush. See if fixed. If not and there is Warranty or AppleCare, make Genius reservation and take to Apple for resolution. If no coverage, clean port again with toothbrush and small amount of Isopropyl Alcohol.