WampServer

Apache, PHP, MySQL on Windows 

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

 
Voir le sujet: Précédent•Suivant
Aller à : Liste des Forums•Liste des messages•Nouvelle discussion•Recherche•Connexion•Imprimer la vue
Liens virtualhost
Envoyé par: wroom69 (---.fbx.proxad.net)
Date: 21 November 2021 à 12:33

Bonjour,
Sur localhost -> Vos VirtualHost, les liens sont sans "localhost" donc ils portent sur les sites en lignes.
Dans la création de site j'ai réussi en manuel ->copier collé du dossier installation . La base de donnée a été importée.
Par contre une installation avec une sauvegarde akeeba et création d'une base de donnée une fois installée je n'ai pas accés au site.
->La connexion a échoué
Le fichier de configuration semble correct
Par contre l'installation de joomla avec un pack d'installation a réussi



Modifie 1 fois. Derniere modification le 21/11/2021 à 13:39 par wroom69.

Options: Répondre•Citer ce Message
Re: Liens virtualhost
Envoyé par: Otomatic (Modérateur)
Date: 21 November 2021 à 14:23

Bonjour,

> Sur localhost -> Vos VirtualHost, les liens sont sans "localhost" donc ils portent sur les sites en lignes.
Non.
Ils « portent » sur le ServerName défini dans le VirtualHost.
Si le site en ligne est "monsite.com", il est évident qu'il ne faut pas déclarer le ServerName avec le même nom, mais par exemple comme "moniste" ou "monsite.local".

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 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 »

Options: Répondre•Citer ce Message
Re: Liens virtualhost
Envoyé par: wroom69 (---.fbx.proxad.net)
Date: 21 November 2021 à 18:39

Bonjour,
VirtualHost ->serveurName ->mateis

Je clique sur mateis j'obtiens le site en ligne [mornant-massage.fr]
Si j'écris l'url [localhost] j'obtient le site en local

Je n'ai pas créé le dossier du site en lançant l'explorateur de fichiers en tant qu'administrateur.



Modifie 1 fois. Derniere modification le 21/11/2021 à 18:56 par wroom69.

Options: Répondre•Citer ce Message
Re: Liens virtualhost
Envoyé par: Otomatic (Modérateur)
Date: 22 November 2021 à 09:15

Bonjour,

Clic-Droit -> Outils -> Créer rapport de configuration Wampserver

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

Coller ici le contenu.

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 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 »

Options: Répondre•Citer ce Message
Re: Liens virtualhost
Envoyé par: wroom69 (---.fbx.proxad.net)
Date: 22 November 2021 à 10:38

