You've gotten some great advice so far. I don't have much more to add, but maybe try looking for other indicators of your success, instead of just weight loss?
From what I understand, weight fluctuates throughout the day. For me, mine goes up/down about 5 lbs. depending on the time of day, etc. It's hard to know you're putting in a lot of effort, only to see a scale say that you don't weigh any less or, in some cases, weigh even more. You need to find something else to measure by.
I don't always manage to do it, but I try to base how I'm doing by how I'm feeling. If you've been eating right and exercising for the last few weeks, do you feel better? Stronger? Healthier? Are your workouts getting easier, or are you feeling less winded when you're done? Are you getting faster?
Those are just some basic ideas. But I really think if you find a different way to measure your success, you'd feel a lot better, or at least not feel like you're doing something 'wrong'.
Motivation is really hard to get, so don't lose yours. You're eating healthy and you're exercising consistently--those are such amazing things. You'll see results soon! Just don't get down on yourself and lose hope.