Weec Posted March 20, 2020 Share Posted March 20, 2020 (edited) Prestashop 1.7.5.1 Bonjour à tout le monde, Je suis embêté car je me retrouve avec un message d'erreur lorsque je vais sur l'onglet "client" (voir capture d'écran ci-jointe). C'est un nouveau site internet, installation faite par le "module en 1 click" d'OVH. Tout est prêt pour l'ajout des produits avant la mise en ligne mais pour le futur, sans l'onglet client ça risque d'être compliqué... 🤨 Je sais que je dois aller cherchez du côté de mon PhpMyAdmin mais je sais aussi qu'une mauvaise manipulation peut-être fatal alors je préfère demandé a la communauté un coup de pouce Merci d'avoir lu ma demande, j'espère qu'on trouvera la solution 😁 Edited March 20, 2020 by Weec (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted March 20, 2020 Share Posted March 20, 2020 C'est ennuyeux s'il vous manque une table dans la base de données (guest) Sachant qu'elles ne disparaissent pas toutes seules, qu'avez-vous fait ? Link to comment Share on other sites More sharing options...
Weec Posted March 20, 2020 Author Share Posted March 20, 2020 Merci pour la réponse Eolia, j'ai constaté que le back office avait beaucoup de problème d'affichage après l'installation initial (onglet pas en place, superposé...), J'ai donc changer la version de l'environnement sur mon hébergeur (OVH) pour une version antérieure, ce qui a régler ses problèmes et ensuite j'ai installé un thème que j'ai acheter au préalable et j'ai fait des modifications de personnalisation simplement... Link to comment Share on other sites More sharing options...
Eolia Posted March 20, 2020 Share Posted March 20, 2020 Pouvez-vous controler en base de données si la table guest (avec votre préfixe) existe bien ou pas ? Link to comment Share on other sites More sharing options...
Weec Posted March 20, 2020 Author Share Posted March 20, 2020 J'essaye d'aller sur ma base de données PhpMyAdmin a partir de OVH et il me demande le mot de passe que je ne connais pas, je vais donc dans mon FTP > config > setting.inc.php Et au lieu d'avoir le mot de passe affiché j'ai uniquement ça : <?php //@deprecated 1.7 Normal ? Link to comment Share on other sites More sharing options...
Weec Posted March 20, 2020 Author Share Posted March 20, 2020 Je viens de trouver le mot de passe dans app > config > paramètres.php Nouvelle version 1.7... Je regarde pour la table guest ! Link to comment Share on other sites More sharing options...
Weec Posted March 20, 2020 Author Share Posted March 20, 2020 Non elle n'y est pas... Voir capture d'écran au cas ou je me trompe d'endroit 🤨 Link to comment Share on other sites More sharing options...
Eolia Posted March 20, 2020 Share Posted March 20, 2020 alors effectuez cette requête dans phpmyadmin en remplaçant PREFIX par le préfixe de vos tables: CREATE TABLE `PREFIX_guest` ( `id_guest` int(10) unsigned NOT NULL auto_increment, `id_operating_system` int(10) unsigned DEFAULT NULL, `id_web_browser` int(10) unsigned DEFAULT NULL, `id_customer` int(10) unsigned DEFAULT NULL, `javascript` tinyint(1) DEFAULT '0', `screen_resolution_x` smallint(5) unsigned DEFAULT NULL, `screen_resolution_y` smallint(5) unsigned DEFAULT NULL, `screen_color` tinyint(3) unsigned DEFAULT NULL, `sun_java` tinyint(1) DEFAULT NULL, `adobe_flash` tinyint(1) DEFAULT NULL, `adobe_director` tinyint(1) DEFAULT NULL, `apple_quicktime` tinyint(1) DEFAULT NULL, `real_player` tinyint(1) DEFAULT NULL, `windows_media` tinyint(1) DEFAULT NULL, `accept_language` varchar(8) DEFAULT NULL, `mobile_theme` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id_guest`), KEY `id_customer` (`id_customer`), KEY `id_operating_system` (`id_operating_system`), KEY `id_web_browser` (`id_web_browser`) ) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8 COLLATION; Mais bon... cette table n'a pas pu disparaitre toute seule... Link to comment Share on other sites More sharing options...
Weec Posted March 20, 2020 Author Share Posted March 20, 2020 C'est vrai je ne comprends pas non plus surtout que je ne me suis jamais connecter a PhpMyAdmin avec ce site... 😑 Merci pour le code et de prendre le temps pour ce problème ! J'ai essayer la requête mais j'ai un message d'erreur (voir capture d'écran)... Link to comment Share on other sites More sharing options...
Eolia Posted March 20, 2020 Share Posted March 20, 2020 Arf... pardon^^ CREATE TABLE `PREFIX_guest` ( `id_guest` int(10) unsigned NOT NULL auto_increment, `id_operating_system` int(10) unsigned DEFAULT NULL, `id_web_browser` int(10) unsigned DEFAULT NULL, `id_customer` int(10) unsigned DEFAULT NULL, `javascript` tinyint(1) DEFAULT '0', `screen_resolution_x` smallint(5) unsigned DEFAULT NULL, `screen_resolution_y` smallint(5) unsigned DEFAULT NULL, `screen_color` tinyint(3) unsigned DEFAULT NULL, `sun_java` tinyint(1) DEFAULT NULL, `adobe_flash` tinyint(1) DEFAULT NULL, `adobe_director` tinyint(1) DEFAULT NULL, `apple_quicktime` tinyint(1) DEFAULT NULL, `real_player` tinyint(1) DEFAULT NULL, `windows_media` tinyint(1) DEFAULT NULL, `accept_language` varchar(8) DEFAULT NULL, `mobile_theme` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id_guest`), KEY `id_customer` (`id_customer`), KEY `id_operating_system` (`id_operating_system`), KEY `id_web_browser` (`id_web_browser`) ) CHARSET=utf8 COLLATION; Link to comment Share on other sites More sharing options...
Weec Posted March 23, 2020 Author Share Posted March 23, 2020 On 3/20/2020 at 8:12 PM, Eolia said: CREATE TABLE `PREFIX_guest` ( `id_guest` int(10) unsigned NOT NULL auto_increment, `id_operating_system` int(10) unsigned DEFAULT NULL, `id_web_browser` int(10) unsigned DEFAULT NULL, `id_customer` int(10) unsigned DEFAULT NULL, `javascript` tinyint(1) DEFAULT '0', `screen_resolution_x` smallint(5) unsigned DEFAULT NULL, `screen_resolution_y` smallint(5) unsigned DEFAULT NULL, `screen_color` tinyint(3) unsigned DEFAULT NULL, `sun_java` tinyint(1) DEFAULT NULL, `adobe_flash` tinyint(1) DEFAULT NULL, `adobe_director` tinyint(1) DEFAULT NULL, `apple_quicktime` tinyint(1) DEFAULT NULL, `real_player` tinyint(1) DEFAULT NULL, `windows_media` tinyint(1) DEFAULT NULL, `accept_language` varchar(8) DEFAULT NULL, `mobile_theme` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id_guest`), KEY `id_customer` (`id_customer`), KEY `id_operating_system` (`id_operating_system`), KEY `id_web_browser` (`id_web_browser`) ) CHARSET=utf8 COLLATION; Merci pour la réponse Eolia, je viens d'essayer et il reste un message d'erreur de syntaxe (voir PJ).. Link to comment Share on other sites More sharing options...
Eolia Posted March 23, 2020 Share Posted March 23, 2020 Virez le COLLATION Link to comment Share on other sites More sharing options...
Weec Posted March 23, 2020 Author Share Posted March 23, 2020 Super, la table a bien était créer ! Merci Cependant, maintenant quand je retourne sur l'onglet client : "Mauvaise requête SQL Table 'lirrati156.mod510_connections' doesn't exist" J'espère que c'est la dernière a créer ! Un bout de code a me fournir pour que j'injecte ça dans le SQL ? 🤔 Link to comment Share on other sites More sharing options...
doekia Posted March 24, 2020 Share Posted March 24, 2020 CREATE TABLE `PREFIX_connections` ( `id_connections` int(10) unsigned NOT NULL auto_increment, `id_shop_group` INT(11) UNSIGNED NOT NULL DEFAULT '1', `id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1', `id_guest` int(10) unsigned NOT NULL, `id_page` int(10) unsigned NOT NULL, `ip_address` BIGINT NULL DEFAULT NULL, `date_add` datetime NOT NULL, `http_referer` varchar(255) DEFAULT NULL, PRIMARY KEY (`id_connections`), KEY `id_guest` (`id_guest`), KEY `date_add` (`date_add`), KEY `id_page` (`id_page`) ) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8; CREATE TABLE `PREFIX_connections_page` ( `id_connections` int(10) unsigned NOT NULL, `id_page` int(10) unsigned NOT NULL, `time_start` datetime NOT NULL, `time_end` datetime DEFAULT NULL, PRIMARY KEY (`id_connections`,`id_page`,`time_start`) ) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8; CREATE TABLE `PREFIX_connections_source` ( `id_connections_source` int(10) unsigned NOT NULL auto_increment, `id_connections` int(10) unsigned NOT NULL, `http_referer` varchar(255) DEFAULT NULL, `request_uri` varchar(255) DEFAULT NULL, `keywords` varchar(255) DEFAULT NULL, `date_add` datetime NOT NULL, PRIMARY KEY (`id_connections_source`), KEY `connections` (`id_connections`), KEY `orderby` (`date_add`), KEY `http_referer` (`http_referer`), KEY `request_uri` (`request_uri`) ) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8; Link to comment Share on other sites More sharing options...
Weec Posted March 24, 2020 Author Share Posted March 24, 2020 Merci pour la réponse Doekia C'est tout bon, j'ai juste au préalable virer ENGINE TYPE car j'avais un message d'erreur et maintenant tout l'onglet client fonctionne ! Au top, merci a tous ! Link to comment Share on other sites More sharing options...
FXS Posted July 29, 2020 Share Posted July 29, 2020 Bonjour, j'ai aussi le même soucis que cité précédemment mais pour l'onglet panier. De plus l'onglet statistique ne se met plus à jour, il m'indique zero traffic sur mon site web. C'est arrivé suite à la maj de prestashop que j'ai fait (avant tout marchais nikel!) j'ai tenter de rétablir une sauvegarde mais le soucis persiste. je suis donc revenu sous la dernière version. J'aimerais bien faire la même manip que montré précédemment mais je n'y connais rien de rien au PHP etc... quelqu'un peut m'éclairer? Merci d'avance pour votre aide Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now