The stain could be a knot in the wood and the resin is seeping into the surrounding paint.
Unless the skirting and door was bare wood be reassured there was no need to use a primer. Undercoat is sufficient. If the door is patchy it's probably that there was quite a drastic change of colour...