That error, SoftException in Application.cpp:303: UID of script … is smaller than min_uid is because the files are owned by the wrong owner, normally root, and UID (user IDs) less min_uid
are not allowed (and root is typically 0). I’m not sure how that happened on HostGator, or what tools you have to remedy it, but you need to make sure the files are owned by your user and your group and I think you will see this error go away.
If you have shell access on your dedicated server, you can easily change the owner and group (chown
and chgrp
commands). If you don’t have shell access, you should be able to change the ownership of the files with an FTP client. HostGator should be able to help you with this as well.