La création du rapport a été bloqué par avast
->Nous avons bloqué testPort.php car le site est infecté par IDP.Generic.
J'ai analysé avec Malwarebytes pas de détection IDP.Generic.
J'ai quand même un rapport
1637567896
------ Wampserver configuration report
Mon, 22 Nov 2021 07:58:16 +0000
- Windows NT 6.1 build 7601 (Windows 7 Home Premium Edition Service Pack 1)
- Windows Charset: Windows-1252
- Wampserver version 3.2.5 - 64bit
- Wampserver install version unknown
- Install directory: c:/wamp64
- Default browser: C:/Program Files (x86)/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.39 - Port 80
- Additional Apache listening ports:
- PHP 7.2.18
- MySQL 5.7.26 Port 3306
MySQL basedir = c:/wamp64/bin/mysql/mysql5.7.26
MySQL datadir = c:/wamp64/bin/mysql/mysql5.7.26/data
- MariaDB 10.3.14 Port 3307
MariaDB basedir = c:/wamp64/bin/mariadb/mariadb10.3.14
MariaDB datadir = c:/wamp64/bin/mariadb/mariadb10.3.14/data
- PHP 5.6.40 for CLI (Internal Wampserver PHP scripts)
------ Wampserver configuration ------
AliasSubmenu = off - NotCheckVirtualHost = off
NotCheckDuplicate = off - VirtualHostSubMenu = on
HomepageAtStartup = off - VhostAllLocalIp = off
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 - CreateSymlink = symlink
BackupHosts = off - ShowWWWdirMenu = off
------ 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 mateis
::1 mateis
127.0.0.1 petanque
::1 petanque
127.0.0.1 joomla4
::1 joomla4
127.0.0.1 joomla3
::1 joomla3
127.0.0.1 aquarelle
::1 aquarelle
127.0.0.1 petanque2
::1 petanque2
----------------------------------------------
-- c:/wamp64/bin/apache/apache2.4.39/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 mateis
DocumentRoot "c:/wamp64/www/mateis"
<Directory "c:/wamp64/www/mateis/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName petanque
DocumentRoot "c:/wamp64/www/petanque"
<Directory "c:/wamp64/www/petanque/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
----------------------------------------------
--------- wampmanager.ini (Last 4 lines) --------
[Options]
AeTrayMode=64 Bits
AeTrayOldMode=64bit
AeTrayVersion=3.2.3.7
--------------------------------------------------
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.3.7 - 64bit
Compiler Visual C++ versions used:
PHP 5.6.40 Compiler => MSVC11 (Visual C++ 2012)
Architecture => x64
is compatible with Apache 2.4.39
PHP 7.0.33 Compiler => MSVC14 (Visual C++ 2015)
Architecture => x64
is compatible with Apache 2.4.39
PHP 7.1.29 Compiler => MSVC14 (Visual C++ 2015)
Architecture => x64
is compatible with Apache 2.4.39
PHP 7.2.18 Compiler => MSVC15 (Visual C++ 2017)
Architecture => x64
is compatible with Apache 2.4.39
PHP 7.3.5 Compiler => MSVC15 (Visual C++ 2017)
Architecture => x64
is compatible with Apache 2.4.39
MySQL Ver 5.7.26 for Win64 on x86_64 (MySQL Community Server (GPL))
MariaDB Ver 10.3.14-MariaDB for Win64 on AMD64 (mariadb.org binary distribution)
Apache 2.4.39 Apache Lounge VC15 Server built: Mar 28 2019 11:59:33
Architecture: 64-bit
--------------------------------------------------
VirtualHost configuration:
Default server: localhost
Virtual Host: localhost
Virtual Host: mateis
Virtual Host: petanque
Virtual Host: joomla4
Virtual Host: joomla3
Virtual Host: aquarelle
Virtual Host: petanque2
--------------------------------------------------
***** 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 = 7992
The processus of PID 7992 is 'httpd.exe' Session: Services
The service of PID 7992 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 = 7992
The processus of PID 7992 is 'httpd.exe' Session: Services
The service of PID 7992 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.39 (Win64) PHP/7.2.18
--------------------------------------------------
***** 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 = 6612
The processus of PID 6612 is 'mysqld.exe' Session: Services
The service of PID 6612 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 = 6612
The processus of PID 6612 is 'mysqld.exe' Session: Services
The service of PID 6612 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 = 8572
The processus of PID 8572 is 'mysqld.exe' Session: Services
The service of PID 8572 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 = 8572
The processus of PID 8572 is 'mysqld.exe' Session: Services
The service of PID 8572 for 'mysqld.exe' is 'wampmariadb64'
This service is from Wampserver - It is correct
--------------------------------------------------
-------- Apache error log (Last 30 lines) --------
[Sun Nov 21 11:47:00.886730 2021] [mpm_winnt:notice] [pid 6240:tid 424] AH00430: Parent: Child process 7552 exited successfully.
[Sun Nov 21 11:47:08.385159 2021] [mpm_winnt:notice] [pid 2712:tid 424] AH00455: Apache/2.4.39 (Win64) PHP/7.2.18 configured -- resuming normal operations
[Sun Nov 21 11:47:08.386159 2021] [mpm_winnt:notice] [pid 2712:tid 424] AH00456: Apache Lounge VC15 Server built: Mar 28 2019 11:59:33
[Sun Nov 21 11:47:08.386159 2021] [core:notice] [pid 2712:tid 424] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.39\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.39'
[Sun Nov 21 11:47:08.388159 2021] [mpm_winnt:notice] [pid 2712:tid 424] AH00418: Parent: Created child process 6272
[Sun Nov 21 11:47:09.127201 2021] [mpm_winnt:notice] [pid 6272:tid 340] AH00354: Child: Starting 64 worker threads.
[Sun Nov 21 14:00:18.451164 2021] [mpm_winnt:notice] [pid 2712:tid 424] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Nov 21 14:00:20.459279 2021] [mpm_winnt:notice] [pid 6272:tid 340] AH00364: Child: All worker threads have exited.
[Sun Nov 21 14:00:20.562285 2021] [mpm_winnt:notice] [pid 2712:tid 424] AH00430: Parent: Child process 6272 exited successfully.
[Sun Nov 21 14:00:22.037369 2021] [mpm_winnt:notice] [pid 8908:tid 424] AH00455: Apache/2.4.39 (Win64) PHP/7.2.18 configured -- resuming normal operations
[Sun Nov 21 14:00:22.037369 2021] [mpm_winnt:notice] [pid 8908:tid 424] AH00456: Apache Lounge VC15 Server built: Mar 28 2019 11:59:33
[Sun Nov 21 14:00:22.037369 2021] [core:notice] [pid 8908:tid 424] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.39\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.39'
[Sun Nov 21 14:00:22.040370 2021] [mpm_winnt:notice] [pid 8908:tid 424] AH00418: Parent: Created child process 9100
[Sun Nov 21 14:00:22.602402 2021] [mpm_winnt:notice] [pid 9100:tid 340] AH00354: Child: Starting 64 worker threads.
[Sun Nov 21 14:06:36.404367 2021] [mpm_winnt:notice] [pid 8908:tid 424] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Nov 21 14:06:38.432371 2021] [mpm_winnt:notice] [pid 9100:tid 340] AH00364: Child: All worker threads have exited.
[Sun Nov 21 14:06:39.415173 2021] [mpm_winnt:notice] [pid 8908:tid 424] AH00430: Parent: Child process 9100 exited successfully.
[Sun Nov 21 17:57:18.884650 2021] [mpm_winnt:notice] [pid 6572:tid 424] AH00455: Apache/2.4.39 (Win64) PHP/7.2.18 configured -- resuming normal operations
[Sun Nov 21 17:57:18.935653 2021] [mpm_winnt:notice] [pid 6572:tid 424] AH00456: Apache Lounge VC15 Server built: Mar 28 2019 11:59:33
[Sun Nov 21 17:57:18.935653 2021] [core:notice] [pid 6572:tid 424] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.39\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.39'
[Sun Nov 21 17:57:18.941653 2021] [mpm_winnt:notice] [pid 6572:tid 424] AH00418: Parent: Created child process 6684
[Sun Nov 21 17:57:19.557688 2021] [mpm_winnt:notice] [pid 6684:tid 340] AH00354: Child: Starting 64 worker threads.
[Sun Nov 21 19:50:01.497785 2021] [mpm_winnt:notice] [pid 6572:tid 424] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Sun Nov 21 19:50:03.697389 2021] [mpm_winnt:notice] [pid 6684:tid 340] AH00364: Child: All worker threads have exited.
[Sun Nov 21 19:50:04.789391 2021] [mpm_winnt:notice] [pid 6572:tid 424] AH00430: Parent: Child process 6684 exited successfully.
[Mon Nov 22 08:57:06.789435 2021] [mpm_winnt:notice] [pid 7992:tid 424] AH00455: Apache/2.4.39 (Win64) PHP/7.2.18 configured -- resuming normal operations
[Mon Nov 22 08:57:06.856439 2021] [mpm_winnt:notice] [pid 7992:tid 424] AH00456: Apache Lounge VC15 Server built: Mar 28 2019 11:59:33
[Mon Nov 22 08:57:06.856439 2021] [core:notice] [pid 7992:tid 424] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.39\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.39'
[Mon Nov 22 08:57:06.859439 2021] [mpm_winnt:notice] [pid 7992:tid 424] AH00418: Parent: Created child process 7980
[Mon Nov 22 08:57:07.513477 2021] [mpm_winnt:notice] [pid 7980:tid 340] AH00354: Child: Starting 64 worker threads.
--------------------------------------------------
-------- Apache access log (Last 30 lines) --------
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/plugins/boxtal-connect/Boxtal/BoxtalConnectWoocommerce/assets/css/parcel-point.css?ver=1.2.1 HTTP/1.1" 200 3268
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/themes/customizr/assets/front/css/style.min.css?ver=4.1.53 HTTP/1.1" 200 190500
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/plugins/woocommerce/assets/css/woocommerce-layout.css?ver=3.9.4 HTTP/1.1" 200 17639
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/plugins/easy-table-of-contents/assets/css/screen.min.css?ver=1.7 HTTP/1.1" 200 5330
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/plugins/easy-table-of-contents/vendor/icomoon/style.min.css?ver=1.7 HTTP/1.1" 200 369
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/plugins/jetpack/modules/widgets/social-icons/social-icons.css?ver=20170506 HTTP/1.1" 200 1401
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/plugins/tablepress/css/default.min.css?ver=1.10 HTTP/1.1" 200 5871
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/plugins/jetpack/modules/widgets/eu-cookie-law/style.css?ver=20170403 HTTP/1.1" 200 1827
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/plugins/woocommerce/assets/css/woocommerce.css?ver=3.9.4 HTTP/1.1" 200 62669
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/plugins/elementor/assets/lib/animations/animations.min.css?ver=2.8.5 HTTP/1.1" 200 18468
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/plugins/elementor/assets/lib/eicons/css/elementor-icons.min.css?ver=5.5.0 HTTP/1.1" 200 14983
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/uploads/elementor/css/global.css?ver=1636912526 HTTP/1.1" 200 5530
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/uploads/elementor/css/post-2.css?ver=1636912526 HTTP/1.1" 200 6640
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/plugins/elementor/assets/css/frontend.min.css?ver=2.8.5 HTTP/1.1" 200 104338
127.0.0.1 - - [21/Nov/2021:18:02:51 +0100] "GET /mateis/wp-content/plugins/woocommerce/assets/css/woocommerce-smallscreen.css?ver=3.9.4 HTTP/1.1" 200 6758
127.0.0.1 - - [21/Nov/2021:18:02:53 +0100] "GET /mateis/wp-content/themes/customizr/assets/shared/fonts/customizr/customizr.woff2?128396981 HTTP/1.1" 200 4436
127.0.0.1 - - [21/Nov/2021:18:02:54 +0100] "GET /favicon.ico HTTP/1.1" 200 202575
127.0.0.1 - - [21/Nov/2021:18:02:54 +0100] "GET /mateis/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.woff2?5.5.0 HTTP/1.1" 200 72716
127.0.0.1 - - [21/Nov/2021:18:02:54 +0100] "GET /mateis/wp-content/uploads/2020/12/bienvenue-mateis-o-bien-etre.jpg HTTP/1.1" 200 38396
127.0.0.1 - - [21/Nov/2021:18:02:54 +0100] "GET /mateis/wp-content/uploads/2020/12/centre-mateis-o-bien-etre-ch%C3%A8que-cadeau-2.jpg HTTP/1.1" 200 35612
127.0.0.1 - - [21/Nov/2021:18:02:55 +0100] "GET /mateis/wp-content/plugins/featured-image-from-url/includes/html/css/woo.css?ver=5.8.2 HTTP/1.1" 200 76
127.0.0.1 - - [21/Nov/2021:18:02:47 +0100] "GET /mateis/ HTTP/1.1" 200 137934
127.0.0.1 - - [21/Nov/2021:18:02:55 +0100] "GET /mateis/wp-content/themes/customizr/assets/shared/fonts/fa/webfonts/fa-brands-400.woff2?v=5.5.0 HTTP/1.1" 200 69608
127.0.0.1 - - [21/Nov/2021:18:02:56 +0100] "GET /mateis/wp-content/themes/customizr/assets/front/css/flickity.min.css HTTP/1.1" 200 1859
127.0.0.1 - - [21/Nov/2021:18:02:56 +0100] "GET /mateis/wp-content/themes/customizr/assets/front/css/magnific-popup.min.css HTTP/1.1" 200 5235
127.0.0.1 - - [21/Nov/2021:18:02:56 +0100] "GET /mateis/wp-content/themes/customizr/assets/front/js/libs/jquery-magnific-popup.min.js HTTP/1.1" 200 20087
127.0.0.1 - - [21/Nov/2021:18:02:56 +0100] "GET /mateis/wp-content/themes/customizr/assets/front/js/libs/flickity-pkgd.min.js HTTP/1.1" 200 53859
127.0.0.1 - - [21/Nov/2021:18:02:56 +0100] "POST /mateis/?wc-ajax=get_refreshed_fragments HTTP/1.1" 200 274
127.0.0.1 - - [21/Nov/2021:18:07:49 +0100] "GET /favicon.ico HTTP/1.1" 200 202575
127.0.0.1 - - [22/Nov/2021:08:58:15 +0100] "GET / HTTP/1.1" 200 6567
--------------------------------------------------
-------- PHP error log (Last 30 lines) --------
[21-Nov-2021 07:02:46 UTC] PHP 1. {main}() C:\wamp64\www\petanque\index.php:0
[21-Nov-2021 07:02:46 UTC] PHP 2. require_once() C:\wamp64\www\petanque\index.php:40
[21-Nov-2021 07:02:49 UTC] PHP Fatal error: Cannot redeclare JConfig::$tmp_path in C:\wamp64\www\petanque\configuration.php on line 68
[21-Nov-2021 07:02:49 UTC] PHP Stack trace:
[21-Nov-2021 07:02:49 UTC] PHP 1. {main}() C:\wamp64\www\petanque\index.php:0
[21-Nov-2021 07:02:49 UTC] PHP 2. require_once() C:\wamp64\www\petanque\index.php:40
[21-Nov-2021 07:02:51 UTC] PHP Fatal error: Cannot redeclare JConfig::$tmp_path in C:\wamp64\www\petanque\configuration.php on line 68
[21-Nov-2021 07:02:51 UTC] PHP Stack trace:
[21-Nov-2021 07:02:51 UTC] PHP 1. {main}() C:\wamp64\www\petanque\index.php:0
[21-Nov-2021 07:02:51 UTC] PHP 2. require_once() C:\wamp64\www\petanque\index.php:40
[21-Nov-2021 07:02:58 UTC] PHP Fatal error: Cannot redeclare JConfig::$tmp_path in C:\wamp64\www\petanque\configuration.php on line 68
[21-Nov-2021 07:02:58 UTC] PHP Stack trace:
[21-Nov-2021 07:02:58 UTC] PHP 1. {main}() C:\wamp64\www\petanque\index.php:0
[21-Nov-2021 07:02:58 UTC] PHP 2. require_once() C:\wamp64\www\petanque\index.php:40
[21-Nov-2021 07:03:36 UTC] PHP Fatal error: Cannot redeclare JConfig::$tmp_path in C:\wamp64\www\petanque\configuration.php on line 68
[21-Nov-2021 07:03:36 UTC] PHP Stack trace:
[21-Nov-2021 07:03:36 UTC] PHP 1. {main}() C:\wamp64\www\petanque\index.php:0
[21-Nov-2021 07:03:36 UTC] PHP 2. require_once() C:\wamp64\www\petanque\index.php:40
[21-Nov-2021 07:04:22 UTC] PHP Fatal error: Cannot redeclare JConfig::$tmp_path in C:\wamp64\www\petanque\configuration.php on line 68
[21-Nov-2021 07:04:22 UTC] PHP Stack trace:
[21-Nov-2021 07:04:22 UTC] PHP 1. {main}() C:\wamp64\www\petanque\index.php:0
[21-Nov-2021 07:04:22 UTC] PHP 2. require_once() C:\wamp64\www\petanque\index.php:40
[21-Nov-2021 07:08:24 UTC] PHP Fatal error: Cannot redeclare JConfig::$tmp_path in C:\wamp64\www\petanque\configuration.php on line 68
[21-Nov-2021 07:08:24 UTC] PHP Stack trace:
[21-Nov-2021 07:08:24 UTC] PHP 1. {main}() C:\wamp64\www\petanque\index.php:0
[21-Nov-2021 07:08:24 UTC] PHP 2. require_once() C:\wamp64\www\petanque\index.php:40
[21-Nov-2021 07:41:03 UTC] PHP Fatal error: Cannot redeclare JConfig::$tmp_path in C:\wamp64\www\petanque\configuration.php on line 68
[21-Nov-2021 07:41:03 UTC] PHP Stack trace:
[21-Nov-2021 07:41:03 UTC] PHP 1. {main}() C:\wamp64\www\petanque\index.php:0
[21-Nov-2021 07:41:03 UTC] PHP 2. require_once() C:\wamp64\www\petanque\index.php:40
--------------------------------------------------
-------- MySQL error log (Last 30 lines) --------
2021-11-18T11:45:01.785331Z 0 [Warning] InnoDB: Resizing redo log from 2*3072 to 2*16384 pages, LSN=2525902
2021-11-18T11:45:02.004344Z 0 [Warning] InnoDB: Starting to delete and rewrite log files.
100 200
100 200
2021-11-18T11:45:20.506402Z 0 [Warning] InnoDB: New log files created, LSN=2525902
--------------------------------------------------
-------- MariaDB error log (Last 30 lines) --------
Version: '10.3.14-MariaDB' socket: '' port: 3307 mariadb.org binary distribution
2021-11-21 19:50:01 0 [Note] wampmariadb64 (unknown): Arrêt normal du serveur
2021-11-21 19:50:01 0 [Note] InnoDB: FTS optimize thread exiting.
2021-11-21 19:50:01 0 [Note] Event Scheduler: Purging the queue. 0 events
2021-11-21 19:50:03 0 [Note] InnoDB: Starting shutdown...
2021-11-21 19:50:03 0 [Note] InnoDB: Dumping buffer pool(s) to c:\wamp64\bin\mariadb\mariadb10.3.14\data\ib_buffer_pool
2021-11-21 19:50:03 0 [Note] InnoDB: Buffer pool(s) dump completed at 211121 19:50:03
2021-11-21 19:50:04 0 [Note] InnoDB: Shutdown completed; log sequence number 1631613; transaction id 22
2021-11-21 19:50:04 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2021-11-21 19:50:05 0 [Note] wampmariadb64: Arrêt du serveur terminé
2021-11-22 8:57:07 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-11-22 8:57:07 0 [Note] InnoDB: Uses event mutexes
2021-11-22 8:57:07 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-11-22 8:57:07 0 [Note] InnoDB: Number of pools: 1
2021-11-22 8:57:07 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-11-22 8:57:07 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2021-11-22 8:57:07 0 [Note] InnoDB: Completed initialization of buffer pool
2021-11-22 8:57:07 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-11-22 8:57:07 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-11-22 8:57:07 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-11-22 8:57:07 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB.
2021-11-22 8:57:07 0 [Note] InnoDB: 10.3.14 started; log sequence number 1631613; transaction id 21
2021-11-22 8:57:07 0 [Note] InnoDB: Loading buffer pool(s) from c:\wamp64\bin\mariadb\mariadb10.3.14\data\ib_buffer_pool
2021-11-22 8:57:07 0 [Note] InnoDB: Buffer pool(s) load completed at 211122 8:57:07
2021-11-22 8:57:07 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-11-22 8:57:07 0 [Note] Server socket created on IP: '::'.
2021-11-22 8:57:07 0 [Note] Reading of all Master_info entries succeded
2021-11-22 8:57:07 0 [Note] Added new Master_info '' to hash table
2021-11-22 8:57:07 0 [Note] wampmariadb64: ready for connections.
Version: '10.3.14-MariaDB' socket: '' port: 3307 mariadb.org binary distribution
--------------------------------------------------

