Jump to content

Recommended Posts

Bonjour,

Depuis quelque temps, les clients ne peuvent plus s'inscrire ou passer commande.
En inspectant la base de données, la table client ("customers" dans MySQL) affiche le message suivant :

#1286 - unknown Storage storage engine"
 

Impossible d'accéder ou modifier la table.

Je fais appel à l'hébergeur qui regarder, mais leur réponse est :

"Fichier corrompue depuis plusieurs mois.... impossible à récupérer... sauvegarde du site seulement de 7 jours".

De plus, l'hébergeur a supprimer la table "customers".

Toujours au point mort concernant les clients.

 

Quelles sont les options ?

  • Dois-je re-créer une table "customers" ?
  • Dupliquer le site ?
  • Repartir avec une installation vierge ?

Faut-il également passer aux dernières versions PHP et MySQL (actuellement 5.6) ?

> En pièce jointes, captures utiles des informations et alertes du site.

Prestashop-Alerte-01.PNG

Prestashop-Alerte-Customers.PNG

Prestashop-Informations-site.PNG

Link to comment
Share on other sites

Alors là Infomaniak fait très fort.... Supprimer purement et simplement une table complète.

Ne laissez JAMAIS un hébergeur tripatouiller vos sites, ils n'y connaissent rien. Et là, ils sont responsables de la perte de vos données en plus.

Si vous n'avez aucun moyen de récupérer une sauvegarde plus ancienne il faut recréer la table

DROP TABLE IF EXISTS `ps_customer`;
CREATE TABLE `ps_customer` (
  `id_customer` 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_gender` int(10) unsigned NOT NULL,
  `id_default_group` int(10) unsigned NOT NULL DEFAULT '1',
  `id_lang` int(10) unsigned DEFAULT NULL,
  `id_risk` int(10) unsigned NOT NULL DEFAULT '1',
  `company` varchar(64) DEFAULT NULL,
  `siret` varchar(14) DEFAULT NULL,
  `ape` varchar(5) DEFAULT NULL,
  `firstname` varchar(32) NOT NULL,
  `lastname` varchar(32) NOT NULL,
  `email` varchar(128) NOT NULL,
  `passwd` varchar(32) NOT NULL,
  `last_passwd_gen` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `birthday` date DEFAULT NULL,
  `newsletter` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `ip_registration_newsletter` varchar(15) DEFAULT NULL,
  `newsletter_date_add` datetime DEFAULT NULL,
  `optin` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `website` varchar(128) DEFAULT NULL,
  `outstanding_allow_amount` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `show_public_prices` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `max_payment_days` int(10) unsigned NOT NULL DEFAULT '60',
  `secure_key` varchar(32) NOT NULL DEFAULT '-1',
  `note` text,
  `active` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_guest` tinyint(1) NOT NULL DEFAULT '0',
  `deleted` tinyint(1) NOT NULL DEFAULT '0',
  `date_add` datetime NOT NULL,
  `date_upd` datetime NOT NULL,
  PRIMARY KEY (`id_customer`),
  KEY `customer_email` (`email`),
  KEY `customer_login` (`email`,`passwd`),
  KEY `id_customer_passwd` (`id_customer`,`passwd`),
  KEY `id_gender` (`id_gender`),
  KEY `id_shop_group` (`id_shop_group`),
  KEY `id_shop` (`id_shop`,`date_add`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

 

  • Like 1
Link to comment
Share on other sites

Ah tu as reconnu Infomaniak 😉 !
D'habitude j'ai pas de soucis avec eux, plutôt efficace... C'est ce qui arrive lorsqu'on grandit trop vite !

En tout cas, merci pour les infos de la table.. je l'ai recrée et ça fonctionne nickel 👍 !

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...