NextGEN Gallery by Photocrati won't allow images to be uploaded when domain mapping is active

NextGEN Gallery by Photocrati doesn’t work when domain mapping is enabled. I can’t create new galleries and upload images. I get 0 images uploaded. If I disable domain mapping, it works. Please help.