Bonjour,
Ce matin en voulant accéder à mon site, j'obtiens l'erreur suivante :
"Impossible de traiter cette demande via amandinepauliatphotographie.fr à l'heure actuelle.
HTTP ERROR 500"
Je viens de regarder les logs et j'ai pas mal d'erreurs qui apparaissent :
[Wed May 23 02:11:53 2018] [error] [client 54.36.148.8] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 07:58:35 2018] [error] [client 137.74.132.80] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated)., referer: http://amandinepauliatphotographie.fr/
[Wed May 23 09:19:07 2018] [error] [client 109.190.0.188] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:26:44 2018] [error] [client 151.80.34.185] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:26:45 2018] [error] [client 109.190.254.1] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:26:54 2018] [error] [client 109.190.254.1] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:28:52 2018] [error] [client 109.190.0.188] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:28:55 2018] [error] [client 109.190.0.188] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:29:01 2018] [error] [client 109.190.0.188] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:31:26 2018] [error] [client 109.190.0.188] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:35:33 2018] [error] [client 147.135.255.17] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:37:47 2018] [error] [client 151.80.34.185] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:31:56 2018] [error] [client 109.190.0.188] [host www.amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:32:39 2018] [error] [client 109.190.0.188] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:33:35 2018] [error] [client 109.190.0.188] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:36:03 2018] [error] [client 109.190.0.188] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
[Wed May 23 09:36:39 2018] [error] [client 109.190.0.188] [host amandinepauliatphotographie.fr] AH00687: Negotiation: discovered file(s) matching request: /homez.2328/amandinedc/www/index.html (None could be negotiated).
J'ai fais des recherches sur Internet et testé la solution de créer un script « bonjour.php » qui s'affiche bien donc le .htaccess est correct.
Quelqu'un peut-il m'aider car tout ça m'est vaiment inconnu... Mais je ne demande qu'à apprendre =)
Merci par avance !
Erreur HTTP 500
Related questions
- Connexion à mon compte client
153963
13.02.2019 09:51
- Serveur non sécurisé, celui-ci ne supporte pas FTP sur TLS
126853
03.09.2018 14:46
- reCAPTCHA erreur pour le propriétaire du site : clé de site non valide
111051
14.02.2019 16:17
- [FAQ] Comment mettre à jour mon site pour supporter Apache 2.4 ?
98610
28.07.2017 11:39
- Passage en php 7.4
97653
30.06.2020 05:05
- Augmenter taille PHP Post Max Size sur mutualisé ?
92006
04.12.2019 21:52
- The requested URL / was not found on this server
91116
02.03.2017 18:25
- Deploy d'un projet Node JS
91074
12.10.2016 20:18
- NextCloud sur mutualisé
91000
07.04.2017 08:42
- Ce site est inaccessible Impossible de trouver l'adresse DNS du serveur
90842
16.10.2016 16:24
Bonjour @AmandineP,
A mon niveau je constate une erreur quand j'essaie d'atteindre ta page:
Parse error: syntax error, unexpected 'define' (T_STRING) in /home/amandinedc/www/wp-config.php on line 1
Souci lié à un de tes fichiers wordpress a priori.
François
bonjour François,
Oui j'ai fait afficher les erreurs mais je ne trouve pas quoi modifier dans mon fichier wp-config :
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This file contains the following configurations:
*
* * MySQL settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://codex.wordpress.org/Editing_wp-config.php
*
* @package WordPress
*/
Peut être ajouter un saut de ligne avant le define(WP cache........)
Et un autre saut de ligne entre
< ? php et /**
Une fois ça réparé, Ovh propose gratuitement le https,
https://www.ssllabs.com/ssltest/analyze.html?d=amandinepauliatphotographie.fr&latest
Donc autant penser à l'activer.
WordPress, panneau admin, réglages général, url du site et url de wordpress, replacer
http://amandinepauliatphotographie.fr
Par
https://amandinepauliatphotographie.fr
Bonjour,
Je viens de faire la modif :
/** Enable W3 Total Cache */
define('WP_CACHE', true); // Added by W3 Total Cache
/**
Mais rien n'a changé...
De plus, je n'ai pas accès au panneau d'administration Wordpress...
Pour le https oui c'est une bonne idée, il faut que je le mette et que je change aussi l'url pour que les www apparaissent...
Mais en attendant, je ne sais pas d'où vient le problème...
Et en enlevant carrément tout ça ? (temporairement au moins..)
Je l'ai déjà essayé, j'ai même changé le nom du dossier du plugin W3 Total Cache pour voir si c'est lui qui posait problème mais rien...
Mais par contre, quand je fais ré-afficher les erreurs , j'ai désormais une page blanche...
Je viens de voir aussi que je suis en version PHP 5.6, est-ce que ça peut y jouer ?
C'est pas plus mal de passer sur php 7.1 et l'environnement d'exécution stable.
Je viens de passer en 7.1 stable mais j'ai toujours cette erreur 500.
C'est fou...
Quel est le contenu complet du wp-config ? En cachant le mot de passe de la BDD..
Ci-dessous le contenu du wp-config :
/** Enable W3 Total Cache */
define(‘WP_CACHE’, true); // Added by W3 Total Cache
/**
* The base configurations of the WordPress.
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This file contains the following configurations:
*
* * MySQL settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
*
*/
// ** 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', 'amandinedc42700.mysql.db:3306');
/** 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 and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
define('AUTH_KEY', 'PbfW9kfEFCJLJzFHB7Arh9CtfImiG3TTriz0u37EZKOg2DmuCTB5dKIQo16w');
define('SECURE_AUTH_KEY', '5xkrMn9s/h7fR3hR4tJC1KoGqirnH8oXWO1sLNqLcSvIsVBpq518POmQlLSi');
define('LOGGED_IN_KEY', 'KBWPm+BLfS/ousowwr+O9CtKOIiC+oMSdFC4y4tc6wUpW3ECHdXZ3ZwYTEgu');
define('NONCE_KEY', 'hI2laCji2TNRlTwXxet8TDC8m+BWwe2qkMSAltNkOenGyGU5SH6Rl7sK6Us6');
define('AUTH_SALT', 'HI5vdGxovKYX7GeFWEloOAkdnkVLFE4UBAehmwaJN6WSZ1GgKJCkNumdOpzt');
define('SECURE_AUTH_SALT', 'DIX+eK4VYAiCD1j9zX5ubGoo8zPMK6rEZWATHbG/j83e4bhmyFXXHrMfUXOn');
define('LOGGED_IN_SALT', 'Mb0xRMJfUIV0o1Kz9xI/c/XlZyNvF4wS5Mfp3FC6Xq/bcd5Pm7NEg/QDxGVC');
define('NONCE_SALT', 'zwG2QSHzuHC5VjewIEC61PtkDhZw3APNzc2EaVFoQcFqQ2fIibU5Zho0JguB');
/**#@-*/
/**
* 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 = 'wor6751_';
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the Codex.
*
*/
define('WP_DEBUG', false);
/* That's all, stop editing! Happy blogging. */
/** 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');
Et en le mettant plus vers le bas après dB collate?
Nouveau problème quand je modifie le wp config sur Filezilla :
Réponse : 553 Can't open that file: Disk quota exceeded
Erreur : Erreur critique lors du transfert du fichier
Je viens de regarder sur OVH et mon espace disque utilisé a presque doublé depuis ce matin...
Il n'y aurait pas un module qui log les erreurs ? Ou un truc du genre ?
C'est quelle offre ?
Perso, pro, performance ?
Non aucun module. C'est quand j'ai migrer vers la version 7.1 de php que ça m'a pris de l'espace disque...
Du coup, j'ai réussi à modifier le fichier en déplaçant la ligne mais toujours rien...
Et en mettant à false?
Quel est le contenu du ovhconfig ?
Idem
/**
* The base configurations of the WordPress.
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This file contains the following configurations:
*
* * MySQL settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://codex.wordpress.org/Editing_wp-config.php
*
* @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', 'amandinedc42700.mysql.db:3306');
/** 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', '');
/** Enable W3 Total Cache */
define('WP_CACHE', false); // Added by W3 Total Cache
/**#@+
* Authentication Unique Keys and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
define('AUTH_KEY', 'PbfW9kfEFCJLJzFHB7Arh9CtfImiG3TTriz0u37EZKOg2DmuCTB5dKIQo16w');
define('SECURE_AUTH_KEY', '5xkrMn9s/h7fR3hR4tJC1KoGqirnH8oXWO1sLNqLcSvIsVBpq518POmQlLSi');
define('LOGGED_IN_KEY', 'KBWPm+BLfS/ousowwr+O9CtKOIiC+oMSdFC4y4tc6wUpW3ECHdXZ3ZwYTEgu');
define('NONCE_KEY', 'hI2laCji2TNRlTwXxet8TDC8m+BWwe2qkMSAltNkOenGyGU5SH6Rl7sK6Us6');
define('AUTH_SALT', 'HI5vdGxovKYX7GeFWEloOAkdnkVLFE4UBAehmwaJN6WSZ1GgKJCkNumdOpzt');
define('SECURE_AUTH_SALT', 'DIX+eK4VYAiCD1j9zX5ubGoo8zPMK6rEZWATHbG/j83e4bhmyFXXHrMfUXOn');
define('LOGGED_IN_SALT', 'Mb0xRMJfUIV0o1Kz9xI/c/XlZyNvF4wS5Mfp3FC6Xq/bcd5Pm7NEg/QDxGVC');
define('NONCE_SALT', 'zwG2QSHzuHC5VjewIEC61PtkDhZw3APNzc2EaVFoQcFqQ2fIibU5Zho0JguB');
/**#@-*/
/**
* 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 = 'wor6751_';
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the Codex.
*
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define('WP_DEBUG', false);
/* That's all, stop editing! Happy blogging. */
/** 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');
Mais je ne sais pas si ça vient bien du wp_config car si je le renomme en _old , mon site ne fonctionne toujours pas...
Le ovhconfig ?
Qu est ce qui a amené au plantage ? L'installation de WP cache ?
Le temps de debugger, mettee
define('WP_DEBUG', true);
Je ne sais pas du tout ce qui a amené au plantage, je n'ai installé aucun plugin mais j'ai fais des maj de plugins. Mais le site fonctionnait quand même.
J'ai juste modifié un article, sans importer de nouveaux médias. Et le lendemain plus d'accès...
J'ai mis define('WP_DEBUG', true); mais j'ai une page blanche maintenant...
Et le fichier .ovhconfig il contient quoi ?
Il est possible de le passer en development pour voir les erreurs.
https://docs.ovh.com/fr/hosting/configurer-le-php-sur-son-hebergement-web-mutu-2014/
Bonjour,
Aussi vous éditer le fichier comment et/ou avec quel logiciel.
Cordialement, janus57
Ah pardon je vous ai envoyé le contenu du wp-config...
Voici le contenu du .ovhconfig (je viens de la passer en development) :
app.engine=php
app.engine.version=7.1
http.firewall=none
environment=development
container.image=stable
En renommant le dossier plugins, et rechangant la page plugins.php, voilà le message d'erreur qui apparaît :
Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /home/amandinedc/www/wp-content/themes/Fineliner/functions.php:60 Stack trace: #0 /home/amandinedc/www/wp-settings.php(426): include() #1 /home/amandinedc/www/wp-config.php(91): require_once('/home/amandined...') #2 /home/amandinedc/www/wp-load.php(37): require_once('/home/amandined...') #3 /home/amandinedc/www/wp-admin/admin.php(31): require_once('/home/amandined...') #4 /home/amandinedc/www/wp-admin/plugins.php(10): require_once('/home/amandined...') #5 {main} thrown in /home/amandinedc/www/wp-content/themes/Fineliner/functions.php on line 60
J'édite avec Notepad+
Le thème a été mis à jour récemment ?
WordPress aussi ?
Les MAJ se font automatiquement donc je ne pourrais pas vous le dire...
Peut-être puis-je le voir sur le FTP ?
Oui la date de modification des fichiers..
Peut être aussi repasser à pph 5.6 maintenant.
Puis une fois que ça remarche
Faire les mises à jour puis passer à php 7.1
Je suis repassé en php 5.6 pour libérer mon espace disque.
En regardant la date de modification des fichiers, je trouve un dossier "upgrade" qui a été modifié mardi soir mais qui est vide...
J'ai aussi le dossier du plugin Wordfence qui a été modifié mardi soir
Je viens de renommer le dossier themes, et là miracle j'ai accès à mon interface de connexion !
Mais par contre cela veut dire que c'est mon thème qui pose soucis :/
Il faut bien vérifier la version de wordpress puis du thème puis des plugins et bien faire toutes les mises à jour aussi.
Wordpress vient d'être mis à jour automatiquement quand je m'y suis reconnectée. Et j'ai mis à jour les plugins ensuite.
J'ai fais la modification pour le https également.
Il y a juste la version de php que je ne peux pas modifier (actuellement en 5.6) car si je la change, je retrouve une page blanche...
Le thème n'a pas l'air compatible avec php 7
Autant dire qu'il n'a pas du être mis à jour depuis un moment..
J'ai oublié de le préciser, il faut repasser en "production" à la place de development dans le .ovhconfig(et rester en environnement stable)
Pour passer le site définitivement en https, activer le HSTS dans le htaccess est une bonne idée.
il faut ajouter ceci au htaccess
# demande aux navigateurs web de n'effectuer que des requêtes en https
Header set Strict-Transport-Security "max-age=1600600; includeSubDomains; preload"