obvious question maybe, have you checked the fuses? If the door was working before, have to snagged a wire by accident?
Have you still got the old door? Might be worth getting someone to hold the door while you reconnect it back up to see if that one still works, if so, you know then if the fault is with the 'new' door.
Hope that helps a little bit