Event Map not working when logged out

Home Forums Calendar Products Events Calendar PRO Event Map not working when logged out

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #967090
    Neasa Ronayne
    Participant

    I 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?

    #967185
    Brian
    Member

    Hi,

    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 704

    Since 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

    #967233
    Neasa Ronayne
    Participant

    Hi 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 704

    I 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.

    #967331
    Brian
    Member

    Ok 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?

    https://www.diffchecker.com/

    That might help find the issue here.

    #968430
    Neasa Ronayne
    Participant

    Hi 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.

    #968451
    Brian
    Member

    Ok, 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:

    Testing Conflicts With Themes and Other Plugins

    Thanks

    #984283
    Support Droid
    Keymaster

    This 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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Event Map not working when logged out’ is closed to new replies.