Without seeing the code, I am guessing that in your configuration, you failed to change /localhost/ to your url or absolute path. Some parts of the configurationwill probably ask you for the absolute path; others the url. Change them accordingly. Root is usually home/username/domain ; URL is http://www.yourdomain.com
Remember that in the root, it goes like this: home/zentao/zentao.com with no www. , then after that, list the rest of the absolute path, no trailing forward slash.
Hope that helps. I'm only guessing here because I don't know the application, and can't see the config files, doc notes, and error log.
Maybe someone with more knowledge about this will post soon, too.
zentao web design, graphic art and design at www.zentao.com
zentao7, Gallery of Artists and Speculative Novel Writers Groups