Warning: Cannot modify header information - headers already sent by
There is an output in your settings.php file. Maybe a whitespace before &lt;?php, maybe you closed PHP tag at the end of your file, can't know without seeing it. Inspect your file carefully.

Be sure to transfer your files in binary mode, and disable all automated conversions your FTP software may offer. Save files as utf8 without BOM, Linux line endings. That's the safest way. If your editor can't do that, use another.

As Daniel Tome correctly pointed out, it may be case of warning turned off on your localhost, not a transfer issue. But the things you need to check are the same either way.