WampServer

Apache, PHP, MySQL on Windows 

 
  • Accueil forum
  • Retour à WampServer
  • presentation
  • Download
  • Addons
  • Formations
  • Alter Way

 
Connexion impossible base WP avec Virtual Host
Envoyé par: Chris33 (---.w193-250.abo.wanadoo.fr)
Date: 18 August 2022 à 11:37

Bonjour à tous,

Je viens de m'inscrire et c'est mon premier post et j'espère que je respecte bien les règles de ce forum...

Je débute un peu avec WamServer et je me trouve confronté à un souci ; j'ai une base WP qui fonctionnait très bien il y a encore quelques mois ; je n'ai pas trop eu le temps de m'en occuper ces dernières semaines mais hier, avec un peu de temps devant moi j'ai voulu me connecter et là, impossible.Quand je lance la base avec Virtual Host, la page internet m'indique " Connexion impossible" ; l'adresse YRL est bien le nom de ma base, comme avant, mais impossible de me connecter et je n'ai aucun message d'erreur.
Dans le même répertoire que celui où k'ia mas base WP, j'ai un autre petit site basique HTML/CSS et avec Virtual HOst, aucun souci ; seule le site WP refuse de se connecter et comme je n'ai pas de message d'erreur sauf celui qui me dit "Connexion Impossible", je suis coincé. Mon fichier Host à l'air d'être bon pourtant mais cela ne fonctionne pas.
Si quelqu'un avait une petite idée, je serai bien évidemment preneur.
Merci à vous et très bonne journée

Chris33

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Otomatic (Modérateur)
Date: 18 August 2022 à 11:58

Bonjour,

Avez-vous accès à cette base de données via PhpMyAdmin ?

D'autre part, merci de LIRE et RÉPONDRE AVANT DE POSER UNE QUESTION

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.1 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Chris33 (---.w193-250.abo.wanadoo.fr)
Date: 18 August 2022 à 12:29

Bonjour et merci pour votre réponse.
Désolé effectivement de n'avoir pas tout lu avant "Lire avant de poser une question" ; dans le coup, je n'ai aps mis toutes les infos que je donne donc maintenant :

Windows 11
WampServer 3.2.6 64 Bits
Apache : 2.4.51
PHP : 7.4.26
MySql : 5.7.36
Icône Wampserver : Vert
Dans Win/System32/Driver/Etc/Host : Toutes les lignes sont actives
J'accède bie nà la page Localhost et aucun message d'erreur

Dernier poit : Je me connecte à ma base WP avec PHP MyAdmin et/ou MySQL sans aucun souci.

Je ne comprends donc vraiment pas où se trouve mon souci...

Merci encore pour votre aide

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Otomatic (Modérateur)
Date: 18 August 2022 à 14:42

> j'ai une base WP qui fonctionnait très bien

C'est un site local WordPress et pas uniquement une base de données, n'est-ce pas ?

Afin de bien clarifier tout, voilà ce que vous aller faire (Faites ça tranquillement sans se presser ) :

- 1 - Vérifier que tous les paquetages VC++ sont bien installés et avec les dernières versions.
Pour ce faire, utilisez l'outil :
Vérifications paquetages VC installés
N'utilisez pas une ancienne version de l'outil que vous auriez déjà téléchargé. Télécharger toujours la dernière version juste avant de l'utiliser.
Pour télécharger les paquetages manquants, ne vous fiez pas aux liens Microsoft, ils ne sont pas toujours fiables, télécharger les paquetages sur http://wampserver.aviatechno.net dans la section Visual C++ Redistribuable Packages

- 2 - Appliquez la mise à jour 3.2.9 sur votre version de Wampserver
Wampserver update 3.2.9

- 3 - Lancez Wampserver

- 4 - Clic-Droit -> Outils -> Créer rapport de configuration Wampserver
Attendre la fin des opérations (Un certain temps)

- 4 - Clic-Droit -> Outils -> Rapport de configuration Wampserver

Ce rapport va s'ouvrir dans l'éditeur de texte défini par défaut, faites-en un Copier/Coller ici.

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.1 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Chris33 (---.w193-250.abo.wanadoo.fr)
Date: 18 August 2022 à 14:59

Oui pardon, il s'agit bien effectivement d'un site Wordpress en local.

Merci pour toutes vos indications et votre aide.

Je vais faire tout ce que vous m'avez indiqué et vous posterai le rapport ici

Merci encore

Cdlt

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Chris33 (---.w193-250.abo.wanadoo.fr)
Date: 18 August 2022 à 15:35

Je viens de réaliser les opérations et effectivement il me manquait un package que je viens d'installer.
J'ai toujours le même problème ; je possède maintenant le fichier de rapport de configuration Wampserver mais il est tellement long que je voulais savoir s'il y avait une façon de le mettre dans un post autre qu'un copier/coller car j'ai peur que ce soit incompréhensible à l'intérieur d'un message.