Options: Répondre•Citer ce Message
Re: Liens virtualhost
Envoyé par: Otomatic (Modérateur)
Date: 22 November 2021 à 12:22

Bonjour,

> La création du rapport a été bloqué par avast
Ce n'est pas un anti-virus, c'est un fouteur de merde.
Mais pour désinstaller Avast, il faut utiliser l'utilitaire de désinstallation de chez Avast.
D'autant plus que sous W7, Windows Defender plus Malwarebytes est suffisant.

Il faut — au moins — mettre le fichier hosts et le dossier c:\wamp64\ en exception dans Avast.

> GET /mateis/wp-content/
le site local mateis est sous WordPress. Il faut donc, en local, renseigner correctement l'url de base qui se trouve en base de données. Voir le codex WordPress et la migration de site et Migrer Wordpress

Pour le site petanque, il y a une erreur fatale
21-Nov-2021 07:08:24 UTC] PHP 1. {main}() C:\wamp64\www\petanque\index.php:0
[21-Nov-2021 07:08:24 UTC] PHP 2. require_once() C:\wamp64\www\petanque\index.php:40
[21-Nov-2021 07:41:03 UTC] PHP Fatal error: Cannot redeclare JConfig::$tmp_path in C:\wamp64\www\petanque\configuration.php on line 68

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 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 »

