×

Notice

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

TOPIC: Map display stopped working; shows blank

Map display stopped working; shows blank 9 years 3 months ago #31670

  • Pete Stewart
  • Pete Stewart's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
Developing a new project; I had 8 locations showing, all in the same category, but suddenly the map page is blank:
http://bagpipemap.goodbagpipes.com/joomla/index.php/hotspots-map
Joomla 3.4.3 protostar template php 5.3. Joomla debug show no errors, but two Query duplicates
what's gone wrong?

Map display stopped working; shows blank 9 years 3 months ago #31672

  • Pete Stewart
  • Pete Stewart's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
I've no idea what the problem was; eventually I changed the Menu option view from category bound to start position and the map re-appeared; changed it back again and the map was still OK.
Am I right in concluding that only one top level category will display, if the map is linked to more than one?

Map display stopped working; shows blank 9 years 3 months ago #31676

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Pete,
You said in your first post that you are developing the new project. So most probably you've added something that breaks the js and later removed it :)

Am I right in concluding that only one top level category will display, if the map is linked to more than one?


What do you mean with this? When you link the map to a menu you can select a start category. It can be different for each menu entry.

Regards,
Daniel

Map display stopped working; shows blank 9 years 3 months ago #31692

  • Pete Stewart
  • Pete Stewart's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
I have four categories; as gfar as I can tell I can choose to display any one of them using the filter, but I cannot display more tha one category: only by unchecking all the icons can I get to see all the locations; I assumed that I could use the filter to show a selection of categories; I have now built maps for each category.

Map display stopped working; shows blank 9 years 3 months ago #31695

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Pete,
I don't think that I understand the issue.

When you don't have a category selected - then we load all locations (no filter applied). When you have all categories selected -> then we again load all locations (all filters selected :D)

You can select just one category, or 5 categories. Then depending on the selected categories -> we will load the hotspots from there. Keep in mind that we have a limit on how many locations we show at once on the map. that is why in the menu you have a pagination.

compojoom.com/support/documentation/hotspots/ch05#id359747 - this is what we do when we have a lot of locaitons.

Regards,
Daniel

Map display stopped working; shows blank 9 years 3 months ago #31706

  • Pete Stewart
  • Pete Stewart's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
On my site @ bagpipemap.goodbagpipes.com/joomla/index.php/hotspots-map I have a map with four categories, one of which has no locations as yet. When I visit this map I see three icons [not the empty category] but the data never loads, just the loading data message. It seems that i can only see one category at a time, or, by deselecting all categories, all of them display. What I don't understand is why, on opening the map ittries to open the three categories that have data, but fails

Map display stopped working; shows blank 9 years 3 months ago #31707

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You don't have any data, because the request that is supposed to get the data returns:
<html><head>
<title>412 Error</title>
</head>
<body>
<h1>412 Error</h1>
 
<p>Your request got filtered out due to possible security issues.</p>
 
<p>One or more things in your request were suspicious (defective request header, invalid cookies, bad
 parameters)</p>
 
<p>If you think you did nothing wrong:</p>
<ul>
<li>try again with a different browser</li>
<li>avoid any evil characters inside the request url</li>
</ul>
 
<p>If you are the owner of the website, you can consider revising the rules of the mod_security module
 or turning it off from your Web Hosting Control Panel.</p>
 
<hr />
</body>
</html>

Ask your hosting provider why they block this request: bagpipemap.goodbagpipes.com/joomla/index...33&hs-language=en-GB

I believe that it is the semi-colon in the catid, but it is perfectly legit. So, they will have to modify the configuration.

Regards,
Daniel
The following user(s) said Thank You: Pete Stewart

Map display stopped working; shows blank 9 years 3 months ago #31711

  • Pete Stewart
  • Pete Stewart's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 0
Well, that explains the problem; I would certainly never have tracked that down myself. Thanks and I will send this on to my host
  • Page:
  • 1
Time to create page: 0.148 seconds