Re: config.php
The error “Warning: Cannot modify header information – headers already sent by” is generally caused by white space before the <?php or after the ?> in a file you edited. Check for that and I think you will find your problem.
Thanks Sam for submitting that patch