Jump to content

[RESOLU] Problème affichage photos produits back et front office


Recommended Posts

Bonjour à tous,

 

Après avoir installé, désintallé, réinstallé... je me trouve vers vous car quand je crée une fiche produit mes photos ne s'affichent pas aussi que ce soit dans le backoffice ou dans le frontoffice

image.png.cb31c9721f05582455c9cc2930ae9646.pngimage.png.52900afcedcd868f00c91f6a19c839e7.png

Version de PS : 1.7.6.0
URL du site concerné : http://unjourdenovembre.fr/index.php et la page produit http://unjourdenovembre.fr/index.php?id_product=1&rewrite=sac-a-vrac-001&controller=product
Thème (défaut/perso) : par défaut
Code (original/modifié) : pas de modif si ce n'est pour avoir le mode débug
Hébergement : 1&1
Version de PHP : PHP 7.3
Version de MySQL : MySql 5.7
Navigateur(s) concerné(s) : firefox, google chrome...

 

Sur ma page d'accueil, j'obtiens le mode debug suivant:
 

Quote

 

(1/1) ContextErrorException

Notice: Undefined offset: 0

in ImageRetriever.php line 271

at ImageRetriever->getNoPictureImage(object(Language))in FrontController.php line 1518

at FrontControllerCore->getTemplateVarUrls()in FrontController.php line 496

at FrontControllerCore->assignGeneralPurposeVariables()in FrontController.php line 548

at FrontControllerCore->initContent()in IndexController.php line 37

at IndexControllerCore->initContent()in Controller.php line 291

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

 

et sur ma page de produit
 

Quote

 

(1/1) ContextErrorException

Notice: Undefined offset: 0

in ImageRetriever.php line 192

at ImageRetriever->getImage(object(Product), '1')in ImageRetriever.php line 90

at ImageRetriever->PrestaShop\PrestaShop\Adapter\Image\{closure}(array('cover' => '1', 'id_image' => '1', 'legend' => '', 'position' => '1'))

at array_map(object(Closure), array(array('cover' => '1', 'id_image' => '1', 'legend' => '', 'position' => '1')))in ImageRetriever.php line 84

