Nach Webseiten Umzug: Cannot modify header information

  • Hallo zusammen

    Ich habe jetzt schon mehrere Stunden damit verbracht die Foren zu lesen, leider ohne Erfolg.

    Ich habe meine Webseite umgezogen. Nun kann ich mich nicht mehr in die Seite Einloggen. Bekomme immer folgenden Fehler:

    Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/wallis-solar.ch/httpdocs/wp-config.php:97) in /home/httpd/vhosts/wallis-solar.ch/httpdocs/wp-login.php on line 431

    Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/wallis-solar.ch/httpdocs/wp-config.php:97) in /home/httpd/vhosts/wallis-solar.ch/httpdocs/wp-login.php on line 444

    Ich habe bereits versucht mit dieser Anleitung das Problem zu lösen.
    http://faq.wpde.org/cannot-modify-header-information/

    Leider bis jetzt Ohne Erfolg. Hier ist ein Auszug meine config datei. Die Datenbank und das Passwort ist aus Sicherheitsgründen entfernt.
    Wäre für Hilfe dankbar.

    <?php
    /** Enable W3 Total Cache Edge Mode */
    define('W3TC_EDGE_MODE', true); // Added by W3 Total Cache


    /**
    * The base configurations of the WordPress.
    *
    * This file has the following configurations: MySQL settings, Table Prefix,
    * Secret Keys, WordPress Language, and ABSPATH. You can find more information by
    * visiting { Link http://codex.wordpress.org/Editing_wp-config.php Editing
    * wp-config.php} Codex page. You can get the MySQL settings from your web host.
    *
    * This file is used by the wp-config.php creation script during the
    * installation. You don't have to use the web site, you can just copy this file
    * to "wp-config.php" and fill in the values.
    *
    * @package WordPress
    */


    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', '------');


    /** MySQL database username */
    define('DB_USER', '----');


    /** MySQL database password */
    define('DB_PASSWORD', '----*');


    /** MySQL hostname */
    define('DB_HOST', '------');


    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');


    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');


    /**#@+
    * Authentication Unique Keys.
    *
    * Change these to different unique phrases!
    * You can generate these using the { Link http://api.wordpress.org/secret-key/1.1/ WordPress.org secret-key service}
    *
    * @since 2.6.0
    */
    define('AUTH_KEY', 'jojj6EVVgxKfE86Z1xApwmwMwhFu/XRujVtIn0/RhVGOcDqsN6OdP0kKrNAji+Q5');
    define('SECURE_AUTH_KEY', '7fGmwvDST8hFbc8CH/UZrPDywSGd5z9jGwi/TrA9NzYfEoTY0RQpuioXIdNOCcS0');
    define('LOGGED_IN_KEY', 'bIbsOozZlQyP1GOmdzG3gXEr/HzB3VApHnNKhRrUQVlvNrY9rFhIv2DyzFgqlrfi');
    define('NONCE_KEY', 'B2nmYKaoWTpfngCmXV2dsw9f/4vanRJNhQDLkbAGYvx9jDKR4RjNdaa00Rvk4bOu');
    define('AUTH_SALT', '63hCgetbVPLIFM+9fn+WgzFR2nBS8f6noq7uubyz/SZ/NrjBEPR8frh0D4tY+oLY');
    define('SECURE_AUTH_SALT', 'iTOfx2IH8mOnHOY5CWo08YOnCeMyt/b7QkoqL/wQdlSF+T96IWCQmyO3Kiq1tV8V');
    define('LOGGED_IN_SALT', 'LEcJz6PvNzS1G/ToeSaG0SQvJUqWdifmduF+ac92yrWee8NAj0xJPnat0VlJZZTb');
    define('NONCE_SALT', 'XSucqK8ZnLWK+K51fSPkT3w6DXgUpF+hnKwJeqF/ydoHYN4qlrh/2uvLf8o6JVyq');
    /**#@-*/


    /**
    * 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_';


    /**
    * WordPress Localized Language, defaults to English.
    *
    * 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', 'de_DE');


    define ('FS_METHOD', 'direct');


    define('WP_DEBUG', false);


    /* That's all, stop editing! Happy blogging. */


    /** WordPress absolute path to the Wordpress directory. */
    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');


    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');


    //--- disable auto upgrade
    define( 'AUTOMATIC_UPDATER_DISABLED', true );


    ?>

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • 1. Entferne das schließende "?>" am Ende er wp-config.php
    2. Stelle sicher, dass die wp-config.php im Format UTF8 ohne BOM gespeichert wurde
    3. Übertrage die Datei per FTP explizit im BINÄR-Modus (kein auto, kein ascii)

    WordPress ist "frei" wie in Freiheit es zu nutzen, aber nicht im Sinne von Freibier. Wer also glaubt man bekommt rund um WordPress alles kostenlos, der irrt. Hilfe ist ein Geschenk für das man sich bedankt, dafür gibt es den 'Gefällt mir' Button. Wer das nicht kann und sich selbst nicht zu helfen weiss, muss sich bezahlte Unterstützung suchen.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!