This issue happened with a friend who was trying to upload extensions. You should find that the configuration file is unwriteable (and that you can't change it using the joomla interface).
In the end to resolve this, he had to do a fresh install and double-checked the server settings for a subdomain.