Blank Calendar (no events displayed) when switching month views

Home Forums Calendar Products Events Calendar PRO Blank Calendar (no events displayed) when switching month views

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1000948
    Kathleen
    Participant

    I am having the exact same issue as described in this topic:

    Selecting different month = Blank Calendar, no events displayed

    When you are on the calendar page, the current month displays properly but whenever you click the next month at the bottom of the calendar or use the month selector at the top, the calendar is blank. If you then refresh the page the events show up. This only happens when you are LOGGED IN to our WordPress MultiSite but are NOT an administrator for that site.

    The issue occurs in all browsers. Debug mode showed nothing. Disabling all plugins did not help. Disabling Javascript in the browser DOES resolve the issue. Changing themes also DOES resolve the issue.

    My next step was to view the source of the Events page using both themes (the homegrown theme that has the issue, and Twenty Eleven that doesn’t have the issue). I compared the code side by side and ALL of the javascript in the source code from both themes is identical. It’s obviously a Javascript issue with my theme, but I cannot determine what in my theme is different from the Twenty Eleven theme!

    I will provide a test login in the “System Information” field below, since you have to be logged in as a non-Administrator (subscriber, etc) to recreate the issue.

    Links to source code for both themes are also included below.

    #1001195
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help troubleshoot this with you.

    I visited your site as a regular visitor and it worked for me, that is correct though from what I understand.

    I tired to login as a subscriber, but it did not like the username and password.

    If you want to provide that in a private reply again I can take a look.

    Thanks

    #1001335
    Kathleen
    Participant

    This reply is private.

    #1001447
    Brian
    Member

    Ok thanks for the info.

    I visited your site and I can see it now.

    I used the navigation and it did not show the events as you said.

    The strange thing as you pointed out is there are no errors.

    I tried to replicate on my site and it worked for me so it is unclear on the cause of this.

    Do you have anything in your htaccess or coding in your site that might block ajax?

    What about anything that might block access to the admin or modify admin access?

    Also,

    Can you please follow the section of the WordPress Codex Debug titled “Example wp-config.php for Debugging” on this page:

    http://codex.wordpress.org/Debugging_in_WordPress

    Add that coding to your wp-config.php file.

    Please then login as a subscriber and recreate the error a couple times and then if you can send in your next reply the information in the debug.log in the wp-content directory.

    Also, send me the information in the System Information box under Events->Help.

    You can make those both private replies and we can go from there.

    #1001681
    Kathleen
    Participant

    This reply is private.

    #1001682
    Kathleen
    Participant

    This reply is private.

    #1001683
    Kathleen
    Participant

    It is definitely an issue with my THEME – if I change themes, the issue is resolved. I just can’t pinpoint what in the theme is causing the problem.

    It’s a homegrown theme made by a predecessor, so no tech support on the theme. 🙁

    #1001717
    Kathleen
    Participant

    Ok, I finally tracked down the issue. We had added a function to our theme that hides other users’ posts in the Admin from users whose role was lower than Administrator. Removing that function fixed the calendar issue. Strange though, because that function only hides posts in the Admin interface – all other posts are still visible on the front end, EXCEPT the calendar event posts. Also strange that a page refresh would reveal them.

    You definitely pointed me in the right direction to isolate this issue – I really appreciate it. Thank you SO much for your help!!

    #1001749
    Brian
    Member

    Hi,

    Glad you figured it out.

    The AJAX in WordPress goes through the admin so it would pick up on admin only functions. So that makes sense now why it caused the issue.

    Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Blank Calendar (no events displayed) when switching month views’ is closed to new replies.