Merci encore

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Otomatic (Modérateur)
Date: 18 August 2022 à 17:54

Ça fait un peu plus de 500 lignes et pour moi, ce n'est pas incompréhensible.

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.1 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Chris33 (---.w193-250.abo.wanadoo.fr)
Date: 18 August 2022 à 18:28

Oui je me doute que pour vous ce n'est pas incompréhensible mais je voulais juste avoir la confirmation que je pouvais coller les 500 lignes dans mon post.

Je viens de le coller mais le post ne pars pas et un message me demande de réduite le nombre de lignes et comme je ne sais pas celles qui vous intéressent vraiment , je suis un peu coincé

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Otomatic (Modérateur)
Date: 18 August 2022 à 18:35

Normalement, ça doit faire moins de 600 lignes.

Je viens de faire un essai et on peut envoyer 900 lignes sur le forum

Quel est votre éditeur de texte par défaut ?
Celui qui est utilisé lorsque vous cliquez sur Clic-Droit -> Outils -> Rapport de configuration Wampserver
et combien de lignes y-a-t'il ?

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.1 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Chris33 (---.w193-250.abo.wanadoo.fr)
Date: 18 August 2022 à 19:18

Merci beaucoup pour votre réponse ; mon éditeur par défaut est notepad++ mais je viens de me rendre compte que quand je colle dans le post, j'ai des lignes qui viennent s'ajouter et que je ne vois pas dans le rapport ; je les ai donc supprimées mais je ne sais aps si cela va vous convenir.
Voici le rapport

