×

Notice

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

TOPIC: Reinstalled hotspots & am getting the "loading" not disappearing prob

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11282

  • Kate Fisher
  • Kate Fisher's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
Hi Daniel,
had a bit of a problem again with hotspots mods Id made so I uninstalled (partial) and reinstalled. Im getting the never ending loading layer again. How would I remove this / find out why the clean install isnt working.

Any help very gratefully received.

Hope the team is well.

Kate

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11293

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
:) In the other thread you wrote that you found the problem. Is everything OK now?

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11296

  • Kate Fisher
  • Kate Fisher's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
Hi yeah, reinstalling seems to have cleared the problems I had with the code Id modified. Only thing we're coming up against is an error message linked to hotspots.js (line 240) whenever there are more than 100 hotspots in one category. Have you received any similar questions? I only ask as this is a clean install with minor tweaks which seems to be exhibiting this behaviour.

Any thoughts very much welcome. Thanks re the "missing image fix" I couldnt find my previous post, and then realised I actually popped in on someone elses thread.

Kate

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11297

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
may I get a link to your website again? I think that one of the 100 hotspots should have problematic characters that produce the js error.

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11299

  • Kate Fisher
  • Kate Fisher's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
Hi Daniel, the page lives at: californiaclassics.co.uk/index.php?optio...ut=addspot&Itemid=12

Will continue with testing each spot in turn, ideas welcomed.

I turned SEF off as it didnt seem to be working properly.

Kate

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11301

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Not sure, but I think that this hotspot is creating the problem:

var point = new GLatLng(33.745960, -117.968285);
map.addOverlay(createMarkerDiv(point, 136, "<div id='marker_container'><div id='marker_adress'><strong>The Fast and the Furious (2001)</strong><br /><br /></div><div id='marker_description'><p>An area known as Little Saigon in the city of Westminster was where filmmakers shot the Asian motorcycle gang scenes in this high-octane movie. They also used a temple-like area with many white marble statues, which is the Vietnamese Cultural Court, located behind the 99 Ranch Market.</p>\n<p><span style=\"font-size: 10pt; line-height: 115%; font-family: &<br /></div></div><div class='morelink'><a href='/goo.gl/tZTU3</p>?option=com_hotspots' title='The Fast and the Furious (2001)'>Visit.California...</a></div>", markerOptions));
markerOptions = {title:"The Shanghai Express (1932)", icon:hsIcon };


I think that <span style=\"font-size: 10pt; line-height: 115%; font-family: &<br /> in it is the problem. Turn it off and look if the map is loading.

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11302

  • Kate Fisher
  • Kate Fisher's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
Hi Daniel, heck the person who keyed this in mustve been hacking about with the text :/ can I ask how did you interrogate the data to find this? If I view source I cant see this text. I only ask as I assume there are other entries with random css popped in in addition to this entry.

Kate

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11303

  • Kate Fisher
  • Kate Fisher's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
Holly that was the whole problem, spurious code entered into about 10 or so of the hotspot locations. Thank God I finally went through all the points just to make sure they're all clean.

Your insight and knowledge as ever a god send!

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11304

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I'm using firefox + firebug: getfirebug.com/ . In firebug I'm looking at the console screen that shows me the ajax requests that are made on the page.
one of the request is to this page:
californiaclassics.co.uk/index.php?optio...l=null&position=null

There I've opened the source code of the page and have looked for any odd things.

Cheers,
Daniel

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11312

  • Kate Fisher
  • Kate Fisher's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
Hi Daniel thank you for all of your help. I went through every spot as suggested and found that there were 10 or so spots with html code in.

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11466

  • Jim
  • Jim's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Hi Kate,
This is happinging to me as well "Loading" not disapearing. What did you do to correct this? I havent made any code changes...

Jim

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11467

  • Kate Fisher
  • Kate Fisher's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
Hi Jim,

mine was caused by html code being inadvertantly put into the hotspot descriptions . I also had a problem when some of the graphics I setup to represent different cataegories could not be found by hotspots.

Either is worth checking out. Daniel is super helpful too and spots problems at about 900 million paces (he's very good).

Kate

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11468

  • Jim
  • Jim's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Thanks, Kate.

I went in and deleted the images - sample shadows, etc. and reloaded my own PNGs. The "Loading" problem is gone, but its not seeing my images now. Which is weird because when I first loaded the component it did see them...

Thanks for your help though. I am going to keep trying different images and see which work. I only need little cirles each a different color so it shouldn't be too difficult :)-

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11469

  • Kate Fisher
  • Kate Fisher's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
Hi have you tried clearing the joomla site cache? I only ask as I always do that to ensure the site sends out the right code.

Tis worth clearing your browser cache too with Ctrl + F5

Hope this helps.

Kate

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11471

  • Jim
  • Jim's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
I should have tried that first. Am trying all of that now. Fingers crossed!

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11473

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
@Kate - I have the feeling that the next version won't have problems with invalid html in the description of the spot. It will display the map and the information on it :) (not confirmed, but I have this feeling)

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11474

  • Kate Fisher
  • Kate Fisher's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 82
  • Karma: 1
  • Thank you received: 0
:) looking forward to seeing the next version of your funky new code! Hopefully we should be hosting the map on a site which gets 30,000 odd vistors a day soon. Would be good to see the map really come to life with greater prominance.

Kate

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11476

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I would like to know how well it is performing with so much users :)

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11485

  • Jose Alvarez
  • Jose Alvarez's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
Help Needed...

www.carozzimeencanta.cl/all.html?layout=addspot

The loading square keeps and never dissapears...

I saw that Kate Fisher could fix it...i tried even unpublishing every marker, and leaving just one for each category (the first ones i added)...the same thing...just opens with the default category "Parques", and if you try to change category, the loading stays there...

Reinstalled hotspots & am getting the "loading" not disappearing prob 13 years 3 months ago #11486

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Jose,
You have a javascript error on your page. Just by looking at it, I'm unable to understand why it happens - because the line of code should work!

However what I see on your page is that you have invalid html - fix this first and most probably the problem is going to disappear.

For example
<script type="text/javascript" defer="defer"></script>
<script type="text/javascript">
 
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-15180322-8']);
  _gaq.push(['_trackPageview']);
 
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
 
</script>
 

This isn't in the head of the page, neither it is in the body = invalid!

And please start your own thread on the forum for this.
  • Page:
  • 1
Time to create page: 0.153 seconds