[Skip to main content](#vessel-content)

#   Probleme affichage des fiches vendeur

##

- **[LOCELO](/forum/user/58815-locelo "View LOCELO's Profile")**
- [![LOCELO's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58815-locelo "View LOCELO's Profile") Topic Author
- [ Offline](/forum/user/58815-locelo)

Less More

- Posts: 214
- Thank you received: 21
-

5 years 5 days ago [\#337041](#337041) by [LOCELO](/forum/user/58815-locelo "View LOCELO's Profile")  *[Probleme affichage des fiches vendeur](/forum/19-hikamarket/903476-probleme-affichage-des-fiches-vendeur#337041 "-- url of the page with the problem -- :   v2.aurigines.com  -- HikaShop version -- : 4.4.4 -- HikaMarket version -- : 4.0.0 -- Joomla version -- : 4.0.4 -- PHP version -- : 7.4  Bonjour,  J'ai fait un test de mise à jour du site vers Joomla! 4.0.4 . Tout parait fonctionner à part la carte dans les fiches vendeurs qui n'apparait plus.  La console m'indique ce problème :  leaflet.js?v=400:12 Uncaught Error: Map container not found. at e.&#95;initContainer (leaflet.js?v=400:12) at e.initialize (leaflet.js?v=400:12) at new e (leaflet.js?v=400:12) at Object.t.map (leaflet.js?v=400:12) at bourg-numismatique:131 &#95;initContainer @ leaflet.js?v=400:12 initialize @ leaflet.js?v=400:12 e @ leaflet.js?v=400:12 t.map @ leaflet.js?v=400:12 (anonyme) @ bourg-numismatique:131  Merci d'avance, Cordialemeent Patrick")* was created by *[LOCELO](/forum/user/58815-locelo "View LOCELO's Profile")*

-- url of the page with the problem -- : [ v2.aurigines.com](https://v2.aurigines.com)
-- HikaShop version -- : 4.4.4
-- HikaMarket version -- : 4.0.0
-- Joomla version -- : 4.0.4
-- PHP version -- : 7.4

Bonjour,

J'ai fait un test de mise à jour du site vers Joomla! 4.0.4 .
Tout parait fonctionner à part la carte dans les fiches vendeurs qui n'apparait plus.

La console m'indique ce problème :

leaflet.js?v=400:12 Uncaught Error: Map container not found.
at e._initContainer (leaflet.js?v=400:12)
at e.initialize (leaflet.js?v=400:12)
at new e (leaflet.js?v=400:12)
at Object.t.map (leaflet.js?v=400:12)
at bourg-numismatique:131
_initContainer @ leaflet.js?v=400:12
initialize @ leaflet.js?v=400:12
e @ leaflet.js?v=400:12
t.map @ leaflet.js?v=400:12
(anonyme) @ bourg-numismatique:131

Merci d'avance,
Cordialemeent
Patrick

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvOTAzNDc2LXByb2JsZW1lLWFmZmljaGFnZS1kZXMtZmljaGVzLXZlbmRldXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

5 years 5 days ago [\#337049](#337049) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Probleme affichage des fiches vendeur](/forum/19-hikamarket/903476-probleme-affichage-des-fiches-vendeur#337049 "-- url of the page with the problem -- :   v2.aurigines.com  -- HikaShop version -- : 4.4.4 -- HikaMarket version -- : 4.0.0 -- Joomla version -- : 4.0.4 -- PHP version -- : 7.4  Bonjour,  J'ai fait un test de mise à jour du site vers Joomla! 4.0.4 . Tout parait fonctionner à part la carte dans les fiches vendeurs qui n'apparait plus.  La console m'indique ce problème :  leaflet.js?v=400:12 Uncaught Error: Map container not found. at e.&#95;initContainer (leaflet.js?v=400:12) at e.initialize (leaflet.js?v=400:12) at new e (leaflet.js?v=400:12) at Object.t.map (leaflet.js?v=400:12) at bourg-numismatique:131 &#95;initContainer @ leaflet.js?v=400:12 initialize @ leaflet.js?v=400:12 e @ leaflet.js?v=400:12 t.map @ leaflet.js?v=400:12 (anonyme) @ bourg-numismatique:131  Merci d'avance, Cordialemeent Patrick")*

Bonjour,

Sans voir la page vendeur il va être difficile de vous donner une réponse précise.
Mais le message semble indiquer qu'il n'y a pas l'élément HTML nécessaire pour faire l'affichage de la carte sur la page vendeur.

Cela pourrait venir d'un souci dans la page ou bien un problème de compatibilité JavaScript qui nécessiterais un ajustement dans le code inclus dans la page vendeur (showcontainer_default).

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvOTAzNDc2LXByb2JsZW1lLWFmZmljaGFnZS1kZXMtZmljaGVzLXZlbmRldXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[LOCELO](/forum/user/58815-locelo "View LOCELO's Profile")**
- [![LOCELO's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58815-locelo "View LOCELO's Profile") Topic Author
- [ Offline](/forum/user/58815-locelo)

Less More

- Posts: 214
- Thank you received: 21
-

5 years 5 days ago -  5 years 4 days ago [\#337070](#337070) by [LOCELO](/forum/user/58815-locelo "View LOCELO's Profile")  Replied by *[LOCELO](/forum/user/58815-locelo "View LOCELO's Profile")* on topic *[Probleme affichage des fiches vendeur](/forum/19-hikamarket/903476-probleme-affichage-des-fiches-vendeur#337070 "-- url of the page with the problem -- :   v2.aurigines.com  -- HikaShop version -- : 4.4.4 -- HikaMarket version -- : 4.0.0 -- Joomla version -- : 4.0.4 -- PHP version -- : 7.4  Bonjour,  J'ai fait un test de mise à jour du site vers Joomla! 4.0.4 . Tout parait fonctionner à part la carte dans les fiches vendeurs qui n'apparait plus.  La console m'indique ce problème :  leaflet.js?v=400:12 Uncaught Error: Map container not found. at e.&#95;initContainer (leaflet.js?v=400:12) at e.initialize (leaflet.js?v=400:12) at new e (leaflet.js?v=400:12) at Object.t.map (leaflet.js?v=400:12) at bourg-numismatique:131 &#95;initContainer @ leaflet.js?v=400:12 initialize @ leaflet.js?v=400:12 e @ leaflet.js?v=400:12 t.map @ leaflet.js?v=400:12 (anonyme) @ bourg-numismatique:131  Merci d'avance, Cordialemeent Patrick")*

Bonjour,

Je n'ai pas apporter de modification à la page vendeur

Cordialement
Patrick

Last edit: 5 years 4 days ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: Merci de ne pas coller l'intégralité d'un fichier

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvOTAzNDc2LXByb2JsZW1lLWFmZmljaGFnZS1kZXMtZmljaGVzLXZlbmRldXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

5 years 4 days ago [\#337091](#337091) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Probleme affichage des fiches vendeur](/forum/19-hikamarket/903476-probleme-affichage-des-fiches-vendeur#337091 "-- url of the page with the problem -- :   v2.aurigines.com  -- HikaShop version -- : 4.4.4 -- HikaMarket version -- : 4.0.0 -- Joomla version -- : 4.0.4 -- PHP version -- : 7.4  Bonjour,  J'ai fait un test de mise à jour du site vers Joomla! 4.0.4 . Tout parait fonctionner à part la carte dans les fiches vendeurs qui n'apparait plus.  La console m'indique ce problème :  leaflet.js?v=400:12 Uncaught Error: Map container not found. at e.&#95;initContainer (leaflet.js?v=400:12) at e.initialize (leaflet.js?v=400:12) at new e (leaflet.js?v=400:12) at Object.t.map (leaflet.js?v=400:12) at bourg-numismatique:131 &#95;initContainer @ leaflet.js?v=400:12 initialize @ leaflet.js?v=400:12 e @ leaflet.js?v=400:12 t.map @ leaflet.js?v=400:12 (anonyme) @ bourg-numismatique:131  Merci d'avance, Cordialemeent Patrick")*

Bonjour,

Nous n'avons pas besoin de voir le code de la vue d'HikaMarket ; soyez certain que nous l'avons également de notre côté.

Comme indiqué dans mon message:

> Sans voir la page vendeur

> Cela pourrait venir d'un souci dans la page ou bien un problème de compatibilité JavaScript qui nécessiterais un ajustement dans le code inclus dans la page vendeur (showcontainer\_default).

Ce n'est pas le code PHP (la vue) qu'il faut regarder mais son résultat final sur votre site ; l'erreur que vous avez est d'ordre JavaScript donc il faut regarder dans le contexte du JavaScript avec l'intégralité de la page générée sur votre template et toutes les interactions diverses et variées qu'il peut y avoir avec votre autres plugins, etc.

C'est donc un vision de la page vendeur de votre site web qu'il faut avoir.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvOTAzNDc2LXByb2JsZW1lLWFmZmljaGFnZS1kZXMtZmljaGVzLXZlbmRldXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[LOCELO](/forum/user/58815-locelo "View LOCELO's Profile")**
- [![LOCELO's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58815-locelo "View LOCELO's Profile") Topic Author
- [ Offline](/forum/user/58815-locelo)

Less More

- Posts: 214
- Thank you received: 21
-

5 years 4 days ago [\#337094](#337094) by [LOCELO](/forum/user/58815-locelo "View LOCELO's Profile")  Replied by *[LOCELO](/forum/user/58815-locelo "View LOCELO's Profile")* on topic *[Probleme affichage des fiches vendeur](/forum/19-hikamarket/903476-probleme-affichage-des-fiches-vendeur#337094 "-- url of the page with the problem -- :   v2.aurigines.com  -- HikaShop version -- : 4.4.4 -- HikaMarket version -- : 4.0.0 -- Joomla version -- : 4.0.4 -- PHP version -- : 7.4  Bonjour,  J'ai fait un test de mise à jour du site vers Joomla! 4.0.4 . Tout parait fonctionner à part la carte dans les fiches vendeurs qui n'apparait plus.  La console m'indique ce problème :  leaflet.js?v=400:12 Uncaught Error: Map container not found. at e.&#95;initContainer (leaflet.js?v=400:12) at e.initialize (leaflet.js?v=400:12) at new e (leaflet.js?v=400:12) at Object.t.map (leaflet.js?v=400:12) at bourg-numismatique:131 &#95;initContainer @ leaflet.js?v=400:12 initialize @ leaflet.js?v=400:12 e @ leaflet.js?v=400:12 t.map @ leaflet.js?v=400:12 (anonyme) @ bourg-numismatique:131  Merci d'avance, Cordialemeent Patrick")*

Bonsoir,

Je me doutais que vous aviez le code mais la formulation était ambiguë. ![:-)](/media/kunena/emoticons/3.png ":-)")

Voilà l'URL de la page
[ v2.aurigines.com/nos-numismates/bourg-numismatique](https://v2.aurigines.com/nos-numismates/bourg-numismatique)

Cordialement

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvOTAzNDc2LXByb2JsZW1lLWFmZmljaGFnZS1kZXMtZmljaGVzLXZlbmRldXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

5 years 3 days ago [\#337134](#337134) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Probleme affichage des fiches vendeur](/forum/19-hikamarket/903476-probleme-affichage-des-fiches-vendeur#337134 "-- url of the page with the problem -- :   v2.aurigines.com  -- HikaShop version -- : 4.4.4 -- HikaMarket version -- : 4.0.0 -- Joomla version -- : 4.0.4 -- PHP version -- : 7.4  Bonjour,  J'ai fait un test de mise à jour du site vers Joomla! 4.0.4 . Tout parait fonctionner à part la carte dans les fiches vendeurs qui n'apparait plus.  La console m'indique ce problème :  leaflet.js?v=400:12 Uncaught Error: Map container not found. at e.&#95;initContainer (leaflet.js?v=400:12) at e.initialize (leaflet.js?v=400:12) at new e (leaflet.js?v=400:12) at Object.t.map (leaflet.js?v=400:12) at bourg-numismatique:131 &#95;initContainer @ leaflet.js?v=400:12 initialize @ leaflet.js?v=400:12 e @ leaflet.js?v=400:12 t.map @ leaflet.js?v=400:12 (anonyme) @ bourg-numismatique:131  Merci d'avance, Cordialemeent Patrick")*

Bonjour,

Votre template prends tous le JavaScript et l'ajoute dans le header de la page.
Le script qui doit donc être exécuté après l'ajout du DIV pour la map est exécuté avant le chargement de la page vendeur.

Il faut faire une surcharge de la vue vendeur pour utiliser ce code JS à la place Code:

&lt;script type="text/javascript"&gt; window.hikashop.ready(function(){ var osmUrl = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', osmAttrib = '&amp;copy; &lt;a href="https://www.openstreetmap.org/copyright"&gt;OpenStreetMap&lt;/a&gt; contributors', osm = L.tileLayer(osmUrl, {maxZoom: 18, attribution: osmAttrib}); var map = L.map('vendor_map').setView([&lt;?php echo hikamarket::toFloat($this-&gt;vendor-&gt;vendor_location_lat); ?&gt;, &lt;?php echo hikamarket::toFloat($this-&gt;vendor-&gt;vendor_location_long); ?&gt;], 15).addLayer(osm); var marker = L.marker([&lt;?php echo hikamarket::toFloat($this-&gt;vendor-&gt;vendor_location_lat); ?&gt;, &lt;?php echo hikamarket::toFloat($this-&gt;vendor-&gt;vendor_location_long); ?&gt;]).addTo(map); }); &lt;/script&gt;

Cordialement

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [LOCELO](/forum/user/58815-locelo "View LOCELO's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvOTAzNDc2LXByb2JsZW1lLWFmZmljaGFnZS1kZXMtZmljaGVzLXZlbmRldXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[LOCELO](/forum/user/58815-locelo "View LOCELO's Profile")**
- [![LOCELO's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58815-locelo "View LOCELO's Profile") Topic Author
- [ Offline](/forum/user/58815-locelo)

Less More

- Posts: 214
- Thank you received: 21
-

5 years 3 days ago [\#337141](#337141) by [LOCELO](/forum/user/58815-locelo "View LOCELO's Profile")  Replied by *[LOCELO](/forum/user/58815-locelo "View LOCELO's Profile")* on topic *[Probleme affichage des fiches vendeur](/forum/19-hikamarket/903476-probleme-affichage-des-fiches-vendeur#337141 "-- url of the page with the problem -- :   v2.aurigines.com  -- HikaShop version -- : 4.4.4 -- HikaMarket version -- : 4.0.0 -- Joomla version -- : 4.0.4 -- PHP version -- : 7.4  Bonjour,  J'ai fait un test de mise à jour du site vers Joomla! 4.0.4 . Tout parait fonctionner à part la carte dans les fiches vendeurs qui n'apparait plus.  La console m'indique ce problème :  leaflet.js?v=400:12 Uncaught Error: Map container not found. at e.&#95;initContainer (leaflet.js?v=400:12) at e.initialize (leaflet.js?v=400:12) at new e (leaflet.js?v=400:12) at Object.t.map (leaflet.js?v=400:12) at bourg-numismatique:131 &#95;initContainer @ leaflet.js?v=400:12 initialize @ leaflet.js?v=400:12 e @ leaflet.js?v=400:12 t.map @ leaflet.js?v=400:12 (anonyme) @ bourg-numismatique:131  Merci d'avance, Cordialemeent Patrick")*

Bonjour,

Merci beaucoup !

C'est parfait, comme toujours.

Cordialement.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvOTAzNDc2LXByb2JsZW1lLWFmZmljaGFnZS1kZXMtZmljaGVzLXZlbmRldXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

5 years 2 days ago [\#337189](#337189) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Probleme affichage des fiches vendeur](/forum/19-hikamarket/903476-probleme-affichage-des-fiches-vendeur#337189 "-- url of the page with the problem -- :   v2.aurigines.com  -- HikaShop version -- : 4.4.4 -- HikaMarket version -- : 4.0.0 -- Joomla version -- : 4.0.4 -- PHP version -- : 7.4  Bonjour,  J'ai fait un test de mise à jour du site vers Joomla! 4.0.4 . Tout parait fonctionner à part la carte dans les fiches vendeurs qui n'apparait plus.  La console m'indique ce problème :  leaflet.js?v=400:12 Uncaught Error: Map container not found. at e.&#95;initContainer (leaflet.js?v=400:12) at e.initialize (leaflet.js?v=400:12) at new e (leaflet.js?v=400:12) at Object.t.map (leaflet.js?v=400:12) at bourg-numismatique:131 &#95;initContainer @ leaflet.js?v=400:12 initialize @ leaflet.js?v=400:12 e @ leaflet.js?v=400:12 t.map @ leaflet.js?v=400:12 (anonyme) @ bourg-numismatique:131  Merci d'avance, Cordialemeent Patrick")*

Bonjour,

Merci de votre retour.
Nous allons ajouter ce patch dans la prochaine release d'HikaMarket ; afin d'améliorer le support des templates utilisant la même technique que le votre.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvOTAzNDc2LXByb2JsZW1lLWFmZmljaGFnZS1kZXMtZmljaGVzLXZlbmRldXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.122 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