1660829054
------ Wampserver configuration report
jeudi 18 août 2022 - 13:24
- Windows NT 10.0 build 22000 (Windows 10)
- Windows Charset: Windows-1252
- Wampserver version 3.2.9 - 64bit
- Wampserver install version 3.2.6 installed on 2022-03-05
- Update Updated to 3.2.9 on 2022-08-18
- Install directory: c:/wamp64
- Default browser: C:/Program Files/Mozilla Firefox/firefox.exe
- Default text editor: C:/Program Files/Notepad++/notepad++.exe
- Default log viewer: C:/Program Files/Notepad++/notepad++.exe
- Apache 2.4.51 - Port 80
- Additional Apache listening ports:
- PHP 7.4.26
MySQL versions seen by refresh listDir:
5.7.36
MariaDB versions seen by refresh listDir:
10.6.5
PHP versions seen by refresh listDir:
5.6.40 - 7.3.33 - 7.4.26 - 8.0.13 - 8.1.0
Apache versions seen by refresh listDir:
2.4.51
- MySQL 5.7.36 Port 3306
MySQL basedir = c:/wamp64/bin/mysql/mysql5.7.36
MySQL datadir = c:/wamp64/bin/mysql/mysql5.7.36/data
- MariaDB 10.6.5 Port 3307
MariaDB basedir = c:/wamp64/bin/mariadb/mariadb10.6.5
MariaDB datadir = c:/wamp64/bin/mariadb/mariadb10.6.5/data
- PHP 5.6.40 for CLI (Internal Wampserver PHP scripts)
------ Wampserver configuration ------
---------- Section [main]
language = french wampserverVersion = 3.2.9
installDir = c:/wamp64 installVersion = 3.2.6
navigator = C:/Program Files/Mozilla Firefox/firefox.exeeditor = C:/Program Files/Notepad++/notepad++.exe
logviewer = C:/Program Files/Notepad++/notepad++.exedefaultLanguage = english
wampserverMode = 64bit installDate = 2022-03-05
wampStartDate = 2022-08-18 13:23:34update3.2.9 = 2022-08-18
---------- Section [options]
AliasSubmenu = on NotCheckVirtualHost = off
NotCheckDuplicate = off VirtualHostSubMenu = on
HomepageAtStartup = off VhostAllLocalIp = on
SupportMySQL = on SupportMariaDB = on
ShowphmyadMenu = on ShowadminerMenu = on
NotVerifyPATH = off HostsLinesLimit = 5000
NotVerifyHosts = off NotVerifyTLD = off
AutoCleanLogs = on AutoCleanLogsMax = 1000
AutoCleanLogsMin = 50 AutoCleanTmp = on
AutoCleanTmpMax = 1000 BackupHosts = off
ShowWWWdirMenu = off MysqlMariaChangePrompt = off
LinksOnProjectsHomePage = off LocalTest = off
CreateSymlink = symlink LinksOnProjectsHomeByIp = off
ScrollListsHomePage = off
---------- Section [apacheoptions]
apacheUseOtherPort = off apachePortUsed = 80
apacheCompareVersion = off apacheRestoreFiles = off
apacheGracefulRestart = on apachePhpCurlDll = off
---------- Section [mysqloptions]
mysqlPortUsed = 3306 mysqlUseOtherPort = off
mysqlUseConsolePrompt = off mysqlConsolePrompt = \U-MySQL\v-['\d']>
mysqlPortOptionsMenu = on
---------- Section [mariadboptions]
mariaPortUsed = 3307 mariaUseOtherPort = on
mariadbUseConsolePrompt = off mariadbConsolePrompt = \U-\v-['\d']>
mariadbPortOptionsMenu = on
---------------------------------------------
------ C:/WINDOWS/system32/drivers/etc/hosts file contents ------
------ Limited to the first 30 lines ------
#
127.0.0.1 localhost
::1 localhost
127.0.0.1 yerres
::1 yerres
127.0.0.1 siteshtmlcss
::1 siteshtmlcss
127.0.0.1 import.localhost
::1 import.localhost
----------------------------------------------
-- c:/wamp64/bin/apache/apache2.4.51/conf/extra/httpd-vhosts.conf file contents --
------ Limited to the first 40 lines ------
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
#
#
<VirtualHost *:80>
ServerName siteshtmlcss
DocumentRoot "d:/tests_site_html_css"
<Directory "d:/tests_site_html_css/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName yerres
DocumentRoot "e:/sites/base_import_wp"
<Directory "e:/sites/base_import_wp/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
#
<VirtualHost *:80>
----------------------------------------------
-- PHP Configuration values
allow_url_fopen = On allow_url_include = Off
auto_append_file = auto_globals_jit = On
auto_prepend_file = date.timezone = UTC
default_charset = UTF-8 default_mimetype = text/html
disable_classes = disable_functions =
display_errors = On display_startup_errors = On
enable_dl = Off error_reporting = E_ALL
expose_php = On file_uploads = On
ignore_repeated_errors = Off ignore_repeated_source = Off
implicit_flush = Off log_errors = On
max_execution_time = 120 max_input_time = 60
max_input_vars = 2500 memory_limit = 128M
output_buffering = 4096 post_max_size = 8M
register_argc_argv = Off report_memleaks = On
request_order = GP session.save_path = c:/wamp64/tmp
short_open_tag = Off upload_max_filesize = 2M
upload_tmp_dir = c:/wamp64/tmp variables_order = GPCS
xdebug.log_level = 7 xdebug.mode = develop
xdebug.show_local_vars = 0 zend.enable_gc = On
zlib.output_compression = Off
--------------------------------------------------
--------- wampmanager.ini (Last 4 lines) --------
[Options]
AeTrayMode=64 Bits
AeTrayOldMode=64bit
AeTrayVersion=3.2.4.8
--------------------------------------------------
State of services:
The service 'wampapache64' is started
Service Session : LocalSystem
The service 'wampmysqld64' is started
Service Session : LocalSystem
The service 'wampmariadb64' is started
Service Session : LocalSystem
all services are started - it is OK
all services BINARY_PATH_NAME are OK
--------------------------------------------------
*** Checking the DNS search order ***
Values of registry keys for
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider
are in correct order
--------------------------------------------------
Wampmanager (Aestan Tray Menu) 3.2.4.8 - 64bit
Compiler Visual C++ versions used:
PHP 5.6.40 Compiler => MSVC11 (Visual C++ 2012) - Architecture => x64
PHP 7.3.33 Compiler => MSVC15 (Visual C++ 2017) - Architecture => x64
PHP 7.4.26 Compiler => Visual C++ 2017 - Architecture => x64
PHP 8.0.13 Compiler => Visual C++ 2019 - Architecture => x64
PHP 8.1.0 Compiler => Visual C++ 2019 - Architecture => x64
MySQL Ver 5.7.36 for Win64 on x86_64 (MySQL Community Server (GPL))
MariaDB Ver 10.6.5-MariaDB for Win64 on AMD64 (mariadb.org binary distribution)
Apache 2.4.51 Apache Lounge VS16 Server built: Oct 7 2021 16:27:02
Architecture: 64-bit
--------------------------------------------------
-- Apache loaded modules
- Core:
core_module http_module mpm_winnt_module
so_module win32_module
- Shared modules:
access_compat_module actions_module alias_module
allowmethods_module asis_module authn_core_module
authn_file_module authz_core_module authz_groupfile_module
authz_host_module authz_user_module auth_basic_module
auth_digest_module autoindex_module cache_disk_module
cache_module cgi_module dir_module
env_module fcgid_module file_cache_module
include_module isapi_module log_config_module
mime_module negotiation_module php7_module
rewrite_module setenvif_module userdir_module
vhost_alias_module
--------------------------------------------------
Apache includes
Included configuration files:
(*) C:/wamp64/bin/apache/apache2.4.51/conf/httpd.conf
(552) C:/wamp64/bin/apache/apache2.4.51/conf/extra/httpd-autoindex.conf
(564) C:/wamp64/bin/apache/apache2.4.51/conf/extra/httpd-vhosts.conf
(592) C:/wamp64/alias/adminer.conf
(592) C:/wamp64/alias/phpmyadmin.conf
(592) C:/wamp64/alias/phpmyadmin4.9.7.conf
(592) C:/wamp64/alias/phpsysinfo.conf
--------------------------------------------------
Apache variables (Define)
- With command httpd.exe -t -D DUMP_RUN_CFG
APACHE24 = Apache2.4
VERSION_APACHE = 2.4.51
INSTALL_DIR = c:/wamp64
APACHE_DIR = c:/wamp64/bin/apache/apache2.4.51
SRVROOT = c:/wamp64/bin/apache/apache2.4.51
PHPROOT = c:/wamp64/bin/php/php
--------------------------------------------------
VirtualHost configuration:
Default server: localhost
Virtual Host: localhost
Virtual Host: siteshtmlcss
Virtual Host: yerres
Virtual Host: import
--------------------------------------------------
-- PHP Loaded Extensions
With function get_loaded_extensions()
-- For PHP 7.4.26 used as Apache module
bcmath bz2 calendar com_dotnet Core ctype
curl date dom exif fileinfo filter
gd gettext gmp hash iconv imap
intl json ldap libxml mbstring mysqli
mysqlnd openssl pcre PDO pdo_mysql pdo_sqlite
Phar readline Reflection session SimpleXML soap
sockets SPL sqlite3 standard tokenizer xdebug
xml xmlreader xmlrpc xmlwriter xsl Zend OPcache
zip zlib
--------------------------------------------------
-- Use of PHP versions
PHP 5.6.40 used as CLI
PHP 7.3.33 not used
PHP 7.4.26 used as APACHE module
PHP 8.0.13 not used
PHP 8.1.0 not used
--------------------------------------------------
-- Show Excluded port by the System
With command:
netsh int ip show excludedportrange protocol=tcp
2869 5357
--------------------------------------------------
***** Check symbolic links *****
All symbolic links are OK
--------------------------------------------------
***** Test which uses port 80 *****
===== Tested by command netstat filtered on port 80 =====
Test for TCP
Your port 80 is used by a processus with PID = 23348
The processus of PID 23348 is 'httpd.exe' Session: Services
The service of PID 23348 for 'httpd.exe' is 'wampapache64'
This service is from Wampserver - It is correct
Test for TCPv6
Your port 80 is used by a processus with PID = 23348
The processus of PID 23348 is 'httpd.exe' Session: Services
The service of PID 23348 for 'httpd.exe' is 'wampapache64'
This service is from Wampserver - It is correct
===== Tested by attempting to open a socket on port 80 =====
Your port 80 is actually used by :
Server: Apache/2.4.51 (Win64) PHP/7.4.26 mod_fcgid/2.3.10-dev
--------------------------------------------------
***** Test which uses port 3306 *****
===== Tested by command netstat filtered on port 3306 =====
Test for TCP
Your port 3306 is used by a processus with PID = 15840
The processus of PID 15840 is 'mysqld.exe' Session: Services
The service of PID 15840 for 'mysqld.exe' is 'wampmysqld64'
This service is from Wampserver - It is correct
Test for TCPv6
Your port 3306 is used by a processus with PID = 15840
The processus of PID 15840 is 'mysqld.exe' Session: Services
The service of PID 15840 for 'mysqld.exe' is 'wampmysqld64'
This service is from Wampserver - It is correct
--------------------------------------------------
***** Test which uses port 3307 *****
===== Tested by command netstat filtered on port 3307 =====
Test for TCP
Your port 3307 is used by a processus with PID = 24540
The processus of PID 24540 is 'mysqld.exe' Session: Services
The service of PID 24540 for 'mysqld.exe' is 'wampmariadb64'
This service is from Wampserver - It is correct
Test for TCPv6
Your port 3307 is used by a processus with PID = 24540
The processus of PID 24540 is 'mysqld.exe' Session: Services
The service of PID 24540 for 'mysqld.exe' is 'wampmariadb64'
This service is from Wampserver - It is correct
--------------------------------------------------
-------- Apache error log (Last 30 lines) --------
[Thu Aug 18 11:09:11.809187 2022] [mpm_winnt:notice] [pid 12112:tid 720] AH00455: Apache/2.4.51 (Win64) PHP/7.4.26 configured -- resuming normal operations
[Thu Aug 18 11:09:11.809187 2022] [mpm_winnt:notice] [pid 12112:tid 720] AH00456: Apache Lounge VS16 Server built: Oct 7 2021 16:27:02
[Thu Aug 18 11:09:11.809187 2022] [core:notice] [pid 12112:tid 720] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.51\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.51'
[Thu Aug 18 11:09:11.856051 2022] [mpm_winnt:notice] [pid 12112:tid 720] AH00418: Parent: Created child process 17292
[Thu Aug 18 11:09:12.781666 2022] [mpm_winnt:notice] [pid 17292:tid 688] AH00354: Child: Starting 64 worker threads.
[Thu Aug 18 11:09:13.796720 2022] [mpm_winnt:notice] [pid 20036:tid 664] AH00364: Child: All worker threads have exited.
[Thu Aug 18 15:03:28.437725 2022] [mpm_winnt:notice] [pid 12112:tid 720] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Aug 18 15:03:30.468497 2022] [mpm_winnt:notice] [pid 17292:tid 688] AH00364: Child: All worker threads have exited.
[Thu Aug 18 15:03:31.983766 2022] [mpm_winnt:notice] [pid 12112:tid 720] AH00430: Parent: Child process 17292 exited successfully.
[Thu Aug 18 15:16:11.638852 2022] [mpm_winnt:notice] [pid 14748:tid 736] AH00455: Apache/2.4.51 (Win64) PHP/7.4.26 configured -- resuming normal operations
[Thu Aug 18 15:16:11.639849 2022] [mpm_winnt:notice] [pid 14748:tid 736] AH00456: Apache Lounge VS16 Server built: Oct 7 2021 16:27:02
[Thu Aug 18 15:16:11.639849 2022] [core:notice] [pid 14748:tid 736] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.51\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.51'
[Thu Aug 18 15:16:11.692707 2022] [mpm_winnt:notice] [pid 14748:tid 736] AH00418: Parent: Created child process 23460
[Thu Aug 18 15:16:12.016842 2022] [mpm_winnt:notice] [pid 23460:tid 656] AH00354: Child: Starting 64 worker threads.
[Thu Aug 18 15:18:43.095559 2022] [mpm_winnt:notice] [pid 14748:tid 736] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Aug 18 15:18:45.126334 2022] [mpm_winnt:notice] [pid 23460:tid 656] AH00364: Child: All worker threads have exited.
[Thu Aug 18 15:18:45.626217 2022] [mpm_winnt:notice] [pid 14748:tid 736] AH00430: Parent: Child process 23460 exited successfully.
[Thu Aug 18 15:22:02.304136 2022] [mpm_winnt:notice] [pid 18500:tid 752] AH00455: Apache/2.4.51 (Win64) PHP/7.4.26 configured -- resuming normal operations
[Thu Aug 18 15:22:02.304136 2022] [mpm_winnt:notice] [pid 18500:tid 752] AH00456: Apache Lounge VS16 Server built: Oct 7 2021 16:27:02
[Thu Aug 18 15:22:02.304136 2022] [core:notice] [pid 18500:tid 752] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.51\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.51'
[Thu Aug 18 15:22:02.355997 2022] [mpm_winnt:notice] [pid 18500:tid 752] AH00418: Parent: Created child process 24256
[Thu Aug 18 15:22:02.674147 2022] [mpm_winnt:notice] [pid 24256:tid 684] AH00354: Child: Starting 64 worker threads.
[Thu Aug 18 15:22:35.123007 2022] [mpm_winnt:notice] [pid 18500:tid 752] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Aug 18 15:22:37.153272 2022] [mpm_winnt:notice] [pid 24256:tid 684] AH00364: Child: All worker threads have exited.
[Thu Aug 18 15:22:38.599509 2022] [mpm_winnt:notice] [pid 18500:tid 752] AH00430: Parent: Child process 24256 exited successfully.
[Thu Aug 18 15:23:38.020862 2022] [mpm_winnt:notice] [pid 23348:tid 788] AH00455: Apache/2.4.51 (Win64) PHP/7.4.26 mod_fcgid/2.3.10-dev configured -- resuming normal operations
[Thu Aug 18 15:23:38.020862 2022] [mpm_winnt:notice] [pid 23348:tid 788] AH00456: Apache Lounge VS16 Server built: Oct 7 2021 16:27:02
[Thu Aug 18 15:23:38.020862 2022] [core:notice] [pid 23348:tid 788] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.51\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.51'
[Thu Aug 18 15:23:38.020862 2022] [mpm_winnt:notice] [pid 23348:tid 788] AH00418: Parent: Created child process 19244
[Thu Aug 18 15:23:38.334497 2022] [mpm_winnt:notice] [pid 19244:tid 708] AH00354: Child: Starting 64 worker threads.
--------------------------------------------------
-------- Apache access log (Last 30 lines) --------
127.0.0.1 - - [18/Aug/2022:11:08:33 +0200] "GET /img/pngWrench.png HTTP/1.1" 404 281
127.0.0.1 - - [18/Aug/2022:11:08:56 +0200] "POST /add_vhost.php?lang=french HTTP/1.1" 200 3842
127.0.0.1 - - [18/Aug/2022:11:08:56 +0200] "GET /img/gifLogo.gif HTTP/1.1" 404 281
127.0.0.1 - - [18/Aug/2022:11:09:30 +0200] "POST /add_vhost.php?lang=french HTTP/1.1" 200 6114
127.0.0.1 - - [18/Aug/2022:11:09:30 +0200] "GET /img/gifLogo.gif HTTP/1.1" 404 281
127.0.0.1 - - [18/Aug/2022:11:09:30 +0200] "GET /img/pngWrench.png HTTP/1.1" 404 281
127.0.0.1 - - [18/Aug/2022:11:09:33 +0200] "GET /add_vhost.php?lang=french HTTP/1.1" 200 5697
127.0.0.1 - - [18/Aug/2022:11:09:39 +0200] "GET /add_vhost.php?lang=french HTTP/1.1" 200 5697
127.0.0.1 - - [18/Aug/2022:11:09:54 +0200] "GET / HTTP/1.1" 200 6482
127.0.0.1 - - [18/Aug/2022:11:10:06 +0200] "GET / HTTP/1.1" 200 6482
127.0.0.1 - - [18/Aug/2022:11:17:02 +0200] "GET / HTTP/1.1" 200 6482
127.0.0.1 - - [18/Aug/2022:11:17:02 +0200] "GET /wampthemes/classic/style.css HTTP/1.1" 200 4170
127.0.0.1 - - [18/Aug/2022:11:25:11 +0200] "GET / HTTP/1.1" 200 6482
127.0.0.1 - - [18/Aug/2022:11:25:11 +0200] "GET /wampthemes/classic/style.css HTTP/1.1" 200 4170
127.0.0.1 - - [18/Aug/2022:11:29:14 +0200] "GET / HTTP/1.1" 200 6482
127.0.0.1 - - [18/Aug/2022:11:29:14 +0200] "GET /wampthemes/classic/style.css HTTP/1.1" 200 4170
127.0.0.1 - - [18/Aug/2022:12:27:13 +0200] "GET / HTTP/1.1" 200 6482
127.0.0.1 - - [18/Aug/2022:12:27:13 +0200] "GET /wampthemes/classic/style.css HTTP/1.1" 200 4170
127.0.0.1 - - [18/Aug/2022:12:27:16 +0200] "GET / HTTP/1.1" 200 6482
127.0.0.1 - - [18/Aug/2022:14:55:37 +0200] "GET / HTTP/1.1" 200 6482
127.0.0.1 - - [18/Aug/2022:14:55:37 +0200] "GET /wampthemes/classic/style.css HTTP/1.1" 200 4170
127.0.0.1 - - [18/Aug/2022:15:16:18 +0200] "GET / HTTP/1.1" 200 6482
127.0.0.1 - - [18/Aug/2022:15:16:18 +0200] "GET /wampthemes/classic/style.css HTTP/1.1" 200 4170
127.0.0.1 - - [18/Aug/2022:15:16:41 +0200] "GET / HTTP/1.1" 200 6482
127.0.0.1 - - [18/Aug/2022:15:16:41 +0200] "GET /wampthemes/classic/style.css HTTP/1.1" 200 4170
127.0.0.1 - - [18/Aug/2022:15:16:41 +0200] "GET /wampthemes/classic/img/gifLogo1.gif HTTP/1.1" 200 2681
127.0.0.1 - - [18/Aug/2022:15:16:41 +0200] "GET /wampthemes/classic/img/pngWrench.png HTTP/1.1" 200 741
127.0.0.1 - - [18/Aug/2022:15:22:11 +0200] "GET / HTTP/1.1" 200 6482
127.0.0.1 - - [18/Aug/2022:15:22:11 +0200] "GET /wampthemes/classic/style.css HTTP/1.1" 200 4170
127.0.0.1 - - [18/Aug/2022:15:24:12 +0200] "GET / HTTP/1.1" 200 21183
--------------------------------------------------
-------- PHP error log (Last 30 lines) --------
[10-Mar-2022 16:56:10 UTC] PHP 5. WP_Hook->apply_filters($value = '', $args = [0 => '']) E:\Sites\Base_Import_WP\wp-includes\class-wp-hook.php:331
[10-Mar-2022 16:56:10 UTC] PHP 6. LoginWithAjaxAdmin->options('') E:\Sites\Base_Import_WP\wp-includes\class-wp-hook.php:307
[10-Mar-2022 18:13:22 UTC] Erreur de la base de données WordPress : Erreur de syntaxe près de 'CONTAINS '[restrict]' OR
post_content CONTAINS '[not_' à la ligne 2 pour la requête SELECT * FROM wp_posts WHERE
post_content CONTAINS '[restrict]' OR
post_content CONTAINS '[not_logged_in]' OR
post_content CONTAINS '[login_form]' OR
post_content CONTAINS '[register_form]' OR
LIMIT 1 faite par activate_plugin, plugin_sandbox_scrape, include_once('/plugins/restrict-content/restrictcontent.php'), RC_Requirements_Check->__construct, RC_Requirements_Check->load, RC_Requirements_Check->restrict_content_check_posts_for_shortcode
[16-Mar-2022 18:32:53 UTC] PHP Notice: Undefined variable: email in D:\Test_Site_Main\form-handler.php on line 21
[16-Mar-2022 18:32:53 UTC] PHP Stack trace:
[16-Mar-2022 18:32:53 UTC] PHP 1. {main}() D:\Test_Site_Main\form-handler.php:0
[16-Mar-2022 18:32:55 UTC] PHP Warning: mail(): Failed to connect to mailserver at &quot;localhost&quot; port 25, verify your &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use ini_set() in
[17-Aug-2022 22:18:18 UTC] rewrite hosts
[17-Aug-2022 22:58:16 UTC] rewrite hosts
[18-Aug-2022 09:07:59 UTC] rewrite hosts
[18-Aug-2022 13:16:09 UTC] rewrite hosts
--------------------------------------------------
-------- MySQL error log (Last 30 lines) --------
--- File created by Wampserver installation ---
2022-03-05T21:55:05.424815Z 0 [Warning] InnoDB: Resizing redo log from 2*3072 to 2*1280 pages, LSN=2749732
2022-03-05T21:55:05.540123Z 0 [Warning] InnoDB: Starting to delete and rewrite log files.
2022-03-05T21:55:05.617856Z 0 [Warning] InnoDB: New log files created, LSN=2749732
--------------------------------------------------
-------- MariaDB error log (Last 30 lines) --------
2022-08-18 15:22:04 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2022-08-18 15:22:04 0 [Note] InnoDB: 10.6.5 started; log sequence number 42754; transaction id 14
2022-08-18 15:22:04 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-08-18 15:22:04 0 [Note] Server socket created on IP: '::'.
2022-08-18 15:22:04 0 [Note] Server socket created on IP: '0.0.0.0'.
2022-08-18 15:22:04 0 [Note] c:\wamp64\bin\mariadb\mariadb10.6.5\bin\mysqld.exe: ready for connections.
Version: '10.6.5-MariaDB' socket: '' port: 3307 mariadb.org binary distribution
2022-08-18 15:22:35 0 [Note] Windows service "wampmariadb64": received SERVICE_CONTROL_STOP
2022-08-18 15:22:35 0 [Note] c:\wamp64\bin\mariadb\mariadb10.6.5\bin\mysqld.exe (unknown): Arrêt normal du serveur
2022-08-18 15:22:35 0 [Note] InnoDB: FTS optimize thread exiting.
2022-08-18 15:22:35 0 [Note] InnoDB: Starting shutdown...
2022-08-18 15:22:35 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
2022-08-18 15:22:35 0 [Note] InnoDB: Shutdown completed; log sequence number 42766; transaction id 15
2022-08-18 15:22:35 0 [Note] c:\wamp64\bin\mariadb\mariadb10.6.5\bin\mysqld.exe: Arrêt du serveur terminé
2022-08-18 15:23:38 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-08-18 15:23:38 0 [Note] InnoDB: Number of pools: 1
2022-08-18 15:23:38 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2022-08-18 15:23:38 0 [Note] InnoDB: Initializing buffer pool, total size = 1073741824, chunk size = 134217728
2022-08-18 15:23:38 0 [Note] InnoDB: Completed initialization of buffer pool
2022-08-18 15:23:38 0 [Note] InnoDB: 128 rollback segments are active.
2022-08-18 15:23:38 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-08-18 15:23:38 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-08-18 15:23:38 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2022-08-18 15:23:38 0 [Note] InnoDB: 10.6.5 started; log sequence number 42766; transaction id 14
2022-08-18 15:23:38 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-08-18 15:23:38 0 [Note] Server socket created on IP: '::'.
2022-08-18 15:23:38 0 [Note] Server socket created on IP: '0.0.0.0'.
2022-08-18 15:23:38 0 [Note] c:\wamp64\bin\mariadb\mariadb10.6.5\bin\mysqld.exe: ready for connections.
Version: '10.6.5-MariaDB' socket: '' port: 3307 mariadb.org binary distribution
--------------------------------------------------

