This question already has an answer here:
A client came to me with some features he wanted implementing. Easy enough to do what he asked. He paid me, I agreed to start on the start date and finish in 3 weeks.
The code base is a disaster. It was coded by Indian freelancers, who have no apparent knowledge of the language. Admittedly, the client said the developers were just copying and pasting code around the web.
There's over 700 files for a relatively simple site. It's the worst code I've ever worked with. No documentation to go by, just lots of files that I have to manually go through.
Before I can even implement a feature I have to clean up parts of the code, simply because it's not possible to work with what they have done.
I've tried to explain to the client that this isn't "as simple as it should be". I am having to refactor and implement features. I'm severely stressed, the deadline is impossible to meet.
The client is constantly on Skype, asking "are we done yet". I try to explain the problems but he don't understand a thing. I offered to redo his site, no additional charge, because the work I'm putting in now is more work than it would be to redo the site. He refused.
I'm at the point where I'm ready to cut my losses, because the money he paid and the stress involved with dealing with this client isn't worth it. It's affecting personal life. My relationship. I have no personal life, because I'm rushing, aimlessly, to meet this deadline, which isn't going to be met.
Any advice please?