Infos suite a migration 6.2 vers 6.3


2 posts in this topic

Posted · Report post

Bonjour,

Ayant un certain nombre d'erreurs après avoir retesté l'ensemble des fonctionnalités du site que j'ai migré de Peel 6.2 (avec premium) en peel 6.3 (avec premium), j'ai utilisé un comparateur de schémas SQL afin de regarder les différences existantes entre ma base après migration et le script de création d'une installation neuve de Peel 6.3 (avec premium). Voici le résultat :


ALTER TABLE `peel_newsletter`

ADD COLUMN `message_en` mediumtext  NOT NULL DEFAULT NULL ,

ADD COLUMN `sujet_en` mediumtext  NOT NULL DEFAULT NULL ,

ADD COLUMN `message_fr` mediumtext  NOT NULL DEFAULT NULL ,

ADD COLUMN `sujet_fr` mediumtext  NOT NULL DEFAULT NULL ,

DROP COLUMN `message`,

DROP COLUMN `sujet`;

ALTER TABLE `peel_utilisateurs_codes_promos`

MODIFY COLUMN `utilise` tinyint(3)  NOT NULL DEFAULT '0' ;

ALTER TABLE `peel_etatstock`

MODIFY COLUMN `valeur` tinyint(1)  NOT NULL DEFAULT '0' ;

ALTER TABLE `peel_banniere`

MODIFY COLUMN `etat` tinyint(1)  NOT NULL DEFAULT '0' ,

DROP COLUMN `annonce_number`;

ALTER TABLE `peel_sites`

MODIFY COLUMN `rueducommerce_mmid` varchar(25)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `module_captcha` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `mode_transport` tinyint(1)  NOT NULL DEFAULT '1' ,

MODIFY COLUMN `popup_width` int(11)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `auto_promo` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `admin_force_ssl` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `act_on_top` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `display_prices_with_taxes` tinyint(1)  NOT NULL DEFAULT '1' ,

MODIFY COLUMN `allow_add_product_with_no_stock_in_cart` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `html_editor` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `display_prices_with_taxes_in_admin` tinyint(1)  NOT NULL DEFAULT '1' ,

MODIFY COLUMN `type_rollover` tinyint(1)  NOT NULL DEFAULT '2' ,

ADD COLUMN `module_vacances_fournisseur` tinyint(1)  NOT NULL DEFAULT '1' ,

MODIFY COLUMN `popup_height` int(11)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `module_cart_preservation` tinyint(1)  NOT NULL DEFAULT '1' ,

MODIFY COLUMN `category_order_on_catalog` tinyint(1)  NOT NULL DEFAULT '1' ,

MODIFY COLUMN `quotation_delay` varchar(25)  NOT NULL DEFAULT '6 mois' ,

MODIFY COLUMN `module_precedent_suivant` tinyint(1)  NOT NULL DEFAULT '1';

ALTER TABLE `peel_produits`

MODIFY COLUMN `display_price_by_weight` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `prix_promo` float(15,2)  NOT NULL DEFAULT '0.00' ,

MODIFY COLUMN `promotion` float(15,2)  NOT NULL DEFAULT '0.00' ,

MODIFY COLUMN `affiche_stock` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `etat_stock` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `comments` tinyint(1)  NOT NULL DEFAULT '0';

ALTER TABLE `peel_types`

MODIFY COLUMN `etat` tinyint(1)  NOT NULL DEFAULT '0' ;

ALTER TABLE `peel_zones`

MODIFY COLUMN `on_franco_amount` float(15,5)  NOT NULL DEFAULT '0.00000' ,

MODIFY COLUMN `on_franco_nb_products` int(5)  NOT NULL DEFAULT '0' ;

ALTER TABLE `peel_utilisateurs`

ADD COLUMN `Valid` enum('NO','YES','AGENT','PROSP')  NOT NULL DEFAULT 'YES' ,

MODIFY COLUMN `id_cat_1` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `id_cat_2` tinyint(1)  NOT NULL DEFAULT '0' ,

ADD COLUMN `document` varchar(255)  NOT NULL DEFAULT NULL ,

MODIFY COLUMN `id_cat_3` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `newsletter` tinyint(1)  NOT NULL DEFAULT '1' ,

ADD COLUMN `next_contact_reason` enum('','renewal_expected','payment_expected','planified','commercial_action','usual')  NULL DEFAULT NULL ,

MODIFY COLUMN `project_date_forecasted` date  NOT NULL DEFAULT '0000-00-00' ,

MODIFY COLUMN `project_chances_estimated` varchar(255)  NULL DEFAULT '0' ,

MODIFY COLUMN `logo` varchar(255)  NOT NULL DEFAULT '' ,

ADD COLUMN `id_salerepresentative` int(11)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `commercial` tinyint(1)  NOT NULL DEFAULT '1' ,

MODIFY COLUMN `cnil` tinyint(1)  NOT NULL DEFAULT '1' ,

ADD COLUMN `Admis` enum('NO','OK')  NOT NULL DEFAULT 'OK' ,

ADD COLUMN `description_document` text  NOT NULL DEFAULT NULL ,

DROP COLUMN `siren`,

DROP COLUMN `web`;

ALTER TABLE `peel_commandes_articles`

MODIFY COLUMN `statut` tinyint(1)  NOT NULL DEFAULT '0' ;

ALTER TABLE `peel_commandes`

