I'm having a hard time figuring out what exactly is going wrong. Let's just work on one thing at a time. The first issue you mention is:
"During this phase the software could not save the login.php page."
What do you mean it could not save the page? Did you get an error? Please describe in detail what exactly you did to get to this problem and what errors or issues you see. Maybe attach a copy of that page and I can take a look at the code on it.