Most likely this has something to do with improper parameter settin gin config.php. Check that the variables such as site_path etc. are set correctly (look for extra spaces, missing slashes, etc.).
There are many posts in these forums on this - such as these. You could have probably found a...