Submitted by yonnel on
Bonjour,
J'essaye de copie mon site depuis mon mac sur un serveur de dev.
Mais quand je l'installe (sur debian9 - drupal 8.5.4), il me met cette erreur cette chaque page :
"Warning: preg_match(): Compilation failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 4 in Symfony\Component\HttpFoundation\Request->getHost() (line 1303 of /var/www/vendor/symfony/http-foundation/Request.php).
Symfony\Component\HttpFoundation\Request->getHost() (Line: 1570)
Drupal\Core\DrupalKernel::setupTrustedHosts(Object, Array) (Line: 1062)
Drupal\Core\DrupalKernel->initializeSettings(Object) (Line: 271)
Drupal\Core\DrupalKernel::createFromRequest(Object, Object, 'prod', 1) (Line: 421)
install_begin_request(Object, Array) (Line: 114)
install_drupal(Object) (Line: 44)
Warning: preg_match(): Compilation failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 4 in Symfony\Component\HttpFoundation\Request->getHost() (line 1303 of /var/www/vendor/symfony/http-foundation/Request.php).
Symfony\Component\HttpFoundation\Request->getHost() (Line: 1570)
Drupal\Core\DrupalKernel::setupTrustedHosts(Object, Array) (Line: 1062)
Drupal\Core\DrupalKernel->initializeSettings(Object) (Line: 271)
Drupal\Core\DrupalKernel::createFromRequest(Object, Object, 'prod', 1) (Line: 421)
install_begin_request(Object, Array) (Line: 114)
install_drupal(Object) (Line: 44)"
Cela plante le site dès que je demande la connexion
Et si je met un nouveau site pour essayer, alors là j'ai une erreur ajax identique dès l'instalaltion :
"An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /core/install.php?rewrite=ok&langcode=fr&profile=standard&id=1&op=do_nojs&op=do
StatusText: OK
ResponseText: Warning: preg_match(): Compilation failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 4 in Symfony\Component\HttpFoundation\Request->getHost() (line 1303 of /var/www/vendor/symfony/http-foundation/Request.php). Symfony\Component\HttpFoundation\Request->getHost() (Line: 1570)
Drupal\Core\DrupalKernel::setupTrustedHosts(Object, Array) (Line: 1062)
Drupal\Core\DrupalKernel->initializeSettings(Object) (Line: 271)
Drupal\Core\DrupalKernel::createFromRequest(Object, Object, 'prod', 1) (Line: 421)
install_begin_request(Object, Array) (Line: 114)
install_drupal(Object) (Line: 44)
Warning: preg_match(): Compilation failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 4 in Symfony\Component\HttpFoundation\Request->getHost() (line 1303 of /var/www/vendor/symfony/http-foundation/Request.php). Symfony\Component\HttpFoundation\Request->getHost() (Line: 1570)
Drupal\Core\DrupalKernel::setupTrustedHosts(Object, Array) (Line: 1062)
Drupal\Core\DrupalKernel->initializeSettings(Object) (Line: 271)
Drupal\Core\DrupalKernel::createFromRequest(Object, Object, 'prod', 1) (Line: 421)
install_begin_request(Object, Array) (Line: 114)
install_drupal(Object) (Line: 44)
{"status":true,"percentage":"7","message":"Completed 3 of 43.","label":"Installed \u003Cem class=\u0022placeholder\u0022\u003EField\u003C\/em\u003E module."}"
A votre avis, comment faire ?
merci pour votre aide !
yo