Options: Répondre•Citer ce Message
Re: Liens virtualhost
Envoyé par: wroom69 (---.fbx.proxad.net)
Date: 22 November 2021 à 14:11

J'ai mis le dossier c:\wamp64\ et le fichier hosts dans Avast.en exception .

>21-Nov-2021 07:08:24 UTC] PHP 1. {main}() C:\wamp64\www\petanque\index.php:0
Je ne sais quoi faire
>[21-Nov-2021 07:08:24 UTC] PHP 2. require_once() C:\wamp64\www\petanque\index.php:40
ligne 40 require_once JPATH_BASE . '/includes/framework.php';
Je ne sais quoi faire

>[21-Nov-2021 07:41:03 UTC] PHP Fatal error: Cannot redeclare JConfig::$tmp_path in C:\wamp64\www\petanque\configuration.php on line 68
ligne 68 public $tmp_path = 'C:\\wamp64\\www\\petanque/tmp';
Le chemin semble correct

Pour les changements d'url en base de donnée ça été fait

# Changer l'URL du site
UPDATE wp_obienetre_options
SET option_value = REPLACE(option_value, 'https://mornant-massage.fr/', 'http://localhost/mateis/')
WHERE option_name = 'home'
OR option_name = 'mateisl';

# Changer l'URL des GUID
UPDATE wp_obienetre_posts
SET guid = REPLACE (guid, 'https://mornant-massage.fr/', 'http://localhost/mateis/');

