Home › Forums › Calendar Products › Events Calendar PRO › Event Map not working when logged out
- This topic has 6 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
June 4, 2015 at 1:57 am #967090
Neasa Ronayne
ParticipantI have been using the event map feature outside of the archive area, http://galway2020.ie, but when the user is logged out the map is just static (no events). I have looked through the files being pulled in and they are the same. They console has a debug error but that is the same when logged in.
Any idea why this doesn’t work outside of the archive map page?
June 4, 2015 at 8:08 am #967185Brian
MemberHi,
Thanks for using our plugins. I can help troubleshoot this with you.
You are using the Map view outside of the standard views we create?
I looked at your site and that is quite the customization!
I am seeing this error in the console:
ReferenceError: debug is not defined
http://galway2020.ie/wp-content/themes/galway/tribe-events/tribe-events-ajax-mapsBlue.js
Line 704Since that is a custom file you could try adding this at the top of the script to prevent the issue:
if ( ! window.debug ) { window.debug = function(){}; window.debug.info = function(){}; }That may resolve this.
Let me know, but please note I will try to help as much as I can, but I am limited in supporting customizations.
Thanks
June 4, 2015 at 9:47 am #967233Neasa Ronayne
ParticipantHi Brian,
Thanks for the quick response. I added that to the top of the file which didn’t work and the top of the function which didn’t work, I got this error:
Uncaught Type Error: debug.timeEnd is not function
http://galway2020.ie/wp-content/themes/galway/tribe-events/tribe-events-ajax-mapsBlue.js
Line 704I then tried commenting out the two lines that contain debug, line 704 and 709, this gave no errors but the map still did not work.
I understand this is customization, but any help would be much appreciated.Here is the link to where I am testing the site: http://build.unthink.ie/galway/
Any other ideas why it might only work when a user is logged in?Thanks so much for the help I appreciate it.
June 4, 2015 at 3:34 pm #967331Brian
MemberOk thanks for the info.
Not sure why it works for logged in users and not.
Could you try taking the source code when you are logged in and then when you are not and use something like this site to compare the differences?
That might help find the issue here.
June 10, 2015 at 7:19 am #968430Neasa Ronayne
ParticipantHi Brian,
Thanks for the link for comparing text, I used it on the page and the differences are nothing regarding the events calendar plugin. Thanks so much for your help. I’ll keep trucking away and maybe I will solve it.
I will let you know if I do so you can store it for future use, if anyone wants to do something similar.
June 10, 2015 at 7:38 am #968451Brian
MemberOk, let us know what you find out.
Also, going through out Testing for Conflicts Guide may help find out the source of the issue too:
Thanks
July 7, 2015 at 6:32 am #984283Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Event Map not working when logged out’ is closed to new replies.
