• I tried all following mention on this site and now worked for me so far, and removed all the spaces… dont know what to do next?

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/66/6538766/html/blogs/wp-content/themes/twentyten/functions.php:1) in /home/content/66/6538766/html/blogs/wp-includes/functions.php on line 830

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/66/6538766/html/blogs/wp-content/themes/twentyten/functions.php:1) in /home/content/66/6538766/html/blogs/wp-includes/functions.php on line 831

Viewing 10 replies - 1 through 10 (of 10 total)
  • Even though this is usually caused by unwanted spaces or blank lines in the file first mentioned (functions.php:1), I have seen instances where it is caused by plugins. Try disabling all plugins to see if the error goes away.

    Also, see this thread for a different solution. The editor used to change the functions.php file inserted invisible characters.

    Thread Starter rusty813

    (@rusty813)

    i dont have any pluggins installed on wordpress cause its a brand new install of wordpress, but now i cant even get to the login screen to try and disable anything

    cause i get this error

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/66/6538766/html/blogs/wp-content/themes/twentyten/functions.php:1) in /home/content/66/6538766/html/blogs/wp-includes/pluggable.php on line 890

    How did you edit the wp-config.php file? This can also cause this error. Try creating a new one using notepad, not wordpad. Be sure there are no blank lines at the end.

    Thread Starter rusty813

    (@rusty813)

    hey thanks i am guessing… i am getting some place now i have this error:

    We were able to connect to the database server (which means your username and password is okay) but not able to select the database_name_here database.

    and i check to see if i have permission and i do

    If you uploaded a new copy of wp-config.php, did you need to change the database prefix?

    /**
     * WordPress Database Table prefix.
     *
     * You can have multiple installations in one database if you give each a unique
     * prefix. Only numbers, letters, and underscores please!
     */
    $table_prefix  = 'wp_';
    Thread Starter rusty813

    (@rusty813)

    does it have to be certain or do i just type anything in there

    Thread Starter rusty813

    (@rusty813)

    a certain number*

    It has to exactly match the table names that are in your database. Those tables were created when you installed WordPress. ‘wp_’ may be correct, but I have no way of knowing.

    Thread Starter rusty813

    (@rusty813)

    1. i typed the names of the table in wp-config

    /**
    * WordPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each a unique
    * prefix. Only numbers, letters, and underscores please!
    */
    $table_prefix = ‘wp_commentmeta’;
    $table_prefix = ‘wp_comments’;
    $table_prefix = ‘wp_links’;
    $table_prefix = ‘wp_options’;
    $table_prefix = ‘wp_postmeta’;
    $table_prefix = ‘wp_posts’;
    $table_prefix = ‘wp_terms’;
    $table_prefix = ‘wp_terms_relationships’;
    $table_prefix = ‘wp_term_taxonomy’;
    $table_prefix = ‘wp_usermeta’;
    $table_prefix = ‘wp_users’;

    2. when i goto the login screen i get this error now

    Warning: Cannot modify header information – headers already sent by (output started at C:\xampplite\htdocs\wp-content\themes\twentyten\functions.php:1) in C:\xampplite\htdocs\wp-login.php on line 337

    Warning: Cannot modify header information – headers already sent by (output started at C:\xampplite\htdocs\wp-content\themes\twentyten\functions.php:1) in C:\xampplite\htdocs\wp-login.php on line 349

    3. after i try to login i get this error as well

    Warning: Cannot modify header information – headers already sent by (output started at C:\xampplite\htdocs\wp-content\themes\twentyten\functions.php:1) in C:\xampplite\htdocs\wp-login.php on line 337

    Warning: Cannot modify header information – headers already sent by (output started at C:\xampplite\htdocs\wp-content\themes\twentyten\functions.php:1) in C:\xampplite\htdocs\wp-login.php on line 349

    Warning: Cannot modify header information – headers already sent by (output started at C:\xampplite\htdocs\wp-content\themes\twentyten\functions.php:1) in C:\xampplite\htdocs\wp-includes\pluggable.php on line 690

    Warning: Cannot modify header information – headers already sent by (output started at C:\xampplite\htdocs\wp-content\themes\twentyten\functions.php:1) in C:\xampplite\htdocs\wp-includes\pluggable.php on line 691

    Warning: Cannot modify header information – headers already sent by (output started at C:\xampplite\htdocs\wp-content\themes\twentyten\functions.php:1) in C:\xampplite\htdocs\wp-includes\pluggable.php on line 692

    Warning: Cannot modify header information – headers already sent by (output started at C:\xampplite\htdocs\wp-content\themes\twentyten\functions.php:1) in C:\xampplite\htdocs\wp-includes\pluggable.php on line 890

    You do not name each table in the wp-config, You only give the prefix for one database. So, if you only have one blog in the database, you would just type (or leave it, because that is the default:

    $table_prefix = ‘wp_’;

    That prefix would be applied to all tables. Try again without entering all the other lines.

    Mac

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Cannot modify header information – headers already sent by’ is closed to new replies.