Ma configuration WP actuelle
- Version de WordPress : 3.41
- Version de PHP/MySQL : 5.6
- Thème utilisé : sphera
- Extensions en place : Akismet Contact Form 7 Highgrade Extender for Visual Composer Importateur WordPress Revolution Slider WP Maintenance WPBakery Visual Composer
- Nom de l'hebergeur : OVH
- Adresse du site : kallia.com
Bonjour
Problème(s) rencontré(s) : Suite au déménagement d'un site WP 3.41 dévellopper sur un serveur Synology vers serveur OVH - PHP 5.6
Pour info : Installation WP en 1 clic depuis le serveur OVH
nous avons ce message d'erreurWarning: file_get_contents(/etc/httpd/sites-enabled-user/httpd-vhost.conf-user): failed to open stream: No such file or directory in /home/kallia/www/wp-config.php on line 94
Y compris sur le back office au niveau des pages.HGR Blog Posts Settings
Warning: file_get_contents(/etc/httpd/sites-enabled-user/httpd-vhost.conf-user): failed to open stream: No such file or directory in /home/kallia/www/wp-config.php on line 94 How many posts to fetch?
Le site se charge relativement bien, mais dans le back office
impossible de faire des modifications.
Ci-joint partie basse du fichier wp-config.php
peut-être un problème au niveau de ces deux lignes
if (!defined('SYNOWORDPRESS'))
define('SYNOWORDPRESS', 'Synology Inc.');
et
Sur le serveur FTP dans le dossier : "etc" deux gros vilain fichier : SYNO.SDS.WordPress.ini et SYNO.SDS.WordPress.conf. qui n'ont peut être rien à faire ici.
Merci pour le retour
Voir fichier joint
.
Joint partie basse du fichier : wp-config.php
* Change thisto 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.
*/
define('WP_DEBUG', false);
/* That's all, stop editing! Happy blogging. */
$pageURL = 'http';
if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
$pageURL .= "/";
if ($_SERVER["SERVER_PORT"] != "80") {
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"];
} else {
$pageURL .= $_SERVER["SERVER_NAME"];
}
$virtual_host_file = file_get_contents("/etc/httpd/sites-enabled-user/httpd-vhost.conf-user");
if (preg_match('/ServerName '.$_SERVER["SERVER_NAME"].'/', $virtual_host_file)) {
define('WP_SITEURL', $pageURL);
} else {
define('WP_SITEURL', $pageURL.'/wordpress');
}
if (!defined('SYNOWORDPRESS'))
define('SYNOWORDPRESS', 'Synology Inc.');
/** 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');
require_once(ABSPATH . 'syno-misc.php');