# Changer l'URL des médias dans les articles et pages
UPDATE wp_obienetre_posts
SET post_content = REPLACE (post_content, 'https://mornant-massage.fr/', 'http://localhost/mateis/');

# Changer l'URL des données meta
UPDATE wp_obienetre_postmeta
SET meta_value = REPLACE (meta_value, 'https://mornant-massage.fr/', 'http://localhost/mateis/');

Options: Répondre•Citer ce Message
Re: Liens virtualhost
Envoyé par: Otomatic (Modérateur)
Date: 22 November 2021 à 14:29

Bonjour,

> SET option_value = REPLACE(option_value, 'https://mornant-massage.fr/', 'http://localhost/mateis/')
NON, NON et NON !!! Il faut 'http://mateis/' Le ServerName c'est mateis

Même chose pour les autres.

> PHP Fatal error: Cannot redeclare JConfig::$tmp_path in C:\wamp64\www\petanque
Ce n'est pas une question de path !
Cannot redeclare veut dire que Config::$tmp_path a déjà été déclaré avant, autre part et que ça ne peut pas être déclaré une seconde fois.

A priori, c'est du Joomla et ça voudrait dire que var $tmp_path a déjà été déclaré dans la class Config.

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 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 »

Options: Répondre•Citer ce Message
Re: Liens virtualhost
Envoyé par: wroom69 (---.fbx.proxad.net)
Date: 22 November 2021 à 17:35

