• Resolved waxrecordingstudio

    (@waxrecordingstudio)


    Just got this message from the error log:

    [10-May-2010 14:30:35] PHP Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wordpress/wp-config.php:67) in /var/www/html/wordpress/wp-includes/classes.php on line 1586

    anyone know how I might go about rectifying this problem?

    Sincere Thank you in advance !

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter waxrecordingstudio

    (@waxrecordingstudio)

    also this message:

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wordpress/wp-config.php:67) in /var/www/html/wordpress/wp-includes/functions.php on line 790

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wordpress/wp-config.php:67) in /var/www/html/wordpress/wp-includes/functions.php on line 791

    There could be spaces/new lines in your config file before the opening or closing PHP tags.

    https://codex.www.ads-software.com/Answers-Troubleshooting#Headers_already_sent

    Thread Starter waxrecordingstudio

    (@waxrecordingstudio)

    wow OK THANKS!

    Thread Starter waxrecordingstudio

    (@waxrecordingstudio)

    <?php
    // Enable the WordPress Object Cache:
    define(‘WP_CACHE’, true); //Added by WP-Cache Manager
    define(ENABLE_CACHE, true);
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘wordpress’); // The name of the database

    define(‘DB_USER’, ‘xxxxxx’); // Your MySQL username

    define(‘DB_PASSWORD’, ‘xxxxx’); // …and password

    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    define(‘DB_CHARSET’, ‘utf8’);

    define(‘DB_COLLATE’, ”);

    // Change SECRET_KEY to a unique phrase. You won’t have to remember it later,

    // so make it long and complicated. You can visit https://api.www.ads-software.com/secret-key/1.0/

    // to get a secret key generated for you, or just make something up.

    define(‘SECRET_KEY’, ‘xxxxxxx’); // 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. */

    define(‘ABSPATH’, dirname(__FILE__).’/’);

    require_once(ABSPATH.’wp-settings.php’);
    ?>

    Moderator James Huff

    (@macmanx)

    Posting the code of your wp-config.php file here really doesn’t help. You’ll have to look at the file and make the edit in your own text editor. The excess white space (either a single space or an entire line) is on line 67 of the wp-config.php file. See this for more info:

    https://codex.www.ads-software.com/FAQ_Troubleshooting#How_do_I_solve_the_Headers_already_sent_warning_problem.3F

    Thread Starter waxrecordingstudio

    (@waxrecordingstudio)

    Thanks guys – this is very helpful – all changes made : )

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘“PHP Warning: Cannot modify header information” ?’ is closed to new replies.