Avec tous ems remerciements

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Otomatic (Modérateur)
Date: 18 August 2022 à 19:55

Erreur de la base de données WordPress.
Ça se voit dans le fichier php_error.log

Voir avec les items vérifier et réparer dans Phpmyadmin

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.1 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Otomatic (Modérateur)
Date: 18 August 2022 à 20:26

J'ajoute que c'est la table wp_posts

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.1 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Chris33 (---.w193-250.abo.wanadoo.fr)
Date: 18 August 2022 à 21:23

Merci beaucoup pour d'avoir pris le temps de regarder et pour votre réponse.
Je ne sais pas trop ce que je vais faire car je ne savais déjà même pas que l'on pouvait réparer une base avec PhpMyMadmin.

Après ce n'est un site perso mais vu le temps que j'ai passé dessus, c'est vrai que j’aimerai quand même bien essayer de réparer ; je vais voir

En tout cas merci encore pour votre gentillesse et votre aide

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Chris33 (---.w193-250.abo.wanadoo.fr)
Date: 18 August 2022 à 23:17

Dans le coup j'ai trouvé comment réparer ma table dans PhpMyadmin ; je les ai checkées et elles sont toutes OK.
Par contre, mon problème persiste et plus je réfléchis, plus je me demande si ce n'est pas un souci de connexion car je n'ai toujours pas de message d'erreur et la page Firefox m'affiche : " Hum, impossible de se connecter au serveur à l'adresse NomDeMonSite etc....." ; et dans la barre URL, c'est bien le nom de mon site .....
Donc, je vais chercher de ce côté là je pense....

