Récemment


La page produit n'apparait plus sur le backoffice suite à une migration



  • @eolia
    Bonjour et merci pour votre réponse Eolia.

    Bon j'ai trouvé le soucis.
    Merci pour le mode débug, étant donné que je ne suis pas familier avec Prestashop, je ne connaissais absolument pas.
    Je l'ai activé et J'ai pu voir les produits, et l'erreur que je vois, c'est qu'il n'y a pas de traduction faites pour les produits.
    En gros, il n'y a que le texte en FR, il y a 2 langues activés sur la boutique (FR et EN)
    J'ai fais un test en éditant un produit, l'image est rajouté et j'ai mis un texte traduit.

    Tout semble remarcher.
    Merci encore !!



  • @eolia
    En regardant de plus prêt, c'est pas une questino de traduction produit, mais de traduction global.
    L'erreur me mène vers cette page qui me dit :

    These messages are not available for the given locale and cannot be found in the fallback locales. Add them to the translation catalogue to avoid Symfony outputting untranslated contents.

    (voir image en pièce jointe)

    J'ai l'impression que le module de langue ne s'est pas bien mise.

    Car quand je regarde dans le backoffice, le drapeau anglais est grisé.
    Je pense que je vais effacer et remettre ce language anglais, même si ça implique que je vais devoir remettre des traductions sur les pages que j'ai fais manuellement :/

    1_1512405703504_Capture d’écran 2017-12-04 à 17.39.50.png 0_1512405703503_Capture d’écran 2017-12-04 à 17.40.24.png



  • Pas grisé mais il lui manque l'image.
    Avant de supprimer quoique ce soit, essayez de mettre à jour la langue déjà...



  • Merci encore pour votre réponse @eolia
    Effectivement, j'ai recharger la langue, et j'en ai profité pour lui mettre une image,
    mais rien ne change.

    Pour info, j'ai re-désactivé le debug mode pour voir si la page produit marchait quand même, et non, sans le debug mode, la page redevient blanche.

    Je encore regardé les messages d'erreur, je suis allé sur ce qui s'appelle le silenced errors. (il y en avait une)
    Je tombe sur ça.

    Que puis-je faire pour arranger ça ? Ca serait une modification à faire sur un fichier FR ?0_1512407956779_Capture d’écran 2017-12-04 à 18.16.58.png



  • A priori ces erreurs concernent le FR donc mettez à jour cette langue également

    Ensuite, si vous n'avez pas trop de produits, enregistrez-les tous un par un pour reconstruire correctement les objets.



  • @eolia
    c'est étrange, car j'ai mis la langue jour, mais rien ne semble changer.
    J'ai toujours le message d'erreur.

    Je suis allé dans International > Traductions >
    Dans la partie " Ajouter / Mettre à jour une langue " j'ai sélectionné 'Français (French)'
    puis j'ai cliqué sur "Ajouter ou mettre à jour la langue".

    Est ce qu'il faut bien faire de cette manière ?

    Au pire des cas, je peux continuer à travailler avec le debug mode et continuer à modifier les produits...



  • Je ne sais pas si ça a avoir avec ça ou non, mais juste en navigant sur le site, je suis tombé sur le message d'erreur alors que je tentais de retourner sur la homepage du site :

    Whoops, looks like something went wrong.
    1/1 ContextErrorException in DbPDO.php line 134: Warning: PDO::query(): MySQL server has gone away
    
        in DbPDO.php line 134
        at ErrorHandler->handleError('2', 'PDO::query(): MySQL server has gone away', '/home/feliciea/www/classes/db/DbPDO.php', '134', array('sql' => ' SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'felicieapauline' AND TABLE_NAME='ps_btmegamenu_lang' AND COLUMN_NAME ='url' '))
        at PDO->query(' SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'felicieapauline' AND TABLE_NAME='ps_btmegamenu_lang' AND COLUMN_NAME ='url' ') in DbPDO.php line 134
        at DbPDOCore->_query(' SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'felicieapauline' AND TABLE_NAME='ps_btmegamenu_lang' AND COLUMN_NAME ='url' ') in Db.php line 369
        at DbCore->query(' SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'felicieapauline' AND TABLE_NAME='ps_btmegamenu_lang' AND COLUMN_NAME ='url' ') in Db.php line 596
        at DbCore->executeS(' SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'felicieapauline' AND TABLE_NAME='ps_btmegamenu_lang' AND COLUMN_NAME ='url' ') in leobootstrapmenu.php line 1753
        at Leobootstrapmenu->checkVersion('') in leobootstrapmenu.php line 82
        at Leobootstrapmenu->__construct() in ApMegamenu.php line 113
        at ApMegamenu->prepareFontContent(array('apContent' => '', 'formAtts' => array('form_id' => 'form_2382411866958637', 'megamenu_group' => '18f88e8742fcbd811ab91519184f490e', 'class' => 'ApMegamenu', 'rtl' => '0', 'isEnabled' => true), 'homeSize' => array('width' => '470', 'height' => '470'), 'mediumSize' => array('width' => '600', 'height' => '600'), 'img_manu_dir' => '/img/m/', 'comparator_max_item' => '0', 'compared_products' => array(), 'tpl_dir' => '/home/feliciea/www/themes/leo_leblanc/', 'PS_CATALOG_MODE' => '0', 'priceDisplay' => '0', 'PS_STOCK_MANAGEMENT' => '1', 'page_name' => 'index'), object(APPageBuilder)) in shortcodes.php line 417
        at ApShortCodeBase->fontContent(array('form_id' => 'form_2382411866958637', 'megamenu_group' => '18f88e8742fcbd811ab91519184f490e', 'class' => 'ApMegamenu', 'rtl' => '0'), '', 'ApMegamenu', '1') in shortcodes.php line 625
        at ApShortCodesBuilder::doShortcodeTag(array('[ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu]', '', 'ApMegamenu', ' form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"', '', '', ''))
        at preg_replace_callback('/[([?)(ApAccordions|ApAlert|ApBlockCarousel|ApBlockLink|ApBlog|ApButton|ApCategoryImage|ApColumn|ApCountdown|ApFacebook|ApFontAwesome|ApFullSlider|ApGenCode|ApGmap|ApHtml|ApImage360|ApImageGallery|ApImageGalleryProduct|ApImageHotspot|ApImage|ApInstagram|ApManuFacturersCarousel|ApMegamenu|ApModule|ApProductCarousel|ApProductList|ApRawHtml|ApRow|ApSliderLayer|ApSlideShow|ApTabs|ApTwitter|ApVideo|ApTab|ApAccordion)(?![\w-])([^]\/]*(?:\/(?!])[^]\/]*)*?)(?:(\/)]|](?:([^[]*+(?:[(?!\/\2])[^[]*+)*+)[\/\2])?)(]?)/s', array(object(ApShortCodesBuilder), 'doShortcodeTag'), '[ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu]') in shortcodes.php line 572
        at ApShortCodesBuilder::doShortcode('[ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu]') in shortcodes.php line 349
        at ApShortCodeBase->fontContent(array('form_id' => 'form_9635473976325530', 'class' => 'group-menu', 'xl' => '12', 'lg' => '12', 'md' => '12', 'sm' => '12', 'xs' => '12', 'sp' => '12', 'animation' => 'none', 'animation_delay' => '2', 'specific_type' => 'all', 'controller_pages' => '', 'controller_id' => ''), '[ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu]', 'ApColumn', '1') in shortcodes.php line 625
        at ApShortCodesBuilder::doShortcodeTag(array('[ApColumn form_id="form_9635473976325530" class="group-menu" xl="12" lg="12" md="12" sm="12" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu][/ApColumn]', '', 'ApColumn', ' form_id="form_9635473976325530" class="group-menu" xl="12" lg="12" md="12" sm="12" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""', '', '[ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu]', ''))
        at preg_replace_callback('/[([?)(ApAccordions|ApAlert|ApBlockCarousel|ApBlockLink|ApBlog|ApButton|ApCategoryImage|ApColumn|ApCountdown|ApFacebook|ApFontAwesome|ApFullSlider|ApGenCode|ApGmap|ApHtml|ApImage360|ApImageGallery|ApImageGalleryProduct|ApImageHotspot|ApImage|ApInstagram|ApManuFacturersCarousel|ApMegamenu|ApModule|ApProductCarousel|ApProductList|ApRawHtml|ApRow|ApSliderLayer|ApSlideShow|ApTabs|ApTwitter|ApVideo|ApTab|ApAccordion)(?![\w-])([^]\/]*(?:\/(?!])[^]\/]*)*?)(?:(\/)]|](?:([^[]*+(?:[(?!\/\2])[^[]*+)*+)[\/\2])?)(]?)/s', array(object(ApShortCodesBuilder), 'doShortcodeTag'), '[ApColumn form_id="form_9635473976325530" class="group-menu" xl="12" lg="12" md="12" sm="12" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu][/ApColumn]') in shortcodes.php line 572
        at ApShortCodesBuilder::doShortcode('[ApColumn form_id="form_9635473976325530" class="group-menu" xl="12" lg="12" md="12" sm="12" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu][/ApColumn]') in shortcodes.php line 349
        at ApShortCodeBase->fontContent(array('form_id' => 'form_9233531329831740', 'container' => 'container', 'class' => 'row box-bottom-header', 'bg_config' => 'boxed', 'bg_type' => 'normal', 'bg_repeat' => 'no-repeat', 'parallax_speed' => '0.1', 'parallax_axis' => 'both', 'parallax_strength' => '0.5', 'parallax_rid' => '0.5', 'parallax_hoffsets' => '0.1', 'parallax_voffsets' => '0.1', 'animation' => 'none', 'animation_delay' => '2', 'specific_type' => 'all', 'controller_pages' => '', 'controller_id' => ''), '[ApColumn form_id="form_9635473976325530" class="group-menu" xl="12" lg="12" md="12" sm="12" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu][/ApColumn]', 'ApRow', '1') in shortcodes.php line 625
        at ApShortCodesBuilder::doShortcodeTag(array('[ApRow form_id="form_9233531329831740" container="container" class="row box-bottom-header" bg_config="boxed" bg_type="normal" bg_repeat="no-repeat" parallax_speed="0.1" parallax_axis="both" parallax_strength="0.5" parallax_rid="0.5" parallax_hoffsets="0.1" parallax_voffsets="0.1" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApColumn form_id="form_9635473976325530" class="group-menu" xl="12" lg="12" md="12" sm="12" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu][/ApColumn][/ApRow]', '', 'ApRow', ' form_id="form_9233531329831740" container="container" class="row box-bottom-header" bg_config="boxed" bg_type="normal" bg_repeat="no-repeat" parallax_speed="0.1" parallax_axis="both" parallax_strength="0.5" parallax_rid="0.5" parallax_hoffsets="0.1" parallax_voffsets="0.1" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""', '', '[ApColumn form_id="form_9635473976325530" class="group-menu" xl="12" lg="12" md="12" sm="12" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu][/ApColumn]', ''))
        at preg_replace_callback('/[([?)(ApAccordions|ApAlert|ApBlockCarousel|ApBlockLink|ApBlog|ApButton|ApCategoryImage|ApColumn|ApCountdown|ApFacebook|ApFontAwesome|ApFullSlider|ApGenCode|ApGmap|ApHtml|ApImage360|ApImageGallery|ApImageGalleryProduct|ApImageHotspot|ApImage|ApInstagram|ApManuFacturersCarousel|ApMegamenu|ApModule|ApProductCarousel|ApProductList|ApRawHtml|ApRow|ApSliderLayer|ApSlideShow|ApTabs|ApTwitter|ApVideo|ApTab|ApAccordion)(?![\w-])([^]\/]*(?:\/(?!])[^]\/]*)*?)(?:(\/)]|](?:([^[]*+(?:[(?!\/\2])[^[]*+)*+)[\/\2])?)(]?)/s', array(object(ApShortCodesBuilder), 'doShortcodeTag'), '[ApRow form_id="form_5831186708037544" container="container" class="row box-top-header" bg_config="boxed" bg_type="normal" bg_repeat="no-repeat" parallax_speed="0.1" parallax_axis="both" parallax_strength="0.5" parallax_rid="0.5" parallax_hoffsets="0.1" parallax_voffsets="0.1" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApColumn form_id="form_9115943682790994" class="group-left-header" xl="4" lg="4" md="4" sm="4" xs="6" sp="6" animation="none" animation_delay="2" specific_type="all" active="1" controller_pages="" controller_id=""][ApModule form_id="form_36959394124312865" name_module="ps_languageselector" hook="displayTop" is_display="1"][/ApModule][ApModule form_id="form_7074332494242651" name_module="ps_currencyselector" hook="displayNav2" is_display="1"][/ApModule][/ApColumn][ApColumn form_id="form_8475929062454929" class="group-center-header" xl="4" lg="4" md="4" sm="4" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" active="1" controller_pages="" controller_id=""][ApGenCode form_id="form_7206471214229717" id_gencode="id_gencode_582988ce3a1c4_1479117006" content_html="<a href=_APQUOT_{$urls.base_url}_APQUOT_ title=_APQUOT_{$shop.name}_APQUOT_>_APENTER_<img class=_APQUOT_logo img-responsive_APQUOT_ src=_APQUOT_{$shop.logo}_APQUOT_ alt=_APQUOT_{$shop.name}_APQUOT_/>_APENTER_</a>"][/ApGenCode][/ApColumn][ApColumn form_id="form_37926600606431685" class="group-right-header position-static" xl="4" lg="4" md="4" sm="4" xs="6" sp="6" animation="none" animation_delay="2" specific_type="all" active="1" controller_pages="" controller_id=""][ApModule form_id="form_8998025011243929" name_module="ps_searchbar" hook="displayTop" is_display="1"][/ApModule][ApModule form_id="form_5801767352425302" name_module="ps_customersignin" hook="displayTop" is_display="1"][/ApModule][ApModule form_id="form_8759472769048537" name_module="ps_shoppingcart" hook="displayTop" is_display="1"][/ApModule][/ApColumn][/ApRow][ApRow form_id="form_9233531329831740" container="container" class="row box-bottom-header" bg_config="boxed" bg_type="normal" bg_repeat="no-repeat" parallax_speed="0.1" parallax_axis="both" parallax_strength="0.5" parallax_rid="0.5" parallax_hoffsets="0.1" parallax_voffsets="0.1" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApColumn form_id="form_9635473976325530" class="group-menu" xl="12" lg="12" md="12" sm="12" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu][/ApColumn][/ApRow]') in shortcodes.php line 572
        at ApShortCodesBuilder::doShortcode('[ApRow form_id="form_5831186708037544" container="container" class="row box-top-header" bg_config="boxed" bg_type="normal" bg_repeat="no-repeat" parallax_speed="0.1" parallax_axis="both" parallax_strength="0.5" parallax_rid="0.5" parallax_hoffsets="0.1" parallax_voffsets="0.1" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApColumn form_id="form_9115943682790994" class="group-left-header" xl="4" lg="4" md="4" sm="4" xs="6" sp="6" animation="none" animation_delay="2" specific_type="all" active="1" controller_pages="" controller_id=""][ApModule form_id="form_36959394124312865" name_module="ps_languageselector" hook="displayTop" is_display="1"][/ApModule][ApModule form_id="form_7074332494242651" name_module="ps_currencyselector" hook="displayNav2" is_display="1"][/ApModule][/ApColumn][ApColumn form_id="form_8475929062454929" class="group-center-header" xl="4" lg="4" md="4" sm="4" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" active="1" controller_pages="" controller_id=""][ApGenCode form_id="form_7206471214229717" id_gencode="id_gencode_582988ce3a1c4_1479117006" content_html="<a href=_APQUOT_{$urls.base_url}_APQUOT_ title=_APQUOT_{$shop.name}_APQUOT_>_APENTER_<img class=_APQUOT_logo img-responsive_APQUOT_ src=_APQUOT_{$shop.logo}_APQUOT_ alt=_APQUOT_{$shop.name}_APQUOT_/>_APENTER_</a>"][/ApGenCode][/ApColumn][ApColumn form_id="form_37926600606431685" class="group-right-header position-static" xl="4" lg="4" md="4" sm="4" xs="6" sp="6" animation="none" animation_delay="2" specific_type="all" active="1" controller_pages="" controller_id=""][ApModule form_id="form_8998025011243929" name_module="ps_searchbar" hook="displayTop" is_display="1"][/ApModule][ApModule form_id="form_5801767352425302" name_module="ps_customersignin" hook="displayTop" is_display="1"][/ApModule][ApModule form_id="form_8759472769048537" name_module="ps_shoppingcart" hook="displayTop" is_display="1"][/ApModule][/ApColumn][/ApRow][ApRow form_id="form_9233531329831740" container="container" class="row box-bottom-header" bg_config="boxed" bg_type="normal" bg_repeat="no-repeat" parallax_speed="0.1" parallax_axis="both" parallax_strength="0.5" parallax_rid="0.5" parallax_hoffsets="0.1" parallax_voffsets="0.1" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApColumn form_id="form_9635473976325530" class="group-menu" xl="12" lg="12" md="12" sm="12" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu][/ApColumn][/ApRow]') in shortcodes.php line 791
        at ApShortCodesBuilder->parse('[ApRow form_id="form_5831186708037544" container="container" class="row box-top-header" bg_config="boxed" bg_type="normal" bg_repeat="no-repeat" parallax_speed="0.1" parallax_axis="both" parallax_strength="0.5" parallax_rid="0.5" parallax_hoffsets="0.1" parallax_voffsets="0.1" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApColumn form_id="form_9115943682790994" class="group-left-header" xl="4" lg="4" md="4" sm="4" xs="6" sp="6" animation="none" animation_delay="2" specific_type="all" active="1" controller_pages="" controller_id=""][ApModule form_id="form_36959394124312865" name_module="ps_languageselector" hook="displayTop" is_display="1"][/ApModule][ApModule form_id="form_7074332494242651" name_module="ps_currencyselector" hook="displayNav2" is_display="1"][/ApModule][/ApColumn][ApColumn form_id="form_8475929062454929" class="group-center-header" xl="4" lg="4" md="4" sm="4" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" active="1" controller_pages="" controller_id=""][ApGenCode form_id="form_7206471214229717" id_gencode="id_gencode_582988ce3a1c4_1479117006" content_html="<a href=_APQUOT_{$urls.base_url}_APQUOT_ title=_APQUOT_{$shop.name}_APQUOT_>_APENTER_<img class=_APQUOT_logo img-responsive_APQUOT_ src=_APQUOT_{$shop.logo}_APQUOT_ alt=_APQUOT_{$shop.name}_APQUOT_/>_APENTER_</a>"][/ApGenCode][/ApColumn][ApColumn form_id="form_37926600606431685" class="group-right-header position-static" xl="4" lg="4" md="4" sm="4" xs="6" sp="6" animation="none" animation_delay="2" specific_type="all" active="1" controller_pages="" controller_id=""][ApModule form_id="form_8998025011243929" name_module="ps_searchbar" hook="displayTop" is_display="1"][/ApModule][ApModule form_id="form_5801767352425302" name_module="ps_customersignin" hook="displayTop" is_display="1"][/ApModule][ApModule form_id="form_8759472769048537" name_module="ps_shoppingcart" hook="displayTop" is_display="1"][/ApModule][/ApColumn][/ApRow][ApRow form_id="form_9233531329831740" container="container" class="row box-bottom-header" bg_config="boxed" bg_type="normal" bg_repeat="no-repeat" parallax_speed="0.1" parallax_axis="both" parallax_strength="0.5" parallax_rid="0.5" parallax_hoffsets="0.1" parallax_voffsets="0.1" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApColumn form_id="form_9635473976325530" class="group-menu" xl="12" lg="12" md="12" sm="12" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu][/ApColumn][/ApRow]') in ApPageBuilderModel.php line 155
        at ApPageBuilderModel->parseData('displayTop', '[ApRow form_id="form_5831186708037544" container="container" class="row box-top-header" bg_config="boxed" bg_type="normal" bg_repeat="no-repeat" parallax_speed="0.1" parallax_axis="both" parallax_strength="0.5" parallax_rid="0.5" parallax_hoffsets="0.1" parallax_voffsets="0.1" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApColumn form_id="form_9115943682790994" class="group-left-header" xl="4" lg="4" md="4" sm="4" xs="6" sp="6" animation="none" animation_delay="2" specific_type="all" active="1" controller_pages="" controller_id=""][ApModule form_id="form_36959394124312865" name_module="ps_languageselector" hook="displayTop" is_display="1"][/ApModule][ApModule form_id="form_7074332494242651" name_module="ps_currencyselector" hook="displayNav2" is_display="1"][/ApModule][/ApColumn][ApColumn form_id="form_8475929062454929" class="group-center-header" xl="4" lg="4" md="4" sm="4" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" active="1" controller_pages="" controller_id=""][ApGenCode form_id="form_7206471214229717" id_gencode="id_gencode_582988ce3a1c4_1479117006" content_html="<a href=_APQUOT_{$urls.base_url}_APQUOT_ title=_APQUOT_{$shop.name}_APQUOT_>_APENTER_<img class=_APQUOT_logo img-responsive_APQUOT_ src=_APQUOT_{$shop.logo}_APQUOT_ alt=_APQUOT_{$shop.name}_APQUOT_/>_APENTER_</a>"][/ApGenCode][/ApColumn][ApColumn form_id="form_37926600606431685" class="group-right-header position-static" xl="4" lg="4" md="4" sm="4" xs="6" sp="6" animation="none" animation_delay="2" specific_type="all" active="1" controller_pages="" controller_id=""][ApModule form_id="form_8998025011243929" name_module="ps_searchbar" hook="displayTop" is_display="1"][/ApModule][ApModule form_id="form_5801767352425302" name_module="ps_customersignin" hook="displayTop" is_display="1"][/ApModule][ApModule form_id="form_8759472769048537" name_module="ps_shoppingcart" hook="displayTop" is_display="1"][/ApModule][/ApColumn][/ApRow][ApRow form_id="form_9233531329831740" container="container" class="row box-bottom-header" bg_config="boxed" bg_type="normal" bg_repeat="no-repeat" parallax_speed="0.1" parallax_axis="both" parallax_strength="0.5" parallax_rid="0.5" parallax_hoffsets="0.1" parallax_voffsets="0.1" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApColumn form_id="form_9635473976325530" class="group-menu" xl="12" lg="12" md="12" sm="12" xs="12" sp="12" animation="none" animation_delay="2" specific_type="all" controller_pages="" controller_id=""][ApMegamenu form_id="form_2382411866958637" megamenu_group="18f88e8742fcbd811ab91519184f490e"][/ApMegamenu][/ApColumn][/ApRow]', array('fullwidth_index_hook' => array('displayNav1' => '0', 'displayNav2' => '0', 'displayTop' => '1', 'displayHome' => '1', 'displayFooterBefore' => '0', 'displayFooter' => '1', 'displayFooterAfter' => '1'), 'fullwidth_other_hook' => array('displayNav1' => '0', 'displayNav2' => '0', 'displayTop' => '1', 'displayHome' => '0', 'displayFooterBefore' => '0', 'displayFooter' => '1', 'displayFooterAfter' => '1'), 'disable_cache_hook' => array('displayNav1' => '0', 'displayNav2' => '0', 'displayTop' => '1', 'displayHome' => '0', 'displayFooterBefore' => '0', 'displayFooter' => '0', 'displayFooterAfter' => '0'))) in appagebuilder.php line 1520
        at APPageBuilder->processHook('displayTop', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in appagebuilder.php line 1549
        at APPageBuilder->hookDisplayTop(array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 758
        at HookCore::coreCallHook(object(APPageBuilder), 'hookdisplayTop', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 723
        at HookCore::exec('displayTop', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1'), null) in smarty.config.inc.php line 174
        at smartyHook(array('h' => 'displayTop'), object(Smarty_Dev_Template)) in SmartyLazyRegister.php line 83
        at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayTop'), object(Smarty_Dev_Template))) in 3eb0ae3b08d5b9738d4bff24b15a8d351320e524.file.index.tpl.php line 511
        at content_5a258661de9e24_99163788(object(Smarty_Dev_Template)) in 3eb0ae3b08d5b9738d4bff24b15a8d351320e524.file.index.tpl.php line 151
        at content_5a258661f28208_15005549(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188
        at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-full-width.tpl', object(SmartyDev), false, true, false) in SmartyDev.php line 41
        at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 655
        at FrontControllerCore->smartyOutputContent('index.tpl') in FrontController.php line 639
        at FrontControllerCore->display() in Controller.php line 221
        at ControllerCore->run() in Dispatcher.php line 366
        at DispatcherCore->dispatch() in index.php line 28
    

    Début du screenshot si ça peut aider à voir plus clair : 0_1512410259423_Capture d’écran 2017-12-04 à 18.55.39.png



  • Bah là, c'est votre serveur sql qui a planté et comme le mode debug est activé vous voyez l'erreur...

    Pour vos traductions, tentez de traduire les manquantes depuis l'onglet des traductions mais ce n'est pas ce qui pose le plus gros problème de l'affichage de vos pages produits.
    Je pense qu'il a un souci dans la base de données (soit l'id_lang n'est pas bon ou manquant pour les produits)

    Mais je me répète, vu qu'on ne soutient pas cette version 1.7 moisie et bancale, il va être difficile de vous aider plus :(



  • Merci encore @eolia
    ah la la, ça me déprime tout ça. Effectivement j'ai eu pas mal de problème avec cette version 1.7...

    Là je pense que la migration s'est bien faite, mais j'ai surement dû de paramétrer des choses pour que tout soit bien rattaché...
    Est ce que vous avez une idée de l'endroit où je pourrais aller pour paramétrer/rattacher le bon id_lang ?

    J'ai pour info essayer de :

    • mettre à jour la langue FR
    • traduire manuellement chaque mot manquant dans modifier une langue
      Malheureusement, rien n'a changé et je vois toujours les même erreurs, même les mots que j'ai traduits apparaissent encore comme manquant.

    Je pense que l'erreur vient de mon côté et que Prestashop ne repère totu simplement pas la langue FR...

    J'ai vérifié mon fichier paramaters, il ressemble à ça :
    (j'ai juste caché les logins)

    <?php return array (
      'parameters' => 
      array (
        'database_host' => 'XXXXXXX',
        'database_port' => '',
        'database_name' => 'XXXXXXX',
        'database_user' => 'XXXXX',
        'database_password' => 'XXXXXX',
        'database_prefix' => 'ps_',
        'database_engine' => 'InnoDB',
        'mailer_transport' => 'smtp',
        'mailer_host' => '127.0.0.1',
        'mailer_user' => NULL,
        'mailer_password' => NULL,
        'secret' => 'R7Vk5xFcojpKL82ouKwhFHYam9rmk1R7ZX24wf8PPH6Rmmw3LLxTQv3Y',
        'ps_caching' => 'CacheMemcache',
        'ps_cache_enable' => false,
        'ps_creation_date' => '2017-04-01',
        'locale' => 'fr-FR',
        'cookie_key' => 'YTm2eAAeYFh3YYZ3BntWhK3JCasfJbRnE2DC22V4Gx0KHKy4au0CUSI1',
        'cookie_iv' => 'thqTnRbq',
        'new_cookie_key' => 'def00000a9ab39e9cdff921e21f373bb2fce542cd2d4ddd6e3d84c58992dd3af184f2dff9bd5bd29f8f11cc299a28960ca79885583f013493768f4bc0ffa7a0db5e9e77c',
      ),
    );
    

    Je suis encore désolé de vous embêter avec ça.
    Je sais que vous n'apportez pas de support, mais je n'ai vraiment pas d'idée en plus :/



  • Je pense que le souci de la langue n'est pas l'origine du problème.
    Lorsque vous désactivez le mode debug, allez sur la page produit et regardez l' error.log de votre serveur.

    Le mode debug de Prestashop passe outre certaines erreurs dons pas toujours évident de déterminer la source du pb...



  • Bonjour @eolia

    Après avoir regardé l'error.log. On a checker les trads et certains fichiers template qui était appelé.
    Finalement, après y avoir passé plus de 2h à modifier 400000 fichiers sans voir de changement sur le site.
    On a fait des essais en effacant et en forcant le cache.
    Et même après avoir forcé ovh a egalement mettre le site en mode dev, ça n'a rien changé.

    Finalement, on a enlevé le mode debug, et les caches se sont bien raffraichis !
    Il n'y avait plus d'erreur, et même la page produit s'affiche, le site marche bien, j'ai pu mettre des produits dans le panier.

    C'était vraiment dû à une mauvaise synchronisation de prestashop et il avait buggé dans le passé sans prendre en compte tous les changements.
    Ah la la...

    Merci encore pour vos conseils et le temps que vous avez pris.
    J'avoue Prestashop 1.7 m'aura bien traumatisé...


Se connecter pour répondre