- WordPress :6.0.2
- Statut : résolu
- Ce sujet contient 2 réponses, 2 participants et a été mis à jour pour la dernière fois par
EmGes, le il y a 1 année.
-
AuteurMessages
-
14 septembre 2022 à 12 h 32 min #2420131
Bonjour,
Ma configuration WP actuelle
- Version de PHP/MySQL : PHP 7.4.30 / MySQL 10.5.17
- Thème utilisé : Highstarter
- Extensions en place : toutes désactivées
- Nom de l’hébergeur : Ionos
- Adresse du site : antoninleymarie.com
Problème(s) rencontré(s) :
J’essaie de créer un multisite WordPress en suivant ce guide .
Pour la première étape, « Compléter la ligne de code dans le fichier WordPress wp-config.php », j’ai ajouté ceci au fichier wp-config.php :
define( ‘WP_ALLOW_MULTISITE’, true );
/* That's all, stop editing! Happy publishing. */Puis je l’ai chargé avec cyberduck.
Mais maitenant, les lignes suivantes s’affiches en haut du back-end, et le nouvel élément « Installation réseau » n’apparaît pas dans le menu « outil » comme ça devrait être le cas :
<p class= »p1″><b>Warning</b>: Use of undefined constant ‘WP_ALLOW_MULTISITE’ – assumed ‘‘WP_ALLOW_MULTISITE’’ (this will throw an Error in a future version of PHP) in <b>/homepages/11/d927528279/htdocs/app928506859/wp-config.php</b> on line <b>100</b></p>
<p class= »p1″><b>Warning</b>: Cannot modify header information – headers already sent by (output started at /homepages/11/d927528279/htdocs/app928506859/wp-config.php:100) in <b>/homepages/11/d927528279/htdocs/app928506859/wp-admin/includes/misc.php</b> on line <b>1381</b></p>
<p class= »p1″><b>Warning</b>: Cannot modify header information – headers already sent by (output started at /homepages/11/d927528279/htdocs/app928506859/wp-config.php:100) in <b>/homepages/11/d927528279/htdocs/app928506859/wp-includes/functions.php</b> on line <b>6878</b></p>
<p class= »p1″><b>Warning</b>: Cannot modify header information – headers already sent by (output started at /homepages/11/d927528279/htdocs/app928506859/wp-config.php:100) in <b>/homepages/11/d927528279/htdocs/app928506859/wp-admin/admin-header.php</b> on line <b>9</b></p>
<p class= »p1″><b>Warning</b>: Cannot modify header information – headers already sent by (output started at /homepages/11/d927528279/htdocs/app928506859/wp-config.php:100) in <b>/homepages/11/d927528279/htdocs/app928506859/wp-includes/option.php</b> on line <b>1112</b></p>
<p class= »p4″><b>Warning</b>: Cannot modify header information – headers already sent by (output started at /homepages/11/d927528279/htdocs/app928506859/wp-config.php:100) in <b>/homepages/11/d927528279/htdocs/app928506859/wp-includes/option.php</b> on line <b>1113</b></p>Est-ce que vous avez une idée ?
Merci d’avance pour votre aide !
14 septembre 2022 à 12 h 48 min #2420138vous n’avez pas mis les bons guillemets, le code à utiliser est le suivant
define( 'WP_ALLOW_MULTISITE', true );
vous pouvez trouver la documentation officielle là :
14 septembre 2022 à 13 h 26 min #2420139C’est exact, merci beaucoup !
-
AuteurMessages
- Vous devez être connecté pour répondre à ce sujet.