Mauno Korpelainen posted:
Usually the problem is in config.php ... for example : - there should be no last php end tags ( ?> ) in any php files of moodle 2.X and particularly not in config.php - config.php may be in a wrong file format, it should be saved as an ANSI file, not UTF-8 or UTF-8 with BOM ... some text editors may change the format when you edit and save config.php - config.php may have whitespaces or some extra code before the first php tags - you may need to purge all caches either from administration menu of moodle or from moodledata/cache folder
i compared you installation and mine and the only common factor is moodle itself. ( i have iis and ms sql)
i opened the config.php file and it had leading spaces. i cleaned up the file and saved it back as an ANSI file.
this fixed the problem. let me know what you find. mark