Help with rigging

Automatic weights are applied perfectly, the mesh is deformed. But if you manually change it in Weight Paint, the model becomes purple.

Hi, you not given any information except the very long header?
The header space have limited amount of words use the section below to place your question.