MODIFY COLUMN `affilie` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `points_etat` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `statut_affilie` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `zone_tva` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `zone_franco` tinyint(1)  NOT NULL DEFAULT '0' ;

ALTER TABLE `peel_pensebete`

MODIFY COLUMN `date_insertion` date  NOT NULL DEFAULT '0000-00-00' ,

MODIFY COLUMN `id_produit` int(11)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `id_utilisateur` int(11)  NOT NULL DEFAULT '0' ;

ALTER TABLE `peel_codes_promos`

MODIFY COLUMN `remise_percent` float(15,2)  NOT NULL DEFAULT '0.00' ,

MODIFY COLUMN `nb_used_per_client` int(11)  NOT NULL DEFAULT '1' ;

ALTER TABLE `peel_categories`

MODIFY COLUMN `on_carrousel` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `type_affichage` tinyint(1)  NOT NULL DEFAULT '0' ;

ALTER TABLE `peel_nom_attributs`

MODIFY COLUMN `upload` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `etat` tinyint(1)  NOT NULL DEFAULT '0' ,

MODIFY COLUMN `texte_libre` tinyint(1)  NOT NULL DEFAULT '0' ,

DROP COLUMN `id_categorie`;

CREATE TABLE `peel_produits_references_attributs` (

  `produit_id` int(11) NOT NULL,

  `taille_id` int(11) NOT NULL,

  `couleur_id` int(11) NOT NULL,

  `attributs` varchar(255) NOT NULL,

  `reference` varchar(50) NOT NULL,

  UNIQUE KEY `reference` (`reference`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8

ALTER TABLE `peel_tarifs`

MODIFY COLUMN `type` tinyint(1)  NOT NULL DEFAULT '0' ;

ALTER TABLE `peel_profil`

ADD COLUMN `document` varchar(255)  NOT NULL DEFAULT NULL ,

ADD COLUMN `description_document` text  NOT NULL DEFAULT NULL ;

CREATE TABLE `peel_save_cart` (

  `id` int(11) NOT NULL AUTO_INCREMENT,

  `sc_timestamp` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',

  `id_utilisateur` int(11) NOT NULL DEFAULT '0',

  `produit_id` int(11) NOT NULL DEFAULT '0',

  `nom_produit` varchar(255) NOT NULL DEFAULT '',

  `quantite` int(11) NOT NULL DEFAULT '0',

  `couleur` varchar(150) NOT NULL DEFAULT '',

  `taille` varchar(150) NOT NULL DEFAULT '',

  `couleur_id` int(11) NOT NULL DEFAULT '0',

  `taille_id` int(11) NOT NULL DEFAULT '0',

  `nom_attribut` varchar(255) NOT NULL DEFAULT '',

  `id_attribut` varchar(100) NOT NULL,

  PRIMARY KEY (`id`),

  KEY `id_utilisateur` (`id_utilisateur`),

  KEY `produit_id` (`produit_id`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8

ALTER TABLE `peel_webmail`

ADD COLUMN `commande_id` int(11)  NOT NULL DEFAULT NULL ,

MODIFY COLUMN `id_user` int(11)  NOT NULL DEFAULT NULL ,

MODIFY COLUMN `id` int(11)  NOT NULL DEFAULT NULL AUTO_INCREMENT,

ADD COLUMN `dispo` varchar(50)  NOT NULL DEFAULT '' ,

ADD COLUMN `telephone` varchar(32)  NOT NULL DEFAULT '' ;

DROP TABLE `peel_forums_cat2`

DROP TABLE `peel_forums`

DROP TABLE `peel_tickets`

DROP TABLE `peel_forums_cat`

DROP TABLE `peel_forums_suivis`

Les problèmes remontés après cette migration sont entres autres :

Fonctionnalité "Rechercher"

  • Filtrage par catégorie ne fonctionne pas


    Gestion de compte Utilisateur
    • Date de naissance en mauvais format par rapport au texte


      Contact / demande de devis
      • Il serait bien de pouvoir différencier les 2 notions
      • Champ téléphone inconnu => erreur SQL


        Devenir Affilié
        • Le champ pseudo n'est pas défini (avertissement PHP)
        • Ne fonctionne pas


          Administration : module de sauvegarde du panier
          • Non fonctionnel quel que soit le paramétrage

          Administration : module produit précédent / suivant

          [*]Non fonctionnel quel que soit le paramétrage

          Administration : ajout d'une newsletter

          [*]le champ sujet_fr n'existe pas

          Administration : chèques cadeaux

          [*]La création ajoute un item dans les codes de réduction

          [*]La liste est toujours vide

          [*]Rien ne s'affiche dans le front-office, rubrique chèques cadeaux

          Gestion de stock

          [*]La fonction d'envoi de mail sur réappro en stock d'un produit ne semble pas fonctionner.

          Pouvez-vous me confirmer que ce sont bien des changements à effectuer afin que je puisse passer le script sur ma base d'une part, et que d'autre part vous puissiez effectuer au besoin les correctifs utiles dans le script de migration pour les autres utilisateurs de votre solution Peel ?

          Bien cordialement,

          David Renard

Share this post


: post
Share on other sites

Posted · Report post

Bonjour,

Vous pouvez exécuter les requêtes SQL que vous avez listées dans votre note, elles m'ont permit de mettre à jour le script de migration du tutoriel

Merci pour ces informations.

Share this post


: post
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

Twitter Advisto ecommerce

Facebook PEEL Shopping