- Accueil
- » Forum
- » Serveurs
- » phpmyadmin
Pages : 1
#1 Le 05/07/2022, à 13:20
- Le_code
phpmyadmin
bonjour;
j'aimerais créer une basse de donner pour mon site web avec phpmyadmin, je l'installe
$sudo apt install phpmyadmin
je vais sur le localhost/phpmyadmin et la plus rien page blanche je cherche des solutions sur internet je test mais rien ne marche.
merci de votre réponse
Modération : merci de respecter les règles du forum : les doublons sont interdits.
Dernière modification par cqfd93 (Le 05/07/2022, à 15:56)
Hors ligne
#2 Le 05/07/2022, à 16:51
- bruno
Re : phpmyadmin
Bonjour,
Avant d'installer phpmyadmin est-ce que tu as bien installé toute la pile lamp et est-ce que tout fonctionne : apache, le serveur MySQL et PHP ?
Si c'est le cas est-ce que tu as bien répondu aux questions posées lors de l'installation de phpmyadmin ?
#3 Le 05/07/2022, à 17:12
- Le_code
Re : phpmyadmin
bonjour, merci de votre réponse
alors oui j'ai bien installé lamp en suivant le site officiel de Ubuntu : https://doc.ubuntu-fr.org/lamp
est oui je pense avoir bien répondu aux questions en mettant une étoile sur apache
Dernière modification par Le_code (Le 05/07/2022, à 18:01)
Hors ligne
#4 Le 06/07/2022, à 05:49
- bruno
Re : phpmyadmin
On ne va pas avancer comme cela…
Est-ce qu'Apache, MySQL et PHP fonctionnent ? Il faut vérifier en allant sur http://localhost et en donnant les retours complet de :
systemctl status apache2
systemctl status mysql
a2query -m
a2query -c
L'examen des logs (par défaut dans /var/log/apache2/error.log) au moment où tu obtiens une page blanche peut également aider.
#5 Le 06/07/2022, à 12:41
- Le_code
Re : phpmyadmin
voila pour les commands
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2022-07-06 13:28:10 CEST; 9min ago
Docs: [url]https://httpd.apache.org/docs/2.4/[/url]
Main PID: 1172 (apache2)
Tasks: 7 (limit: 4236)
Memory: 30.0M
CPU: 427ms
CGroup: /system.slice/apache2.service
├─1172 /usr/sbin/apache2 -k start
├─1201 /usr/sbin/apache2 -k start
├─1202 /usr/sbin/apache2 -k start
├─1203 /usr/sbin/apache2 -k start
├─1204 /usr/sbin/apache2 -k start
├─1205 /usr/sbin/apache2 -k start
└─7509 /usr/sbin/apache2 -k start
juil. 06 13:27:57 pc systemd[1]: Starting The Apache HTTP Server...
juil. 06 13:28:10 pc apachectl[1082]: AH00557: apache2: apr_sockaddr_info_get() failed for pc
juil. 06 13:28:10 pc apachectl[1082]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' di>
juil. 06 13:28:10 pc systemd[1]: Started The Apache HTTP Server.
andreas@pc:~$ systemctl status mysql
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2022-07-06 13:28:55 CEST; 9min ago
Main PID: 1265 (mysqld)
Status: "Server is operational"
Tasks: 37 (limit: 4236)
Memory: 410.1M
CPU: 3.657s
CGroup: /system.slice/mysql.service
└─1265 /usr/sbin/mysqld
juil. 06 13:27:57 pc systemd[1]: Starting MySQL Community Server...
juil. 06 13:28:55 pc systemd[1]: Started MySQL Community Server.
andreas@pc:~$ a2query -m
auth_basic (enabled by maintainer script)
autoindex (enabled by maintainer script)
filter (enabled by maintainer script)
alias (enabled by maintainer script)
php8.1 (enabled by maintainer script)
access_compat (enabled by maintainer script)
authz_user (enabled by maintainer script)
mime (enabled by maintainer script)
authz_host (enabled by maintainer script)
authz_core (enabled by maintainer script)
dir (enabled by maintainer script)
deflate (enabled by maintainer script)
authn_file (enabled by maintainer script)
env (enabled by maintainer script)
setenvif (enabled by maintainer script)
reqtimeout (enabled by maintainer script)
status (enabled by maintainer script)
mpm_prefork (enabled by maintainer script)
negotiation (enabled by maintainer script)
authn_core (enabled by maintainer script)
andreas@pc:~$ a2query -c
security (enabled by maintainer script)
localized-error-pages (enabled by maintainer script)
charset (enabled by maintainer script)
phpmyadmin (enabled by maintainer script)
other-vhosts-access-log (enabled by maintainer script)
serve-cgi-bin (enabled by maintainer script)
et pour les logs:
[Wed Jul 06 13:28:13.053079 2022] [mpm_prefork:notice] [pid 1172] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Wed Jul 06 13:28:13.053213 2022] [core:notice] [pid 1172] AH00094: Command line: '/usr/sbin/apache2'
apres moi je debut sur ubuntu alors je ne connais pas tout
merci de votre réponse.
Dernière modification par bruno (Le 06/07/2022, à 16:18)
Hors ligne
#6 Le 06/07/2022, à 12:46
- xubu1957
Re : phpmyadmin
Bonjour,
Comme demandé dans le premier message du tutoriel Retour utilisable de commande
Pour ajouter toi-même les balises code à ton précédent message #5 : Merci
Cliquer sur le lien « Modifier » en bas à droite du message
Sélectionner le texte
Cliquer sur le <> de l'éditeur de message
Dernière modification par xubu1957 (Le 06/07/2022, à 13:35)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#7 Le 06/07/2022, à 13:24
- bruno
Re : phpmyadmin
Il faut donner les logs après avoir tenté d'afficher la page http://localhost/phpmyadmin.
La configuration semble correcte.
#8 Le 06/07/2022, à 13:35
- Le_code
Re : phpmyadmin
bon jai deux fichiers log un error.log et error.log.1
error.log
[Wed Jul 06 13:28:13.053079 2022] [mpm_prefork:notice] [pid 1172] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Wed Jul 06 13:28:13.053213 2022] [core:notice] [pid 1172] AH00094: Command line: '/usr/sbin/apache2'
error.log.1
[Tue Jul 05 13:45:54.801381 2022] [mpm_prefork:notice] [pid 33661] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Jul 05 13:45:54.801511 2022] [core:notice] [pid 33661] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 05 13:51:30.341671 2022] [mpm_prefork:notice] [pid 33661] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Tue Jul 05 13:51:31.879353 2022] [mpm_prefork:notice] [pid 33661] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Jul 05 13:51:31.879390 2022] [core:notice] [pid 33661] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 05 13:51:31.879398 2022] [mpm_prefork:notice] [pid 33661] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Tue Jul 05 13:51:31.968466 2022] [mpm_prefork:notice] [pid 33661] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Jul 05 13:51:31.968506 2022] [core:notice] [pid 33661] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 05 13:56:23.969778 2022] [mpm_prefork:notice] [pid 33661] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Tue Jul 05 13:56:24.129765 2022] [mpm_prefork:notice] [pid 33661] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Jul 05 13:56:24.129810 2022] [core:notice] [pid 33661] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 05 13:56:24.129817 2022] [mpm_prefork:notice] [pid 33661] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Tue Jul 05 13:56:24.172459 2022] [mpm_prefork:notice] [pid 33661] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Jul 05 13:56:24.172498 2022] [core:notice] [pid 33661] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 05 14:13:22.479964 2022] [mpm_prefork:notice] [pid 33661] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Jul 05 14:14:14.689928 2022] [mpm_prefork:notice] [pid 42399] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Jul 05 14:14:14.690050 2022] [core:notice] [pid 42399] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 05 14:27:16.735972 2022] [php:error] [pid 42402] [client 127.0.0.1:45568] PHP Parse error: syntax error, unexpected token "class" in /var/www/html/index.php on line 5
[Tue Jul 05 14:27:18.899888 2022] [php:error] [pid 42403] [client 127.0.0.1:45570] PHP Parse error: syntax error, unexpected token "class" in /var/www/html/index.php on line 5
[Tue Jul 05 14:27:25.440815 2022] [php:error] [pid 42401] [client 127.0.0.1:45572] PHP Parse error: syntax error, unexpected token "class" in /var/www/html/index.php on line 5
[Tue Jul 05 14:47:55.597993 2022] [mpm_prefork:notice] [pid 42399] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Jul 05 17:56:35.135383 2022] [mpm_prefork:notice] [pid 1202] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Jul 05 17:56:35.308586 2022] [core:notice] [pid 1202] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 05 19:42:53.721651 2022] [mpm_prefork:notice] [pid 1202] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Jul 05 19:43:40.439989 2022] [mpm_prefork:notice] [pid 20366] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Jul 05 19:43:40.440101 2022] [core:notice] [pid 20366] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 05 19:44:42.967151 2022] [mpm_prefork:notice] [pid 20366] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Jul 05 19:45:07.273081 2022] [mpm_prefork:notice] [pid 20453] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Jul 05 19:45:07.273203 2022] [core:notice] [pid 20453] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 05 21:02:51.273116 2022] [mpm_prefork:notice] [pid 1167] AH00163: Apache/2.4.52 (Ubuntu) configured -- resuming normal operations
[Tue Jul 05 21:02:51.397827 2022] [core:notice] [pid 1167] AH00094: Command line: '/usr/sbin/apache2'
Dernière modification par Le_code (Le 06/07/2022, à 13:36)
Hors ligne
#9 Le 06/07/2022, à 14:30
- bruno
Re : phpmyadmin
Je ne vois aucune erreur concernant l'accès à http://localhost/phpmyadmin
Peut-on voir les retours de :
curl -I http://localhost/phpmyadmin/
et
cat /etc/apache2/conf-enabled/phpmyadmin.conf
#10 Le 06/07/2022, à 14:40
- Le_code
Re : phpmyadmin
ok les retours de
curl -I http://localhost/phpmyadmin/
sont:
andreas@pc:~$ curl -I http://localhost/phpmyadmin/
HTTP/1.1 200 OK
Date: Wed, 06 Jul 2022 13:39:06 GMT
Server: Apache/2.4.52 (Ubuntu)
Set-Cookie: phpMyAdmin=nkedkcl8j5es1ff7p7orlm2942; path=/phpmyadmin/; HttpOnly
Expires: Wed, 06 Jul 2022 13:39:07 +0000
Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0
Last-Modified: Wed, 06 Jul 2022 13:39:07 +0000
Set-Cookie: phpMyAdmin=nkedkcl8j5es1ff7p7orlm2942; path=/phpmyadmin/; HttpOnly
Set-Cookie: pma_lang=en; expires=Fri, 05-Aug-2022 13:39:07 GMT; Max-Age=2592000; path=/phpmyadmin/; HttpOnly; SameSite=Strict
Set-Cookie: phpMyAdmin=sorhm2ukua446l79l307847jhj; path=/phpmyadmin/; HttpOnly
X-ob_mode: 1
X-Frame-Options: DENY
Referrer-Policy: no-referrer
Content-Security-Policy: default-src 'self' ;script-src 'self' 'unsafe-inline' 'unsafe-eval' ;style-src 'self' 'unsafe-inline' ;img-src 'self' data: *.tile.openstreetmap.org;object-src 'none';
X-Content-Security-Policy: default-src 'self' ;options inline-script eval-script;referrer no-referrer;img-src 'self' data: *.tile.openstreetmap.org;object-src 'none';
X-WebKit-CSP: default-src 'self' ;script-src 'self' 'unsafe-inline' 'unsafe-eval';referrer no-referrer;style-src 'self' 'unsafe-inline' ;img-src 'self' data: *.tile.openstreetmap.org;object-src 'none';
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Permitted-Cross-Domain-Policies: none
X-Robots-Tag: noindex, nofollow
Pragma: no-cache
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
et de
cat /etc/apache2/conf-enabled/phpmyadmin.conf
sont:
andreas@pc:~$ cat /etc/apache2/conf-enabled/phpmyadmin.conf
# phpMyAdmin default Apache configuration
Alias /phpmyadmin /usr/share/phpmyadmin
<Directory /usr/share/phpmyadmin>
Options SymLinksIfOwnerMatch
DirectoryIndex index.php
# limit libapache2-mod-php to files and directories necessary by pma
<IfModule mod_php7.c>
php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
php_admin_value open_basedir /usr/share/phpmyadmin/:/usr/share/doc/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/:/usr/share/javascript/
</IfModule>
</Directory>
# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/templates>
Require all denied
</Directory>
<Directory /usr/share/phpmyadmin/libraries>
Require all denied
</Directory>
Dernière modification par Le_code (Le 06/07/2022, à 14:41)
Hors ligne
#11 Le 06/07/2022, à 16:12
- bruno
Re : phpmyadmin
Je ne vois aucune raison que tu obtiennes une page blanche.
La première commande montre que la page http://localhost/phpmyadmin/ est bien disponible :
$ curl -I http://localhost/phpmyadmin/
HTTP/1.1 200 OK
Pour en être absolument sûr tu peux lancer :
curl http://localhost/phpmyadmin/
qui devrait renvoyer le code HTML de la page d'accueil de phpmyadmin.
Si c'est bien le cas, il va falloir que tu nous expliques comment tu essaies d’accéder à cette URL http://localhost/phpmyadmin/.
Dernière modification par bruno (Le 06/07/2022, à 17:35)
#12 Le 06/07/2022, à 16:41
- Le_code
Re : phpmyadmin
voila le resultat de
curl http://localhost/phpmyadmin/
<!doctype html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="referrer" content="no-referrer">
<meta name="robots" content="noindex,nofollow">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<style id="cfs-style">html{display: none;}</style>
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="./themes/pmahomme/jquery/jquery-ui.css">
<link rel="stylesheet" type="text/css" href="js/vendor/codemirror/lib/codemirror.css?v=5.1.1deb5ubuntu1">
<link rel="stylesheet" type="text/css" href="js/vendor/codemirror/addon/hint/show-hint.css?v=5.1.1deb5ubuntu1">
<link rel="stylesheet" type="text/css" href="js/vendor/codemirror/addon/lint/lint.css?v=5.1.1deb5ubuntu1">
<link rel="stylesheet" type="text/css" href="./themes/pmahomme/css/theme.css?v=5.1.1deb5ubuntu1&nocache=670142994ltr&server=1">
<link rel="stylesheet" type="text/css" href="./themes/pmahomme/css/printview.css?v=5.1.1deb5ubuntu1" media="print" id="printcss">
<title>phpMyAdmin</title>
<script data-cfasync="false" type="text/javascript" src="js/vendor/jquery/jquery.min.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/jquery/jquery-migrate.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/sprintf.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/ajax.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/keyhandler.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/bootstrap/bootstrap.bundle.min.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/jquery/jquery-ui.min.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/js.cookie.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/jquery/jquery.mousewheel.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/jquery/jquery.validate.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/jquery/jquery-ui-timepicker-addon.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/jquery/jquery.ba-hashchange-2.0.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/jquery/jquery.debounce-1.0.6.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/menu_resizer.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/cross_framing_protection.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/rte.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/tracekit.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/error_report.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/messages.php?l=en&v=5.1.1deb5ubuntu1&lang=en"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/config.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/doclinks.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/functions.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/navigation.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/indexes.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/common.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/page_settings.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/drag_drop_import.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/shortcuts_handler.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/codemirror/lib/codemirror.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/codemirror/mode/sql/sql.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/codemirror/addon/runmode/runmode.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/codemirror/addon/hint/show-hint.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/codemirror/addon/hint/sql-hint.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/vendor/codemirror/addon/lint/lint.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/codemirror/addon/lint/sql-lint.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript" src="js/dist/console.js?v=5.1.1deb5ubuntu1"></script>
<script data-cfasync="false" type="text/javascript">
// <![CDATA[
var firstDayOfCalendar = '0';
var themeImagePath = '.\/themes\/pmahomme\/img\/';
var mysqlDocTemplate = '.\/url.php\u003Furl\u003Dhttps\u00253A\u00252F\u00252Fdev.mysql.com\u00252Fdoc\u00252Frefman\u00252F5.7\u00252Fen\u00252F\u002525s.html';
var maxInputVars = 1000;
if ($.datepicker) {
$.datepicker.regional[''].closeText = 'Done';
$.datepicker.regional[''].prevText = 'Prev';
$.datepicker.regional[''].nextText = 'Next';
$.datepicker.regional[''].currentText = 'Today';
$.datepicker.regional[''].monthNames = [
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December',
];
$.datepicker.regional[''].monthNamesShort = [
'Jan',
'Feb',
'Mar',
'Apr',
'May',
'Jun',
'Jul',
'Aug',
'Sep',
'Oct',
'Nov',
'Dec',
];
$.datepicker.regional[''].dayNames = [
'Sunday',
'Monday',
'Tuesday',
'Wednesday',
'Thursday',
'Friday',
'Saturday',
];
$.datepicker.regional[''].dayNamesShort = [
'Sun',
'Mon',
'Tue',
'Wed',
'Thu',
'Fri',
'Sat',
];
$.datepicker.regional[''].dayNamesMin = [
'Su',
'Mo',
'Tu',
'We',
'Th',
'Fr',
'Sa',
];
$.datepicker.regional[''].weekHeader = 'Wk';
$.datepicker.regional[''].showMonthAfterYear = false;
$.datepicker.regional[''].yearSuffix = '';
$.extend($.datepicker._defaults, $.datepicker.regional['']);
}
if ($.timepicker) {
$.timepicker.regional[''].timeText = 'Time';
$.timepicker.regional[''].hourText = 'Hour';
$.timepicker.regional[''].minuteText = 'Minute';
$.timepicker.regional[''].secondText = 'Second';
$.extend($.timepicker._defaults, $.timepicker.regional['']);
}
function extendingValidatorMessages () {
$.extend($.validator.messages, {
required: 'This\u0020field\u0020is\u0020required',
remote: 'Please\u0020fix\u0020this\u0020field',
email: 'Please\u0020enter\u0020a\u0020valid\u0020email\u0020address',
url: 'Please\u0020enter\u0020a\u0020valid\u0020URL',
date: 'Please\u0020enter\u0020a\u0020valid\u0020date',
dateISO: 'Please\u0020enter\u0020a\u0020valid\u0020date\u0020\u0028\u0020ISO\u0020\u0029',
number: 'Please\u0020enter\u0020a\u0020valid\u0020number',
creditcard: 'Please\u0020enter\u0020a\u0020valid\u0020credit\u0020card\u0020number',
digits: 'Please\u0020enter\u0020only\u0020digits',
equalTo: 'Please\u0020enter\u0020the\u0020same\u0020value\u0020again',
maxlength: $.validator.format('Please\u0020enter\u0020no\u0020more\u0020than\u0020\u007B0\u007D\u0020characters'),
minlength: $.validator.format('Please\u0020enter\u0020at\u0020least\u0020\u007B0\u007D\u0020characters'),
rangelength: $.validator.format('Please\u0020enter\u0020a\u0020value\u0020between\u0020\u007B0\u007D\u0020and\u0020\u007B1\u007D\u0020characters\u0020long'),
range: $.validator.format('Please\u0020enter\u0020a\u0020value\u0020between\u0020\u007B0\u007D\u0020and\u0020\u007B1\u007D'),
max: $.validator.format('Please\u0020enter\u0020a\u0020value\u0020less\u0020than\u0020or\u0020equal\u0020to\u0020\u007B0\u007D'),
min: $.validator.format('Please\u0020enter\u0020a\u0020value\u0020greater\u0020than\u0020or\u0020equal\u0020to\u0020\u007B0\u007D'),
validationFunctionForDateTime: $.validator.format('Please\u0020enter\u0020a\u0020valid\u0020date\u0020or\u0020time'),
validationFunctionForHex: $.validator.format('Please\u0020enter\u0020a\u0020valid\u0020HEX\u0020input'),
validationFunctionForMd5: $.validator.format('This\u0020column\u0020can\u0020not\u0020contain\u0020a\u002032\u0020chars\u0020value'),
validationFunctionForAesDesEncrypt: $.validator.format('These\u0020functions\u0020are\u0020meant\u0020to\u0020return\u0020a\u0020binary\u0020result\u003B\u0020to\u0020avoid\u0020inconsistent\u0020results\u0020you\u0020should\u0020store\u0020it\u0020in\u0020a\u0020BINARY,\u0020VARBINARY,\u0020or\u0020BLOB\u0020column.')
});
}
CommonParams.setAll({common_query:"lang=en",opendb_url:"index.php?route=/database/structure&lang=en",lang:"en",server:"1",table:"",db:"",token:"6e7d63505f3545222c503d7833225d69",text_dir:"ltr",show_databases_navigation_as_tree:true,pma_text_default_tab:"Browse",pma_text_left_default_tab:"Structure",pma_text_left_default_tab2:false,LimitChars:"50",pftext:"",confirm:true,LoginCookieValidity:"1440",session_gc_maxlifetime:"1440",logged_in:false,is_https:false,rootPath:"/phpmyadmin/",arg_separator:"&",PMA_VERSION:"5.1.1deb5ubuntu1",auth_type:"cookie",user:"root"});
ConsoleEnterExecutes=false
AJAX.scriptHandler
.add('vendor/jquery/jquery.min.js', 0)
.add('vendor/jquery/jquery-migrate.js', 0)
.add('vendor/sprintf.js', 1)
.add('ajax.js', 0)
.add('keyhandler.js', 1)
.add('vendor/bootstrap/bootstrap.bundle.min.js', 1)
.add('vendor/jquery/jquery-ui.min.js', 0)
.add('vendor/js.cookie.js', 1)
.add('vendor/jquery/jquery.mousewheel.js', 0)
.add('vendor/jquery/jquery.validate.js', 0)
.add('vendor/jquery/jquery-ui-timepicker-addon.js', 0)
.add('vendor/jquery/jquery.ba-hashchange-2.0.js', 0)
.add('vendor/jquery/jquery.debounce-1.0.6.js', 0)
.add('menu_resizer.js', 1)
.add('cross_framing_protection.js', 0)
.add('rte.js', 1)
.add('vendor/tracekit.js', 1)
.add('error_report.js', 1)
.add('messages.php', 0)
.add('config.js', 1)
.add('doclinks.js', 1)
.add('functions.js', 1)
.add('navigation.js', 1)
.add('indexes.js', 1)
.add('common.js', 1)
.add('page_settings.js', 1)
.add('drag_drop_import.js', 1)
.add('shortcuts_handler.js', 1)
.add('vendor/codemirror/lib/codemirror.js', 0)
.add('vendor/codemirror/mode/sql/sql.js', 0)
.add('vendor/codemirror/addon/runmode/runmode.js', 0)
.add('vendor/codemirror/addon/hint/show-hint.js', 0)
.add('vendor/codemirror/addon/hint/sql-hint.js', 0)
.add('vendor/codemirror/addon/lint/lint.js', 0)
.add('codemirror/addon/lint/sql-lint.js', 0)
.add('console.js', 1)
;
$(function() {
AJAX.fireOnload('vendor/sprintf.js');
AJAX.fireOnload('keyhandler.js');
AJAX.fireOnload('vendor/bootstrap/bootstrap.bundle.min.js');
AJAX.fireOnload('vendor/js.cookie.js');
AJAX.fireOnload('menu_resizer.js');
AJAX.fireOnload('rte.js');
AJAX.fireOnload('vendor/tracekit.js');
AJAX.fireOnload('error_report.js');
AJAX.fireOnload('config.js');
AJAX.fireOnload('doclinks.js');
AJAX.fireOnload('functions.js');
AJAX.fireOnload('navigation.js');
AJAX.fireOnload('indexes.js');
AJAX.fireOnload('common.js');
AJAX.fireOnload('page_settings.js');
AJAX.fireOnload('drag_drop_import.js');
AJAX.fireOnload('shortcuts_handler.js');
AJAX.fireOnload('console.js');
});
// ]]>
</script>
<noscript><style>html{display:block}</style></noscript>
</head>
<body id=loginform>
<div id="pma_header"></div>
<div id="page_content">
<div class="container">
<div class="row">
<div class="col-12">
<a href="./url.php?url=https%3A%2F%2Fwww.phpmyadmin.net%2F" target="_blank" rel="noopener noreferrer" class="logo">
<img src="./themes/pmahomme/img/logo_right.png" id="imLogo" name="imLogo" alt="phpMyAdmin" border="0">
</a>
<h1>Welcome to <bdo dir="ltr" lang="en">phpMyAdmin</bdo></h1>
<noscript>
<div class="alert alert-danger" role="alert">
<img src="themes/dot.gif" title="" alt="" class="icon ic_s_error"> Javascript must be enabled past this point!
</div>
</noscript>
<div class="hide" id="js-https-mismatch">
<div class="alert alert-danger" role="alert">
<img src="themes/dot.gif" title="" alt="" class="icon ic_s_error"> There is a mismatch between HTTPS indicated on the server and client. This can lead to a non working phpMyAdmin or a security risk. Please fix your server configuration to indicate HTTPS properly.
</div>
</div>
<div class='hide js-show'>
<form method="get" action="index.php?route=/&lang=en" class="disableAjax">
<input type="hidden" name="db" value=""><input type="hidden" name="table" value=""><input type="hidden" name="lang" value="en"><input type="hidden" name="token" value="6e7d63505f3545222c503d7833225d69">
<fieldset>
<legend class="col-form-label" lang="en" dir="ltr">Language</legend>
<select name="lang" class="autosubmit" lang="en" dir="ltr" id="sel-lang">
<option value="sq">
Shqip - Albanian
</option>
<option value="ar">
العربية - Arabic
</option>
<option value="hy">
Հայերէն - Armenian
</option>
<option value="az">
Azərbaycanca - Azerbaijani
</option>
<option value="bn">
বাংলা - Bangla
</option>
<option value="be">
Беларуская - Belarusian
</option>
<option value="bg">
Български - Bulgarian
</option>
<option value="ca">
Català - Catalan
</option>
<option value="zh_cn">
中文 - Chinese simplified
</option>
<option value="zh_tw">
中文 - Chinese traditional
</option>
<option value="cs">
Čeština - Czech
</option>
<option value="da">
Dansk - Danish
</option>
<option value="nl">
Nederlands - Dutch
</option>
<option value="en" selected="selected">
English
</option>
<option value="en_gb">
English (United Kingdom)
</option>
<option value="et">
Eesti - Estonian
</option>
<option value="fi">
Suomi - Finnish
</option>
<option value="fr">
Français - French
</option>
<option value="gl">
Galego - Galician
</option>
<option value="de">
Deutsch - German
</option>
<option value="el">
Ελληνικά - Greek
</option>
<option value="he">
עברית - Hebrew
</option>
<option value="hu">
Magyar - Hungarian
</option>
<option value="id">
Bahasa Indonesia - Indonesian
</option>
<option value="ia">
Interlingua
</option>
<option value="it">
Italiano - Italian
</option>
<option value="ja">
日本語 - Japanese
</option>
<option value="kk">
Қазақ - Kazakh
</option>
<option value="ko">
한국어 - Korean
</option>
<option value="nb">
Norsk - Norwegian
</option>
<option value="pl">
Polski - Polish
</option>
<option value="pt">
Português - Portuguese
</option>
<option value="pt_br">
Português (Brasil) - Portuguese (Brazil)
</option>
<option value="ro">
Română - Romanian
</option>
<option value="ru">
Русский - Russian
</option>
<option value="sr@latin">
Srpski - Serbian (latin)
</option>
<option value="si">
සිංහල - Sinhala
</option>
<option value="sk">
Slovenčina - Slovak
</option>
<option value="sl">
Slovenščina - Slovenian
</option>
<option value="es">
Español - Spanish
</option>
<option value="sv">
Svenska - Swedish
</option>
<option value="tr">
Türkçe - Turkish
</option>
<option value="uk">
Українська - Ukrainian
</option>
<option value="vi">
Tiếng Việt - Vietnamese
</option>
</select>
</fieldset>
</form>
</div>
<form method="post" id="login_form" action="index.php?route=/" name="login_form" class="disableAjax hide login js-show form-horizontal">
<fieldset>
<legend class="col-form-label">
<input type="hidden" name="set_session" value="bu6kj1jgrjo55bpae74ct63ksh">
Log in <a href="./doc/html/index.html" target="documentation"><img src="themes/dot.gif" title="Documentation" alt="Documentation" class="icon ic_b_help"></a>
</legend>
<div class="item form-row">
<label for="input_username" class="col-4 d-flex align-items-center">
Username: </label>
<div class="col-8">
<input type="text" name="pma_username" id="input_username" value="" size="24" class="textfield" autocomplete="username">
</div>
</div>
<div class="item form-row">
<label for="input_password" class="col-4 d-flex align-items-center">
Password: </label>
<div class="col-8">
<input type="password" name="pma_password" id="input_password" value="" size="24" class="textfield" autocomplete="current-password">
</div>
</div>
<input type="hidden" name="server" value="1">
</fieldset>
<fieldset class="tblFooters">
<input class="btn btn-primary" value="Go" type="submit" id="input_go">
<input type="hidden" name="route" value="/"><input type="hidden" name="lang" value="en"><input type="hidden" name="token" value="6e7d63505f3545222c503d7833225d69">
</fieldset>
</form>
</div>
<div id="pma_footer"></div>
</div>
</body>
</html>
et pour y acceder je passe par http://localhost/phpmyadmin/ dans firefox.
Dernière modification par Le_code (Le 06/07/2022, à 16:42)
Hors ligne
#13 Le 06/07/2022, à 17:39
- bruno
Re : phpmyadmin
et pour y acceder je passe par http://localhost/phpmyadmin/ dans firefox.
Non c'est impossible puisque curl renvoie bien la page !
À moins que… tu n'utilises pas Firefox sur la machine où est installé lamp…
#14 Le 08/07/2022, à 11:25
- Le_code
Re : phpmyadmin
Désolé de ne pas avoir répondu plus tot si j'utilises firefox sur le même pc ou est installé lamps
Hors ligne
#15 Le 08/07/2022, à 11:46
- bruno
Re : phpmyadmin
Je ne vois aucune raison que cela fonctionne avec curl (retour du #12) et pas avec Firefox, surtout qu'il n'y a aucune erreur dans le logs.
À tout hasard essaie avec http://127.0.0.1/phpmyadmin/
#16 Le 08/07/2022, à 11:57
- Le_code
Re : phpmyadmin
merci cela marche mais il n'y a pas le système de connection il y a que le logo Phpmyadmin est du texte (Bienvenue dans PhpMyAdmin)
Dernière modification par Le_code (Le 09/07/2022, à 16:53)
Hors ligne
#17 Le 08/07/2022, à 13:24
- bruno
Re : phpmyadmin
Quelles extensions dans Firefox ?
Tu n'aurais pas désactivé le JavaScript ?
#18 Le 09/07/2022, à 16:55
- Le_code
Re : phpmyadmin
désactivé sur quoi ?
si c'est sur firefox non je n'ai pas toucher.
bruno a écrit :Quelles extensions dans Firefox ?
je ne parle pas d'extensions.
Dernière modification par Le_code (Le 09/07/2022, à 17:38)
Hors ligne
#19 Le 10/07/2022, à 09:38
- bruno
Re : phpmyadmin
Je suppose que si la page ne s'affiche pas (complètement) dans Firefox que c'est dû au navigateur web : réglages, extensions installées, etc. puisque la configuration est bonne et que curl récupère bien toute la page.
Il faudrait essayer avec un autre navigateur ou en lançant Firefox avec :
firefox --safe-mode
Un autre possibilité est que tu aies modifié les fichier de configuration sous /etc/phpmyadmin (config.inc.php notamment) et que cela provoque des problèmes.
#20 Le 10/07/2022, à 17:22
- Le_code
Re : phpmyadmin
je ne sais pas comment e remercier car cela marche merci du fond du coeur tu as pris du temps pour moi alors merci
Hors ligne
#21 Le 11/07/2022, à 15:46
- bruno
Re : phpmyadmin
Qu'est-ce qui a fonctionné ? La dernière commande que j'ai indiqué ?
#22 Le 12/08/2022, à 02:01
- king76
Re : phpmyadmin
J'ai souvent ce bogue dans mon Google Chrome. Je passe en navigation privée ou dans un autre navigateur et je me dis "Ah fuck merde c'est vrai !".
Hors ligne
Pages : 1
- Forum
- » Serveurs
- » phpmyadmin