Two days ago I was at a festival which was raining, but managed to keep my iPhone fairly dry in a ziplock bag (it did open a couple of times). It randomly started flashing a message stating "Accessory is not compatible with iPhone", even though there was nothing attached. This eventually stopped, however I plugged my iPhone in to charge last night, and it would charge for about half a second, then not charge; it would repeat this process about 5 times and state "Charging is not supported with this accessory". I kept it plugged in overnight and managed to get 50% charge (from 5%). Also, there is a crack in the outer case of the iPhone about an inch long going vertical from the bottom dock connector, but it seems that the actual dock connector is intact. Why would this message be appearing, could it be a moisture build up or outer case issue? If so, how can I fix this? If not, what can I do to find out how to fix this?