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 checked the config.php file and it had leading spaces in the file. i opened in notepad and removed the spaces and saved as an ANSI file.
i also installed wincache 1.3.
The new environment is working great with no errors and extemely fast. mark