Please make sure that directory /home/minding/public_html/affiliate/admin is not writeable for the web-server process. Do
chmod 755 /home/minding/public_html/affiliate/admin