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

#   hikashop block osm module

##

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

Less More

- Posts: 846
- Thank you received: 92
-
-

12 years 10 months ago -  12 years 10 months ago [\#141230](#141230) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  *[hikashop block osm module](/forum/32-content-creation/865336-hikashop-block-osm-module#141230 "-- url of the page with the problem -- : local -- hikaserial :1.8.0 -- hikashop : 2.2.3 -- php : 5.3.9 -- firefox 26.0 --extension : -- Error-message-- : don't work ( specific to my configuration )  Hi I use a custom version of osm module with json . Click on a link ( that goes to one hikashop product )add hikashop.js and hikaserial.js beetween jquery.js and leafflet.js . If i disable hikashop.js , the module work !! How can i detect the line problem in firefox ? I see that HKS add many same scripts item . Is it the way HSK work ( or i do something wrong when edit some HKS php file ) ?  Regards")* was created by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")*

-- url of the page with the problem -- : local
-- hikaserial :1.8.0
-- hikashop : 2.2.3
-- php : 5.3.9
-- firefox 26.0
--extension : [ osmodul](http://extensions.joomla.org/extensions/maps-a-weather/maps-a-locations/street-maps/19997)
-- Error-message-- : don't work ( specific to my configuration )

Hi
I use a custom version of osm module with json .
Click on a link ( that goes to one hikashop product )add hikashop.js and hikaserial.js beetween jquery.js and leafflet.js . If i disable hikashop.js , the module work !!
How can i detect the line problem in firefox ?
I see that HKS add many same scripts item . Is it the way HSK work ( or i do something wrong when edit some HKS php file ) ?

Regards

Last edit: 12 years 10 months ago by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODY1MzM2LWhpa2FzaG9wLWJsb2NrLW9zbS1tb2R1bGU/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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 10 months ago [\#141252](#141252) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[hikashop block osm module](/forum/32-content-creation/865336-hikashop-block-osm-module#141252 "-- url of the page with the problem -- : local -- hikaserial :1.8.0 -- hikashop : 2.2.3 -- php : 5.3.9 -- firefox 26.0 --extension : -- Error-message-- : don't work ( specific to my configuration )  Hi I use a custom version of osm module with json . Click on a link ( that goes to one hikashop product )add hikashop.js and hikaserial.js beetween jquery.js and leafflet.js . If i disable hikashop.js , the module work !! How can i detect the line problem in firefox ? I see that HKS add many same scripts item . Is it the way HSK work ( or i do something wrong when edit some HKS php file ) ?  Regards")*

Hi,

The script shown in the screenshot is in the view "product &#124; show_block_img".
You can use a static variable in order to include the script only once. I think I will do this modification for the next release.

More than that, you can use the browser debugger in order to stop the script execution when an error occurred.
Some browsers allow to "pretty print" the javascript code source so it is easier to see the error line when it's not all displayed in a single one.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODY1MzM2LWhpa2FzaG9wLWJsb2NrLW9zbS1tb2R1bGU/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?

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

Time to create page: 0.047 seconds

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