Home › Forums › Calendar Products › Events Calendar PRO › Endless Loop for day view
- This topic has 10 replies, 2 voices, and was last updated 10 years, 11 months ago by
Brian.
-
AuthorPosts
-
April 20, 2015 at 8:17 am #956708
David
ParticipantI’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
April 20, 2015 at 5:38 pm #956894Brian
MemberHi,
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
April 23, 2015 at 9:18 am #957782David
ParticipantThe 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/3f652fd59e3e6e4af792April 23, 2015 at 11:10 am #957826David
ParticipantI 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.
April 23, 2015 at 11:11 am #957827David
ParticipantThis reply is private.
April 23, 2015 at 1:51 pm #957888Brian
MemberIn 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.phpIf 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.
April 27, 2015 at 12:44 pm #958689David
ParticipantAll 4 files are there as listed. (please see screen shot.) http://screencast.com/t/riD0J8GmViM I guess we’ll keep looking. Thanks
April 27, 2015 at 1:39 pm #958720Brian
MemberI 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?
April 28, 2015 at 3:21 pm #959110David
ParticipantI 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.
April 28, 2015 at 4:30 pm #959126Brian
MemberOk 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.
June 12, 2015 at 9:03 am #969096Brian
MemberI 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
-
AuthorPosts
- The topic ‘Endless Loop for day view’ is closed to new replies.