C'était juste pour info.

Et merci encore pour l'aide apportée

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Otomatic (Modérateur)
Date: 19 August 2022 à 09:02

Mettez à zéro les fichiers de log par :
Clic-Droit -> Redémarrer de zéro

Puis essayez de lancez votre site WP et, après l'erreur de connexion, allez voir les fichiers de log PHP, Apache et MySQL qui sont directement accessibles par les menus Clic-Gauche.

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.1 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Chris33 (---.w193-250.abo.wanadoo.fr)
Date: 19 August 2022 à 10:35

Bonjour,

Merci pour ces infos.
Après remise à zero, les fichiers log de PHP et MySql m'affichent chacun ceci :

--- File cleaned up by Wampserver ---
--- on 2022-08-19 08:27

Pour Apache, j'ai ces lignes là mais cela ne me parle pas beaucoup...

--- File cleaned up by Wampserver ---
--- on 2022-08-19 08:27
[Fri Aug 19 10:27:14.839470 2022] [mpm_winnt:notice] [pid 13724:tid 760] AH00455: Apache/2.4.51 (Win64) PHP/7.4.26 mod_fcgid/2.3.10-dev configured -- resuming normal operations
[Fri Aug 19 10:27:14.839470 2022] [mpm_winnt:notice] [pid 13724:tid 760] AH00456: Apache Lounge VS16 Server built: Oct 7 2021 16:27:02
[Fri Aug 19 10:27:14.839470 2022] [core:notice] [pid 13724:tid 760] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.51\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.51'
[Fri Aug 19 10:27:14.839470 2022] [mpm_winnt:notice] [pid 13724:tid 760] AH00418: Parent: Created child process 25796
[Fri Aug 19 10:27:15.152637 2022] [mpm_winnt:notice] [pid 25796:tid 704] AH00354: Child: Starting 64 worker threads.