Bonjour,
Est correct comme ça ?
UPDATE wp_obienetre_options
SET option_value = REPLACE(option_value, 'https://mornant-massage.fr/', 'http://mateis/')
WHERE option_name = 'home'
OR option_name = 'mateis';

Options: Répondre•Citer ce Message
Re: Liens virtualhost
Envoyé par: Otomatic (Modérateur)
Date: 22 November 2021 à 18:19

Bonsoir,

> UPDATE wp_obienetre_options
> SET option_value = REPLACE(option_value, 'https://mornant-massage.fr/', 'http://mateis/')
> WHERE option_name = 'home'
> OR option_name = 'mateis';

À ma connaissance, la requête standard de remplacement dans une colonne de table est :

UPDATE table SET colonne=REPLACE(colonne,'valeur1','valeur2') WHERE colonne LIKE '%valeur1%'

Ce qui permet les remplacements de valeur1 par valeur2 dans tous les champs de toute la colonne qui contienne valeur1.
Donc :
UPDATE wp_obienetre_options
  SET option_value=REPLACE(option_value,'https://mornant-massage.fr/','http://mateis/')
  WHERE option_value LIKE '%'https://mornant-massage.fr/'%'
Attention dans le LIKE ne pas mettre les 'simple quotes' encadrant 'https://mornant-massage.fr/' qui sont là pour éviter que ça transforme en url cliquable.

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 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 »

