×

Notice

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

TOPIC: Error messages encountered

Error messages encountered 11 years 3 months ago #21903

  • Geoff Chapman
  • Geoff Chapman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
I have installed the version 3.5.1 and on zooming out on the front end from my first created hotspot 'back to the main map' I get the following error messages:

Notice: Trying to get property of non-object in /share/MD0_DATA/Web/DEV/components/com_hotspots/views/hotspots/view.html.php on line 70

Fatal error: Call to a member function get() on a non-object in /share/MD0_DATA/Web/DEV/components/com_hotspots/views/hotspots/view.html.php on line 72

Also a different error is shown in the Admin Dashboard: Error loading feed data. Not totally surprising since I have only just installed it and created my first hotspot, but a little unexpected.

Note this is on my dev site, where I have all error messages being displayed.

Error messages encountered 11 years 3 months ago #21906

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Error loading data is comming from the fact that we try to load the latest blog posts from compojoom.com and your server is not configured to open https urls.

About the other stuff -> have you created a link to the main map? If you haven't, then it is not surprising that you get a fatal error.

regards,
Daniel

Error messages encountered 11 years 3 months ago #21915

  • Geoff Chapman
  • Geoff Chapman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
I have looked around in the docs etc and cannot find where one defines the 'main map'. If it is not configured it would certainly make sense that it generates an error message. I only have one map with one hotspot (single item menu item) (currently).

Added: Its a bit more complex than expected. I originally had only a 'single hotspot menu item' and this created the error messages. It seems that the getActive call is not returning anything therefore the menu params are all NULL. If I change the menu item to a 'Map view' the error does not occur. Strange. Also noticed that the hotspot doesn't show on the FE map, but displays in the BE. Hmmm.

Re the https setting, could you please expand upon the explanation as to the https configurtion settings. I ask because the joomla server is on a NAS box and I have never met this type of problmm before so am unsure where to start looking. I presume that you are not referring to a Joomla setting.

Error messages encountered 11 years 3 months ago #21921

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Geoff,
Actually it is a bug -> there should not be any error, but a message telling you what is going on and I need to fix this. (and I'll output a better error message for the next version, thanks!)

You need to have a link to the map view -> it can be hidden, but you need one ( actually I was planning to remove the "back to map" link).

About the "error loading feed data" is related to this one:
forum.joomla.org/viewtopic.php?t=279064
We use the standard functions to load the feed. On some servers the certificate chain is missing or is not up to date and that is why the server actually refuses to load the data.

Regards,
Daniel

Error messages encountered 11 years 3 months ago #22066

  • Geoff Chapman
  • Geoff Chapman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
I have been looking into why I cannot see the hotspots on the map. Seems I am getting Java errors as follows:

Timestamp: 04/08/2013 13:33:26
Error: ReferenceError: google is not defined
Source File: http://192.168.1.20/DEV/media/com_hotspots/js/moo/Map.Extras.js
Line: 27

Timestamp: 04/08/2013 13:33:26
Error: ReferenceError: google is not defined
Source File: http://192.168.1.20/DEV/media/com_hotspots/js/libraries/infobubble/infobubble.js
Line: 37

Timestamp: 04/08/2013 13:33:27
Error: TypeError: this.infoWindow is undefined
Source File: http://192.168.1.20/DEV/media/com_hotspots/js/modules/hotspot/hotspot.js
Line: 10

Any ideas? This is using 3.5.1. core.

Error messages encountered 11 years 3 months ago #22076

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Do you use any minifying plugin? Most probably it first minifies all javascript files and loads and removes the line that should call the google libraries. That is why there is an error that "google is not defined"

Regards,
Daniel

Error messages encountered 11 years 3 months ago #22081

  • Geoff Chapman
  • Geoff Chapman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
No minimising software/plugins installed or in use. Still searching for a possible conflict.

Error messages encountered 11 years 3 months ago #22106

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Can I see your site then?

Error messages encountered 11 years 3 months ago #22121

  • Geoff Chapman
  • Geoff Chapman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Regretably this site is behind a firewall. I am going to try it again on another site to see if it is reproducable.

Error messages encountered 11 years 3 months ago #22233

  • Geoff Chapman
  • Geoff Chapman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
I have recreated my dev site from a (old) backup of my live site and installed Hotspots core 3.5.2.
I then created a single category and a single hotspot and the menu item (map view).

Observations:
1) I still see the Java messages in the console but I do see the hotspot on the front end. From this I conclude that the error messages are benign and do not impact functionality.
2) I get a small message box saying 'You should not see this' on teh front end when I click on teh menu link to display the hotpot. From reading the forum entries I checked the message welcome option and the text is the 'Welcome to Hotspots .....'. Tried turning off the welcome message but it still appears. Clicking on the 'do not display this again' removes it but refreshing the page it displays again. [It is certainly not any text that I have entered.]
3) Saw that there was an update (3.5.3) and installed that from the live update. I can see three notice messages:
Notice: Constant HOTSPOTS_PRO already defined in /share/MD0_DATA/Web/Joomla/tmp/com_hotspots_update/administrator/components/com_hotspots/version.php on line 11

Notice: Constant HOTSPOTS_VERSION already defined in /share/MD0_DATA/Web/Joomla/tmp/com_hotspots_update/administrator/components/com_hotspots/version.php on line 12

Notice: Constant HOTSPOTS_DATE already defined in /share/MD0_DATA/Web/Joomla/tmp/com_hotspots_update/administrator/components/com_hotspots/version.php on line 13

Since these are notices I think they can be safely ignored, but mention it FYI.

4) The help icon on the control panel does not generate any useful information, effectively a blank screen bar the four header lines.

Will try again on a fresh virgin install of 2.5.14 when I get a few minutes.

Error messages encountered 11 years 3 months ago #22241

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
2) - this should dissapear once you set the show welcome text to no. (the message says you should not see this text, because your "welcome text" is empty, isn't it?).
3) Do you get this only on the update screen, or do you get this all the time?
4) okay - will be removed or fixed :)

Regards,
Daniel

Error messages encountered 11 years 3 months ago #22254

  • Geoff Chapman
  • Geoff Chapman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 0
Re:

2) The message text was as installed so was certainly not empty, saying something like 'Welcome to Hotspots etc...' as installed. Turning welcome text to no, did not resolve it. Since then I have restarted the server and it no longer appears. I am thinking it might be cache related somewhere along the line, although I was fairly sure I had cleared the page cache. The puzzle is why it gave the 'You should not see this', rather than the 'Welcome to Hotspot...' message.

3) The message was only on the update screen. Not present now after the update.

Regards
Geoff

Error messages encountered 11 years 3 months ago #22273

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Geoff,

2) Yes, you are right. Right after the installation if the user has never opened the configuration and saved it, then the message was wrong. I've fixed this and now it should not confuse new users. (added to the latest dev. release)

Thanks,
Daniel
  • Page:
  • 1
Time to create page: 0.123 seconds