Posted: May 9, 2016 at 5:44 pm
|
When I am logged into WordPress and I view the page with my Event Espresso calendar, it displays just fine, with all the events. When I am logged out, the events don’t load into the calendar, so users see a blank calendar. The icon at the top of the calendar spins, as if trying to load events, but it just keeps spinning and won’t load. I’ve been using EE for over a year and have never had this problem. My clients cannot register for classes now and are growing frustrated. I’d really appreciate any feedback. Thank you. I am using EE3 Version 3.1.37.3.P |
Hi there Brett, Thanks for reaching out today. Have you recently setup any caching services (e.g. wp super cache, w3 total)? Could you please share a link to that events calendar page? — |
|
|
Hello Lorenzo, No, I have not setup any caching services. Here is a link to the page: http://tamjamsworld.com/event-calendar/ Thanks, |
Hi Brett, Has a security plugin or other mechanism been added that blocks requests to the wp-admin folder without making an exception for the wp-admin/admin-ajax.php file? That’s exactly the sort of thing that the calendar will do if something like that has been added to the site. There’s information with a link to some resources in the WordPress codex on how to properly secure the /wp-admin/ folder: http://codex.wordpress.org/Hardening_WordPress#Securing_wp-admin |
|
|
Josh, |
|
I still have not been able to resolve this issue. I’m convinced that Josh is right, and after looking at the link above (and related info), I found what I thought would be the solution: However, since I have not added any password protection to the wp-admin folder, or added any other protection that I’m aware of, there is no .htaccess file in the folder. Is there a different file that I need to add the code to? |
Hi Brett, Looking at the source code for your calendar page there’s multiple version of jQuery being added to the page. One of which is causing JavaScript Syntax error as the file has been remove – http://take.ms/zwqmS Whist logged into the site, open up Chrome Dev tools (or similar) and search the page source for ‘creativelogisticssupport’, does anything show on the page? Is that code you have added yourself or do you recognize that code in the screenshot at all? |
|
|
Tony, jquery.min.php?c_utt=K85164&c_utm=http%3A%2F%2Faes.creativelogisticssupport.com%2Fjs%2Fjquery.min.p…:1 Uncaught SyntaxError: Unexpected token < I didn’t add this personally but there’s a chance that the web developer who helped with integrating EE on our site did (more than a year ago). Having found it, what is the next step? |
You only need one copy of the jQuery library, and it’s best practice to use the one that’s bundled with WordPress. The thing is though, that’s not a legit copy of jQuery, it’s serving an error page instead of a script. The next step is to find the theme function (or plugin function if that’s the case) that’s adding the extra script code and remove it. |
|
The support post ‘Calendar only shows events when I'm logged into WordPress’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.