Options: Répondre•Citer ce Message
Re: Liens virtualhost
Envoyé par: wroom69 (---.fbx.proxad.net)
Date: 22 November 2021 à 18:29

Bonjour,
J'ai regardé dans les tables
wp_obienetre_options
wp_obienetre_posts
j'ai bien option_value -> [localhost]
Dans la table wp_obienetre_postmeta je n'ai rien trouvé

Options: Répondre•Citer ce Message
Re: Liens virtualhost
Envoyé par: Otomatic (Modérateur)
Date: 22 November 2021 à 19:37

Bonsoir,

> j'ai bien option_value -> 'http://localhost/mateis'

Oui, mais c'est 'http://mateis' ou 'http://mateis/' qu'il faut !

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 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 »

Options: Répondre•Citer ce Message
Re: Liens virtualhost
Envoyé par: wroom69 (---.fbx.proxad.net)
Date: 23 November 2021 à 09:21

Bon j'ai réinstallé la base maintenant j 'essaye de changer les url
UPDATE wp_obienetre_options
SET option_value=REPLACE(option_value,'https://mornant-massage.fr/','http://mateis/')
WHERE option_value LIKE '%'https://mornant-massage.fr/'%'
J'ai un message d'erreur
#1064 - Erreur de syntaxe près de 'https://mornant-massage.fr/'%'' à la ligne 3

Options: Répondre•Citer ce Message
Re: Liens virtualhost
Envoyé par: Otomatic (Modérateur)
Date: 23 November 2021 à 10:33

Bonjour,

> LIKE '%'https://mornant-massage.fr/'%'

Comme je l'ai indiqué précédemment, il ne faut pas mettre les ' encadrant le lien htt ps://mornant-massage.fr/

Il faut LIKE '%htt ps://mornant-massage.fr/%'

Nota : L'espace entre htt et ps est là pour que ça ne se transforme pas en lien cliquable, il n'en faut pas en vrai.

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 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 »

Options: Répondre•Citer ce Message


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