Support » Fixing WordPress » Cannot creat new page

  • Hello,
    Since last update I can’t create new page… I have those messages :

    bject from empty value in /homepages/35/d331160954/htdocs/archivesfilms/wp-admin/includes/post.php on line 662

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/35/d331160954/htdocs/archivesfilms/wp-admin/includes/post.php:662) in /homepages/35/d331160954/htdocs/archivesfilms/wp-includes/option.php on line 919

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/35/d331160954/htdocs/archivesfilms/wp-admin/includes/post.php:662) in /homepages/35/d331160954/htdocs/archivesfilms/wp-includes/option.php on line 920

    It became also impossible to add new admin account…

    Anyone knows how to fix it ?

    thanks

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 22 total)
  • Priyanka Behera

    (@priyankabehera155)

    Hi @jjpold

    Here I understand you have updated the latest WordPress version which is (5.0.3). Can you please confirm.

    If the WordPress is in latest version then please check there must be some plugin which is creating the confliction. To check you can deactivate all plugin and then activate them one by one.

    Let me know if any other help is required.

    Thanks

    Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    >> Since last update <<

    Let’s assume the update didn’t complete correctly. From UPDATES on the dashboard, click the buttton to reinstall WP 5.0.3.

    If that doesn’t fix the issue, this may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site. You can then use its admin bar menu to turn on/off plugins and themes one at a time.

    See http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/

    Yes I have the 5.0.3 version. I deactivated all plugins but it didn’t solve the problem.
    I have tried to re-install the last update but it just opened a blank page… don’t know if it did reinstall.
    Checked few minutes later, nothing changed…

    Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    “blank page”….

    Errors like this are logged. Check the error log on your server. If you can’t find the log, please contact your host.

    Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://codex.wordpress.org/Debugging_in_WordPress

    jjpold

    (@jjpold)

    Thanks for your help but I don’t know how to enable wp_debug… I tried with a plugin but it doesn’t work. Any other idea how to do it ? ?

    Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    Via FTP or your hosting control panel’s file manager app, download wp-config.php. Using NOTEPAD or your favorite editor, add the defines shown in the codex. Then, using the same tool you used to download the file, upload it to your server.

    jjpold

    (@jjpold)

    OK I have activated wp_debug in wp-config.php but I don”t have any debug log file.

    On my control panel, I have these error messages :

    nnot send session cache limiter – headers already sent (output started at /homepages/35/d331160954/htdocs/archivesfilms/wp-config.php:1) in /homepages/35/d331160954/htdocs/archivesfilms/wp-content/themes/modularity/functions/admin-js.php on line 2

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/35/d331160954/htdocs/archivesfilms/wp-config.php:1) in /homepages/35/d331160954/htdocs/archivesfilms/wp-admin/includes/misc.php on line 1144

    Warning: Creating default object from empty value in /homepages/35/d331160954/htdocs/archivesfilms/wp-admin/includes/post.php on line 662

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/35/d331160954/htdocs/archivesfilms/wp-config.php:1) in /homepages/35/d331160954/htdocs/archivesfilms/wp-includes/option.php on line 919

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/35/d331160954/htdocs/archivesfilms/wp-config.php:1) in /homepages/35/d331160954/htdocs/archivesfilms/wp-includes/option.php on line 920

    Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    >> headers already sent by (output started at /homepages/35/d331160954/htdocs/archivesfilms/wp-config.php: <<

    This leads me to think that soemthing’s wrong with wp-config.php

    Please paste the file into a response, XXXXing out your DB user name and password.

    jjpold

    (@jjpold)

    Here it is !

    <?php
    /**
     * La configuration de base de votre installation WordPress.
     *
     * Ce fichier contient les réglages de configuration suivants : réglages MySQL,
     * préfixe de table, clefs secrètes, langue utilisée, et ABSPATH.
     * Vous pouvez en savoir plus à leur sujet en allant sur 
     * {@link http://codex.wordpress.org/Editing_wp-config.php Modifier
     * wp-config.php} (en anglais). C'est votre hébergeur qui doit vous donner vos
     * codes MySQL.
     *
     * Ce fichier est utilisé par le script de création de wp-config.php pendant
     * le processus d'installation. Vous n'avez pas à utiliser le site web, vous
     * pouvez simplement renommer ce fichier en "wp-config.php" et remplir les
     * valeurs.
     *
     * @package WordPress
     */
    
    // ** Réglages MySQL - Votre hébergeur doit vous fournir ces informations. ** //
    /** Nom de la base de données de WordPress. */
    define('WP_CACHE', true);
    define( 'WPCACHEHOME', '/homepages/35/d331160954/htdocs/archivesfilms/wp-content/plugins/wp-super-cache/' );
    define('DB_NAME', ' ');
    
    /** Utilisateur de la base de données MySQL. */
    define('DB_USER', 'dbo331170496');
    
    /** Mot de passe de la base de données MySQL. */
    define('DB_PASSWORD', ' ');
    
    /** Adresse de l'hébergement MySQL. */
    define('DB_HOST', 'db2539.1and1.fr');
    
    /** Jeu de caractères à utiliser par la base de données lors de la création des tables. */
    define('DB_CHARSET', 'utf8');
    
    /** Type de collation de la base de données. 
      * N'y touchez que si vous savez ce que vous faites. 
      */
    define('DB_COLLATE', '');
    
    /**#@+
     * Clefs uniques d'authentification et salage.
     *
     * Remplacez les valeurs par défaut par des phrases uniques !
     * Vous pouvez générer des phrases aléatoires en utilisant 
     * {@link https://api.wordpress.org/secret-key/1.1/salt/ le service de clefs secrètes de WordPress.org}.
     * Vous pouvez modifier ces phrases à n'importe quel moment, afin d'invalider tous les cookies existants.
     * Cela forcera également tous les utilisateurs à se reconnecter.
     *
     * @since 2.6.0
     */
    define('AUTH_KEY',         'vM^O.AmDU.n>25Bm9Ae_.7,Yxp Q-*z-Y+-15tO= AC:YC~O%O0|l8/-dg%N4h9c'); 
    define('SECURE_AUTH_KEY',  '4hfqPOBW!20cyn n>g1*%5|CI}5Wo.9F+4mxqi$l444P-~ne=jm~8M-B|^;3Oce5'); 
    define('LOGGED_IN_KEY',    'e};/^QI;Qth66~Sq[^dw}E5lydc>u{g}BhSgL8rs1NT?N C%qE|Z+IpVRga1p~|o'); 
    define('NONCE_KEY',        '_m3%<WQIj&-mq/JiI^l4h/nlT#[~x +!#

    ^>Fw{D|+Pl7Iabht>U_&!|f&S==l~/’);
    define(‘AUTH_SALT’, ‘5oZQ:C![8Y-< :~ l@A<||xNF(GMZe*Dze;Kd}BX-d|Dvpiry*k}&P5AoC!]Y7YZ’);
    define(‘SECURE_AUTH_SALT’, ‘}a+vP7+xDTsifpMvC0uT@&OTwSF<m8U,`3]SeeNL#a?n4yU.ewBU^)~lgLa|5+’);
    define(‘LOGGED_IN_SALT’, ‘*HuxFVjM-R7F)p[ML>$~|]ht&coz.*xL2[y6~j7,8_PRM,=UYXqvH%|fHzz|K+@K’);
    define(‘NONCE_SALT’, ‘hTHFq;N7X3t6Clr%JXHH9LU#mB|yUp@JoyAxs+|=gsIt/yv}z<M`P#*{Ole^Cel<‘);
    /**#@-*/

    /**
    * Préfixe de base de données pour les tables de WordPress.
    *
    * Vous pouvez installer plusieurs WordPress sur une seule base de données
    * si vous leur donnez chacune un préfixe unique.
    * N’utilisez que des chiffres, des lettres non-accentuées, et des caractères soulignés!
    */
    $table_prefix = ‘wp3_’;

    /**
    * Langue de localisation de WordPress, par défaut en Anglais.
    *
    * Modifiez cette valeur pour localiser WordPress. Un fichier MO correspondant
    * au langage choisi doit être installé dans le dossier wp-content/languages.
    * Par exemple, pour mettre en place une traduction française, mettez le fichier
    * fr_FR.mo dans wp-content/languages, et réglez l’option ci-dessous à “fr_FR”.
    */
    define (‘WPLANG’, ‘fr_FR’);

    /**
    * Pour les développeurs : le mode deboguage de WordPress.
    *
    * En passant la valeur suivante à “true”, vous activez l’affichage des
    * notifications d’erreurs pendant votre essais.
    * Il est fortemment recommandé que les développeurs d’extensions et
    * de thèmes se servent de WP_DEBUG dans leur environnement de
    * développement.
    */
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////define(‘WP_DEBUG’, true);

    /* C’est tout, ne touchez pas à ce qui suit ! Bon blogging ! */

    /** Chemin absolu vers le dossier de WordPress. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    /** Réglage des variables de WordPress et de ses fichiers inclus. */
    require_once(ABSPATH . ‘wp-settings.php’);`

    • This reply was modified 10 months ago by Steve Stern.
    Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    Try deleting that WP_DEBUG line entirely.

    jjpold

    (@jjpold)

    Done.

    Still lot’s of errors…

    not send session cookie – headers already sent by (output started at /homepages/35/d331160954/htdocs/archivesfilms/wp-config.php:1) in /homepages/35/d331160954/htdocs/archivesfilms/wp-content/themes/modularity/functions/admin-js.php on line 2

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /homepages/35/d331160954/htdocs/archivesfilms/wp-config.php:1) in /homepages/35/d331160954/htdocs/archivesfilms/wp-content/themes/modularity/functions/admin-js.php on line 2

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/35/d331160954/htdocs/archivesfilms/wp-config.php:1) in /homepages/35/d331160954/htdocs/archivesfilms/wp-admin/includes/misc.php on line 1144

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/35/d331160954/htdocs/archivesfilms/wp-config.php:1) in /homepages/35/d331160954/htdocs/archivesfilms/wp-includes/option.php on line 919

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/35/d331160954/htdocs/archivesfilms/wp-config.php:1) in /homepages/35/d331160954/htdocs/archivesfilms/wp-includes/option.php on line 920

    Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    >> output started at /homepages/35/d331160954/htdocs/archivesfilms/wp-config.php:1) <<

    Is there anything before the <?php in the first line of wp-config.php? A blank or some other character?

    jjpold

    (@jjpold)

    no, nothing.

    jjpold

    (@jjpold)

    I found 15 DB errors but I don’t know how to fix it ! Is there a plugin or something that would help me to do it ?

    Moderator Steve Stern

    (@sterndata)

    Support Team Volunteer

    What do you mean by “found 15 DB errors”?

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Cannot creat new page’ is closed to new replies.