Endless Loop for day view

Home Forums Calendar Products Events Calendar PRO Endless Loop for day view

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #956708
    David
    Participant

    I’m coming up with some crazy errors on our server and I hope you can help. If you go to the url http://www.gygicookingclasses.com/classes/2015-05-07/ or any other day view of a class the server is caught in an infinite loop. No one will natively navigate to these url’s but it’s really burning php memory – wondering if you can help? I’ve disabled extensions and put it on the 2014 theme and the issues still keep coming up.

    Thanks

    #956894
    Brian
    Member

    Hi,

    Sorry for the issues you are having on this. I can help troubleshoot this with you.

    I visited your site and see what you mean.

    It did it on every day view with events I tried. It is strange that it is happening so early on a page load and shows nothing.

    Are you able to check the server error logs and see if it is showing anything?

    What about if you create a test event with just a title and a date and see if you can then visit that day in day view, let me know if that changes anything.

    Let me know and we can go from here.

    Thanks

    #957782
    David
    Participant

    The apache logs aren’t writing anything (because it’s an infinite loop.) It eventually gives a 500 error – I’m working with the host to try to pinpoint the exact file. I assume it’s in the day view template – but I’ll try to share some more information:
    https://gist.github.com/gygi/3f652fd59e3e6e4af792

    #957826
    David
    Participant

    I traced the issue to the following file called by the request:

    http://www.gygicookingclasses.com/classes/2015-05-07/

    which calls:

    /home/gygicookingclasses/www/wp-content/plugins/the-events-calendar/views/day.php

    This failed to load unless I commented out:

    tribe_get_template_part( ‘day/content’ );

    which loads a template file:

    /home/gygicookingclasses/www/wp-content/plugins/the-events-calendar/views/day/content.php

    This calls the following template file:

    /home/gygicookingclasses/www/wp-content/plugins/the-events-calendar/views/day/loop.php

    which calls

    /home/gygicookingclasses/www/wp-content/plugins/the-events-calendar/views/day/single.php

    but there was no single.php template in that directory, only single-event.php. I copied single-event.php to single.php and commented out PHP calls, but I am not sure where it is breaking down, But I am certain the error is between the loop.php and single.php template files.

    #957827
    David
    Participant

    This reply is private.

    #957888
    Brian
    Member

    In the day directory.

    the-events-calendar\views\day\content.php

    content.php calls both nav.php and loop.php

    loop.php calls single-event.php

    These are the 4 files that should be there:

    content.php
    nav.php
    loop.php
    single-event.php

    If that is not the case it would be a good idea to backup your site first and then deactivate, delete, and then get a new copy of the Events Calendar to upload and activate.

    Also, check in your theme in the /tribe-events/ directory for any custom templates related to day view.

    Note I removed the credentials for your site we are unable to access any client sites.

    #958689
    David
    Participant

    All 4 files are there as listed. (please see screen shot.) http://screencast.com/t/riD0J8GmViM I guess we’ll keep looking. Thanks

    #958720
    Brian
    Member

    I would try deleting plugin and reloading with a fresh copy and see if that helps the issue.

    Do you have any customizations in your theme as well?

    #959110
    David
    Participant

    I have not overwritten these files- I’ll try an update to see if that resolves that specific issue.
    Another issue that has evolved – when looking at an event on a specific day (may 30 2015) on a mobile device – the event for april 30th is pulling up. This is only on mobile and not on desktop. I can’t see any conflicts in our custom.css files https://gist.github.com/gygi/f06ba661ef8c1238b7f3.

    Quite surprised at the bugs we’re seeing.

    #959126
    Brian
    Member

    Ok let us know.

    That is a known bug in the mobile month view and in the 3.10 release the issue will be resolved.

    Unfortunately, we have had a long development cycle and many of the bugs you see would have been already fixed, but the release has been delayed.

    We are doing testing on 3.10 and hope to have it out soon.

    #969096
    Brian
    Member

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Endless Loop for day view’ is closed to new replies.