• I’ve recently just installed WordPress at https://www.foxalive.com/Blog following the 5-minute install instructions provided.

    When I try to login, however, I get this error at the top of the page:

    Warning: Cannot modify header information – headers already sent by (output started at /home5/foxalive/public_html/Blog/wp-config.php:1) in /home5/foxalive/public_html/Blog/wp-login.php on line 267

    Warning: Cannot modify header information – headers already sent by (output started at /home5/foxalive/public_html/Blog/wp-config.php:1) in /home5/foxalive/public_html/Blog/wp-login.php on line 279

    <?php
    // ** MySQL settings ** //
    define('DB_NAME', 'foxalive_Blog');    // The name of the database
    define('DB_USER', 'foxalive_Flat');     // Your MySQL username
    define('DB_PASSWORD', '****'); // ...and password
    define('DB_HOST', 'localhost');    // 99% chance you won't need to change this value
    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');
    
    // Change each KEY to a different unique phrase.  You won't have to remember the phrases later,
    // so make them long and complicated.  You can visit https://api.www.ads-software.com/secret-key/1.1/
    // to get keys generated for you, or just make something up.  Each key should have a different phrase.
    define('AUTH_KEY', '?xZM*k-Ph!=2B6x6MAQj4oDdN\"8ds:CS;&fNtwM>Kk%cP6;CHBl,cA?Vq0R@Dz~'); // Change this to a unique phrase.
    define('SECURE_AUTH_KEY', 'l.L_,/2C7\'\';asp8:E|~ZUD,s7cQdYzX\\c{5w:LKE<riX\\!S3Kz[oAQSIb{a3m!U'); // Change this to a unique phrase.
    define('LOGGED_IN_KEY', 'bJK\'MU<code></code>r[Oml.48B/q^o&d4cwJrg\\h;IxH^D,$t8y,<x=FU|1;=\"lW{4V.h-A'); // Change this to a unique phrase.
    
    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix  = 'wp_';   // Only numbers, letters, and underscores please!
    
    // Change this to localize WordPress.  A corresponding MO file for the
    // chosen language must be installed to wp-content/languages.
    // For example, install de.mo to wp-content/languages and set WPLANG to 'de'
    // to enable German language support.
    define ('WPLANG', '');
    
    /* That's all, stop editing! Happy blogging. */
    
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');
    require_once(ABSPATH . 'wp-settings.php');
    ?>

    I’ve been looking around and the problems usually arise with either a space/break line, or after a file has been editted, but I’ve not done anything except change the wp-config.php (above).

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Logging in “Cannot modify header information” error’ is closed to new replies.