Forum » » Bugs, Probs ... » » count_hpn
Posté : 22 mai 2025 à 12:40 
Sujet
count_hpn
Votre Système d'Exploitation
-: Autres Votre Package Web
-: Autres Votre version de PHP
-: Php 8.x Version NPDS (
voir statistiques du site)
-: NPDS RÉvolution 16.8 Type de problème
-: Erreur(s) MySql Votre hébergeur
-: Autre(s) Votre Priorité
OK, j'attends Description du problème
Bonjour, j'ai voulu utiliser le compteur count_hpn qui fonctionnait dans le temps mais il bloque lors de la crétion des tables mysql ?
réponse mysql :
MySQL a répondu :
Documentation
#1046 - Aucune base n'a été sélectionnée
Ci-dessous le fichier.
Merci
-------------------------------------------------
CREATE TABLE hpn_count_ip (
id int(6) NOT NULL auto_increment,
ip varchar(20) DEFAULT '0' NOT NULL,
PRIMARY KEY (id),
KEY id (id)
);
CREATE TABLE hpn_count (
id int(1) DEFAULT '1' NOT NULL,
total int(15) DEFAULT '0' NOT NULL,
jour int(10) DEFAULT '0' NOT NULL,
date date DEFAULT '0000-00-00' NOT NULL,
PRIMARY KEY (total),
UNIQUE total (total),
KEY total_2 (total)
);
INSERT INTO hpn_count VALUES ( '0', '1', '1', '2003-02-18');
Inclure la signature
Oui Notification par Email
Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=27015&forum=1