×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Map keep loading if I publish new marker?

Map keep loading if I publish new marker? 13 years 3 months ago #11531

  • Chi Lam
  • Chi Lam's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
I just updated hotspots to the latest paid version. After I add a new marker and publish it, the map will keep loading forever. But If I un-publish the new marker, the map will start loading again. Please help!! The link to my site's hotspot page: rfc.museum/index.php?option=com_hotspots&view=all&Itemid=417

Thank You

Map keep loading if I publish new marker? 13 years 3 months ago #11532

  • Chi Lam
  • Chi Lam's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Now it just doesn't stop loading at all even I un-published the new markers! Help please!!

Map keep loading if I publish new marker? 13 years 2 months ago #11533

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Chi!
Have you made any changes to the original utls.php file?
I see the following notice:
<b>Notice</b>: Undefined variable: adress in <b>/nfs/c04/h04/mnt/67297/domains/rfc.museum/html/components/com_hotspots/utils.php</b> on line <b>281</b><br />

Please turn notices and warning report off in your php settings.

Map keep loading if I publish new marker? 13 years 2 months ago #11535

  • Chi Lam
  • Chi Lam's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Thanks for reply Daniel!
I installed the new version of Hotspots over the old version yesterday and didn't change anything.
Should I reupload the utls.php?
BTW, where do I turn off the php setting?
Thanks!

Map keep loading if I publish new marker? 13 years 2 months ago #11537

  • Chi Lam
  • Chi Lam's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Hi Daniel,
I just did a test and when I un-publish all the old markers, the map with load with no problem. But when I publish ANY of the markers, the map will just keep loading forever.
All the old markers worked before I upgrade hotspots to the latest version.

Map keep loading if I publish new marker? 13 years 2 months ago #11538

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hi chi,
Well, you sure? Because your template looks a little bit changed? At the bottom you have a clickme button...

Anyway - there is something strange on your website. For example the first categorie has just a single hotspot - nothing is wrong with the text in it, but the message keeps spinning...
I saw that you are loading jquery on the same page - would you disable that jceutilities plugin? Perhaps it is some kind of incompatibility.

Map keep loading if I publish new marker? 13 years 2 months ago #11539

  • Chi Lam
  • Chi Lam's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Hi Daniel,
I altered the template in the old hotspot from lunajoom and the "clike me" button wasn't even there.
It started appear after I installed the new version download from your website, so I thought it is some kind of a new function.
I'll disable the jceutilities plugin in that page and see.

Map keep loading if I publish new marker? 13 years 2 months ago #11541

  • Chi Lam
  • Chi Lam's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Hi Daniel,
You are correct! Hotspots works again after I disabled jceutilities plugin.
However, there are still two strange stuff appear on the front end after I installed the new version. Right under the map it shows the a set of map location number, and below the search button there is another button showing either "Click me" or the hostid.
I looked at the page source and they are produced by the code:
<div id="message"></div> 
<script type='text/javascript'>
/* <![CDATA[ */
 
var Position = new GLatLngBounds();
var centertype = 1;
/* ]]> */
</script>
and
<input type="button" id="mybutton" name="mybutton" value="Click Me" onclick="hsload(1)" /> 
Is it something new from the hotspots version 1.0 stable?
Thanks for you help!

Map keep loading if I publish new marker? 13 years 2 months ago #11545

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Chi :)
It took me some time to understand what you have done, but now I know it :)

Go to the hotspots settings and find the debug option - turn it off :)
This will remove the button at the bottom.

Daniel

P.S. I hope that you'll find few minutes to review the component here:
extensions.joomla.org/extensions/maps-a-...-locations/maps/9468

Map keep loading if I publish new marker? 13 years 2 months ago #11552

  • Chi Lam
  • Chi Lam's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Hi Daniel,
Awesome! Now they are gone! You are my hero!!
I'll be sure to write about your good costumer service in the review, thanks!
Chi Lam
  • Page:
  • 1
Time to create page: 0.173 seconds