Sinon, quand je lance ma base j'ai toujours "Adresse introuvable" mais j'y accède toujours sans souci via PhpMyAdmin ou MySQL...

Pour moi, c'est à n'y rien comprendre ; j'ai l'impression de me trouver dans la même situation que lorsque l'on ne peut pas se connecter à un site Internet quelconque..

Merci

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Otomatic (Modérateur)
Date: 19 August 2022 à 11:07

C'est apache_access.log qu'il faut aller voir. Il n'y a aucun problème dans apache_error.log
Et dans php_error.log y'a quelque chose ?

> Sinon, quand je lance ma base...
Là vous confondez votre site local WordPress avec sa base de données afférente.

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.1 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Chris33 (---.w193-250.abo.wanadoo.fr)
Date: 19 August 2022 à 12:15

php_Error_log m'affiche bien ce message

--- File cleaned up by Wampserver ---
--- on 2022-08-19 08:27

C'est pour cela que je vous dis honnêtement que je ne comprends pas ce qu'il se passe......
Et pourtant, j'ai bien un souci quelque part.....

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Otomatic (Modérateur)
Date: 19 August 2022 à 15:27

Dans la base de données, table wp_options, quelles sont les valeurs des champs home et site_url ?

Dans le fichier wp_config vérifier que les Nom de l'Utilisateur et le Mot de passe sont les bons.

------------------------------------------------------------------------------------------------------------
Wampserver 3.3.0 32 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40 - MariaDB 10.5.13/10.6.5
Wampserver 3.3.0 64 bit - Apache 2.4.54.2 - PHP 8.2.4…7.4.33 - MySQL 5.7.40/8.0.31 - MariaDB 10.5.17/10.10.2
PhPMyadmin 5.2.1 - MysqlDumper 1.24.5
on W10 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Re: Connexion impossible base WP avec Virtual Host
Envoyé par: Chris33 (---.w193-250.abo.wanadoo.fr)
Date: 19 August 2022 à 15:45

Encore une fois, merci d'essayer de m'aider

Dans le fichier wp_config, les valeurs Utilisateur et mot de passe sont bonnes.

Dans la table wp_options, les valeurs des champs Home et site_url sont les mêmes, à savoir : [lbase-import-wp]

Aller à : Liste des Forums•Liste des messages•Recherche•Connexion
Désolé, seuls les utilisateurs connectés peuvent envoyer des messages dans ce forum.
Cliquer ici pour se connecter

design by jidePowered by Alter Way get firefoxget PHP