at ImageRetriever->getProductImages(array('id_shop_default' => '1', 'id_manufacturer' => '0', 'id_supplier' => '0', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'quantity_discount' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'state' => '1', 'additional_delivery_times' => '1', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'id_category_default' => '2', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => 0.0, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 6.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'customizable' => '0', 'text_fields' => '0', 'uploadable_files' => '0', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_default_attribute' => '0', 'advanced_stock_management' => '0', 'date_add' => '2019-08-14 12:45:02', 'date_upd' => '2019-08-19 12:58:15', 'pack_stock_type' => '3', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'link_rewrite' => 'sac-a-vrac-001', 'name' => 'Sac à vrac 001', 'description' => '', 'description_short' => '<p>Tissu récupération</p>', 'available_now' => '', 'available_later' => '', 'id' => 1, 'id_product' => 1, 'out_of_stock' => 2, 'new' => 1, 'id_product_attribute' => '0', 'quantity_wanted' => 1, 'extraContent' => array(), 'allow_oosp' => 0, 'category' => 'accueil', 'category_name' => 'Accueil', 'link' => 'http://unjourdenovembre.fr/index.php?id_product=1&rewrite=sac-a-vrac-001&controller=product', 'attribute_price' => 0, 'price_tax_exc' => 6.0, 'price_without_reduction' => 6.0, 'price_without_reduction_without_tax' => 6.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity' => 3, 'quantity_all_versions' => 3, 'id_image' => 'fr-default', 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0, 'customizations' => array('fields' => array()), 'id_customization' => 0, 'is_customizable' => false, 'show_quantities' => true, 'quantity_label' => 'Produits', 'quantity_discounts' => array(), 'customer_group_discount' => 0.0, 'title' => 'Sac à vrac 001'), object(Language))in ProductLazyArray.php line 589

at ProductLazyArray->fillImages(object(ProductPresentationSettings), array('id_shop_default' => '1', 'id_manufacturer' => '0', 'id_supplier' => '0', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'quantity_discount' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'state' => '1', 'additional_delivery_times' => '1', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'id_category_default' => '2', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => 0.0, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 6.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'customizable' => '0', 'text_fields' => '0', 'uploadable_files' => '0', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_default_attribute' => '0', 'advanced_stock_management' => '0', 'date_add' => '2019-08-14 12:45:02', 'date_upd' => '2019-08-19 12:58:15', 'pack_stock_type' => '3', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'link_rewrite' => 'sac-a-vrac-001', 'name' => 'Sac à vrac 001', 'description' => '', 'description_short' => '<p>Tissu récupération</p>', 'available_now' => '', 'available_later' => '', 'id' => 1, 'id_product' => 1, 'out_of_stock' => 2, 'new' => 1, 'id_product_attribute' => '0', 'quantity_wanted' => 1, 'extraContent' => array(), 'allow_oosp' => 0, 'category' => 'accueil', 'category_name' => 'Accueil', 'link' => 'http://unjourdenovembre.fr/index.php?id_product=1&rewrite=sac-a-vrac-001&controller=product', 'attribute_price' => 0, 'price_tax_exc' => 6.0, 'price_without_reduction' => 6.0, 'price_without_reduction_without_tax' => 6.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity' => 3, 'quantity_all_versions' => 3, 'id_image' => 'fr-default', 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0, 'customizations' => array('fields' => array()), 'id_customization' => 0, 'is_customizable' => false, 'show_quantities' => true, 'quantity_label' => 'Produits', 'quantity_discounts' => array(), 'customer_group_discount' => 0.0, 'title' => 'Sac à vrac 001'), object(Language))in ProductLazyArray.php line 107

at ProductLazyArray->__construct(object(ProductPresentationSettings), array('id_shop_default' => '1', 'id_manufacturer' => '0', 'id_supplier' => '0', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'quantity_discount' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'state' => '1', 'additional_delivery_times' => '1', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'id_category_default' => '2', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => 0.0, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 6.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'customizable' => '0', 'text_fields' => '0', 'uploadable_files' => '0', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_default_attribute' => '0', 'advanced_stock_management' => '0', 'date_add' => '2019-08-14 12:45:02', 'date_upd' => '2019-08-19 12:58:15', 'pack_stock_type' => '3', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'link_rewrite' => 'sac-a-vrac-001', 'name' => 'Sac à vrac 001', 'description' => '', 'description_short' => '<p>Tissu récupération</p>', 'available_now' => '', 'available_later' => '', 'id' => 1, 'id_product' => 1, 'out_of_stock' => 2, 'new' => 1, 'id_product_attribute' => '0', 'quantity_wanted' => 1, 'extraContent' => array(), 'allow_oosp' => 0, 'category' => 'accueil', 'category_name' => 'Accueil', 'link' => 'http://unjourdenovembre.fr/index.php?id_product=1&rewrite=sac-a-vrac-001&controller=product', 'attribute_price' => 0, 'price_tax_exc' => 6.0, 'price_without_reduction' => 6.0, 'price_without_reduction_without_tax' => 6.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity' => 3, 'quantity_all_versions' => 3, 'id_image' => 'fr-default', 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0, 'customizations' => array('fields' => array()), 'id_customization' => 0, 'is_customizable' => false, 'show_quantities' => true, 'quantity_label' => 'Produits', 'quantity_discounts' => array(), 'customer_group_discount' => 0.0, 'title' => 'Sac à vrac 001'), object(Language), object(ImageRetriever), object(Link), object(PriceFormatter), object(ProductColorsRetriever), object(TranslatorComponent))in ProductPresenter.php line 91

at ProductPresenter->present(object(ProductPresentationSettings), array('id_shop_default' => '1', 'id_manufacturer' => '0', 'id_supplier' => '0', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'quantity_discount' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'state' => '1', 'additional_delivery_times' => '1', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'id_category_default' => '2', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => 0.0, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 6.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'customizable' => '0', 'text_fields' => '0', 'uploadable_files' => '0', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_default_attribute' => '0', 'advanced_stock_management' => '0', 'date_add' => '2019-08-14 12:45:02', 'date_upd' => '2019-08-19 12:58:15', 'pack_stock_type' => '3', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'link_rewrite' => 'sac-a-vrac-001', 'name' => 'Sac à vrac 001', 'description' => '', 'description_short' => '<p>Tissu récupération</p>', 'available_now' => '', 'available_later' => '', 'id' => 1, 'id_product' => 1, 'out_of_stock' => 2, 'new' => 1, 'id_product_attribute' => '0', 'quantity_wanted' => 1, 'extraContent' => array(), 'allow_oosp' => 0, 'category' => 'accueil', 'category_name' => 'Accueil', 'link' => 'http://unjourdenovembre.fr/index.php?id_product=1&rewrite=sac-a-vrac-001&controller=product', 'attribute_price' => 0, 'price_tax_exc' => 6.0, 'price_without_reduction' => 6.0, 'price_without_reduction_without_tax' => 6.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity' => 3, 'quantity_all_versions' => 3, 'id_image' => 'fr-default', 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0, 'customizations' => array('fields' => array()), 'id_customization' => 0, 'is_customizable' => false, 'show_quantities' => true, 'quantity_label' => 'Produits', 'quantity_discounts' => array(), 'customer_group_discount' => 0.0, 'title' => 'Sac à vrac 001'), object(Language))in ProductController.php line 1100

at ProductControllerCore->getTemplateVarProduct()in ProductController.php line 347

at ProductControllerCore->initContent()in Controller.php line 291

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

Je suis un peu perdue sur les corrections à apporter...

 

Merci de votre aide

Edited by yougi28
résolu (see edit history)
Link to comment
Share on other sites

34 minutes ago, Esh-Network said:

Peux-tu activé l'ecriture d'url stp ?
Dans parametre boutique -> seo & url.
Puis tu coche :

https://gyazo.com/34a671085a6abaf97d2a6f574ce1123b

Ensuite vide le cache puis regarde si cela fonctionne stp.

J'ai activé l'écriture URL et vider mon cache mais malheureusement je n'ai toujours pas de photos qui s'affichent... :(

Link to comment
Share on other sites

3 hours ago, Esh-Network said:

Version de PHP : PHP 7.3

Passe en php 7.1 déjà.

Ensuite au niveau des permissions tes dossier passe les en 755.

Désolée pour la réponse tardive ça m'a pris un peu de temps de modifier les droits d'accès: 705 ==> 755

Niveau PHP passé en 7.1

Link to comment
Share on other sites

8 minutes ago, Esh-Network said:

Vide le cache, active le mode debug, supprime l image puis ajoute une image dit moi le résultat.

Sur la page du produit j'obtiens

Quote

(1/1) ContextErrorException

Notice: Undefined offset: 0

in ImageRetriever.php line 192

at ImageRetriever->getImage(object(Product), '3')in ImageRetriever.php line 90

at ImageRetriever->PrestaShop\PrestaShop\Adapter\Image\{closure}(array('cover' => '1', 'id_image' => '3', 'legend' => '', 'position' => '1'))

at array_map(object(Closure), array(array('cover' => '1', 'id_image' => '3', 'legend' => '', 'position' => '1')))in ImageRetriever.php line 100

at ImageRetriever->getProductImages(array('id_shop_default' => '1', 'id_manufacturer' => '0', 'id_supplier' => '0', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'quantity_discount' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'state' => '1', 'additional_delivery_times' => '1', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'id_category_default' => '2', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => 0.0, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 6.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'customizable' => '0', 'text_fields' => '0', 'uploadable_files' => '0', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_default_attribute' => '0', 'advanced_stock_management' => '0', 'date_add' => '2019-08-14 12:45:02', 'date_upd' => '2019-08-19 21:19:41', 'pack_stock_type' => '3', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'link_rewrite' => 'sac-a-vrac-001', 'name' => 'Sac à vrac 001', 'description' => '', 'description_short' => '<p>Tissu récupération</p>', 'available_now' => '', 'available_later' => '', 'id' => 1, 'id_product' => 1, 'out_of_stock' => 2, 'new' => 1, 'id_product_attribute' => '0', 'quantity_wanted' => 1, 'extraContent' => array(), 'allow_oosp' => 0, 'category' => 'accueil', 'category_name' => 'Accueil', 'link' => 'http://unjourdenovembre.fr/accueil/1-sac-a-vrac-001.html', 'attribute_price' => 0, 'price_tax_exc' => 6.0, 'price_without_reduction' => 6.0, 'price_without_reduction_without_tax' => 6.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity' => 3, 'quantity_all_versions' => 3, 'id_image' => 'fr-default', 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0, 'customizations' => array('fields' => array()), 'id_customization' => 0, 'is_customizable' => false, 'show_quantities' => true, 'quantity_label' => 'Produits', 'quantity_discounts' => array(), 'customer_group_discount' => 0.0, 'title' => 'Sac à vrac 001'), object(Language))in ProductLazyArray.php line 590

at ProductLazyArray->fillImages(object(ProductPresentationSettings), array('id_shop_default' => '1', 'id_manufacturer' => '0', 'id_supplier' => '0', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'quantity_discount' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'state' => '1', 'additional_delivery_times' => '1', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'id_category_default' => '2', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => 0.0, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 6.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'customizable' => '0', 'text_fields' => '0', 'uploadable_files' => '0', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_default_attribute' => '0', 'advanced_stock_management' => '0', 'date_add' => '2019-08-14 12:45:02', 'date_upd' => '2019-08-19 21:19:41', 'pack_stock_type' => '3', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'link_rewrite' => 'sac-a-vrac-001', 'name' => 'Sac à vrac 001', 'description' => '', 'description_short' => '<p>Tissu récupération</p>', 'available_now' => '', 'available_later' => '', 'id' => 1, 'id_product' => 1, 'out_of_stock' => 2, 'new' => 1, 'id_product_attribute' => '0', 'quantity_wanted' => 1, 'extraContent' => array(), 'allow_oosp' => 0, 'category' => 'accueil', 'category_name' => 'Accueil', 'link' => 'http://unjourdenovembre.fr/accueil/1-sac-a-vrac-001.html', 'attribute_price' => 0, 'price_tax_exc' => 6.0, 'price_without_reduction' => 6.0, 'price_without_reduction_without_tax' => 6.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity' => 3, 'quantity_all_versions' => 3, 'id_image' => 'fr-default', 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0, 'customizations' => array('fields' => array()), 'id_customization' => 0, 'is_customizable' => false, 'show_quantities' => true, 'quantity_label' => 'Produits', 'quantity_discounts' => array(), 'customer_group_discount' => 0.0, 'title' => 'Sac à vrac 001'), object(Language))in ProductLazyArray.php line 109

at ProductLazyArray->__construct(object(ProductPresentationSettings), array('id_shop_default' => '1', 'id_manufacturer' => '0', 'id_supplier' => '0', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'quantity_discount' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'state' => '1', 'additional_delivery_times' => '1', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'id_category_default' => '2', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => 0.0, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 6.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'customizable' => '0', 'text_fields' => '0', 'uploadable_files' => '0', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_default_attribute' => '0', 'advanced_stock_management' => '0', 'date_add' => '2019-08-14 12:45:02', 'date_upd' => '2019-08-19 21:19:41', 'pack_stock_type' => '3', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'link_rewrite' => 'sac-a-vrac-001', 'name' => 'Sac à vrac 001', 'description' => '', 'description_short' => '<p>Tissu récupération</p>', 'available_now' => '', 'available_later' => '', 'id' => 1, 'id_product' => 1, 'out_of_stock' => 2, 'new' => 1, 'id_product_attribute' => '0', 'quantity_wanted' => 1, 'extraContent' => array(), 'allow_oosp' => 0, 'category' => 'accueil', 'category_name' => 'Accueil', 'link' => 'http://unjourdenovembre.fr/accueil/1-sac-a-vrac-001.html', 'attribute_price' => 0, 'price_tax_exc' => 6.0, 'price_without_reduction' => 6.0, 'price_without_reduction_without_tax' => 6.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity' => 3, 'quantity_all_versions' => 3, 'id_image' => 'fr-default', 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0, 'customizations' => array('fields' => array()), 'id_customization' => 0, 'is_customizable' => false, 'show_quantities' => true, 'quantity_label' => 'Produits', 'quantity_discounts' => array(), 'customer_group_discount' => 0.0, 'title' => 'Sac à vrac 001'), object(Language), object(ImageRetriever), object(Link), object(PriceFormatter), object(ProductColorsRetriever), object(TranslatorComponent))in ProductPresenter.php line 91

at ProductPresenter->present(object(ProductPresentationSettings), array('id_shop_default' => '1', 'id_manufacturer' => '0', 'id_supplier' => '0', 'reference' => '', 'supplier_reference' => '', 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'quantity_discount' => '0', 'ean13' => '', 'isbn' => '', 'upc' => '', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'state' => '1', 'additional_delivery_times' => '1', 'delivery_in_stock' => '', 'delivery_out_stock' => '', 'id_category_default' => '2', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => 0.0, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 6.0, 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'customizable' => '0', 'text_fields' => '0', 'uploadable_files' => '0', 'redirect_type' => '301-category', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => '0000-00-00', 'show_condition' => '0', 'condition' => 'new', 'show_price' => '1', 'indexed' => '1', 'visibility' => 'both', 'cache_default_attribute' => '0', 'advanced_stock_management' => '0', 'date_add' => '2019-08-14 12:45:02', 'date_upd' => '2019-08-19 21:19:41', 'pack_stock_type' => '3', 'meta_description' => '', 'meta_keywords' => '', 'meta_title' => '', 'link_rewrite' => 'sac-a-vrac-001', 'name' => 'Sac à vrac 001', 'description' => '', 'description_short' => '<p>Tissu récupération</p>', 'available_now' => '', 'available_later' => '', 'id' => 1, 'id_product' => 1, 'out_of_stock' => 2, 'new' => 1, 'id_product_attribute' => '0', 'quantity_wanted' => 1, 'extraContent' => array(), 'allow_oosp' => 0, 'category' => 'accueil', 'category_name' => 'Accueil', 'link' => 'http://unjourdenovembre.fr/accueil/1-sac-a-vrac-001.html', 'attribute_price' => 0, 'price_tax_exc' => 6.0, 'price_without_reduction' => 6.0, 'price_without_reduction_without_tax' => 6.0, 'reduction' => 0.0, 'reduction_without_tax' => 0.0, 'specific_prices' => array(), 'quantity' => 3, 'quantity_all_versions' => 3, 'id_image' => 'fr-default', 'features' => array(), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0, 'customizations' => array('fields' => array()), 'id_customization' => 0, 'is_customizable' => false, 'show_quantities' => true, 'quantity_label' => 'Produits', 'quantity_discounts' => array(), 'customer_group_discount' => 0.0, 'title' => 'Sac à vrac 001'), object(Language))in ProductController.php line 1100

at ProductControllerCore->getTemplateVarProduct()in ProductController.php line 347

at ProductControllerCore->initContent()in Controller.php line 291

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

Et sur la page d'accueil

Quote

1/1) ContextErrorException

Notice: Undefined offset: 0

in ImageRetriever.php line 271

at ImageRetriever->getNoPictureImage(object(Language))in FrontController.php line 1518

at FrontControllerCore->getTemplateVarUrls()in FrontController.php line 496

at FrontControllerCore->assignGeneralPurposeVariables()in FrontController.php line 548

at FrontControllerCore->initContent()in IndexController.php line 37

at IndexControllerCore->initContent()in Controller.php line 291

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 28

 

Link to comment
Share on other sites

Désolée de remonter le sujet mais quelqu'un aurait-il une idée pour résoudre le problème d'affichage?

 

Pour rappel, j'ai tenté:

- régénérer les miniatures

-réécriture d'url activée

- vider le cache

- supprimer l'image et la remettre

- modifier les droits d'accès dans mon ftp

 

merci

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...