error:-Cannot modify header information - headers already sent by

whewn ever i try to login http://affiliatesurge.com.au/wp-admin/

i got "" Warning: Cannot modify header information - headers already sent by (output started at /home/affiliat/public_html/wp-config.php:1) in /home/affiliat/public_html/wp-includes/pluggable.php on line 881 ""

Error ... i already try removing spacing in wp-config and functions.php

Topic wp-config Wordpress

Category Web


Add this code in your WordPress' wp-config.php on the first line:

ob_start();
error_reporting(0);

You saved your wp-config.php with a Byte order mark (BOM). Save the file again without the BOM.

In Linux or Mac OS X open the file with Vim, enter …

:set nobomb

… and save it.

In Windows open it in Notepad++ and convert it to UTF-8 without BOM:

enter image description here

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.