Forum Replies Created
-
AuthorPosts
-
July 18, 2016 at 1:30 pm in reply to: Tons of Warning messages in error Log upon upgrading to version 4.2 #1141185
Kurt
ParticipantEverything is working fine on 4.2.2
June 14, 2016 at 8:04 am in reply to: Tons of Warning messages in error Log upon upgrading to version 4.2 #1126699Kurt
ParticipantThis was just posted to the thread on this problem on wordpress.org. I downgraded to version 4.1.4 and will wait for the next release.
~~ Grey
—–
Brian wrote:Hi,
Sorry for the issues you are having and for the late reply here.
The messages are warnings and do not break the plugin, but there are an annoyance and can be removed.
It is recommended that all live sites not show PHP Errors, Warnings, and Notices.
You can do that with your PHP.ini or in WordPress.
To do that in your wpconfig.php file replace this:
define(‘WP_DEBUG’, false);
with this:
ini_set(‘log_errors’,’On’);
ini_set(‘display_errors’,’Off’);
ini_set(‘error_reporting’, E_ALL );
define(‘WP_DEBUG’, false);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, false);
That coding comes from this article:
https://aristath.github.io/blog/wp-hide-php-errors
That should hide the warnings for now and there will be a fix in 4.2.1, which we are working on.
You can also downgrade to 4.1.4 if you like.
You can download older versions of the core plugin here:
https://wordpress.org/plugins/the-events-calendar/developers/
And follow these steps for a manual change:
ThanksJune 10, 2016 at 10:50 am in reply to: Tons of Warning messages in error Log upon upgrading to version 4.2 #1125281Kurt
ParticipantJust noticed, the error messages only show up on the main calendar page, not on the event detail pages.
June 10, 2016 at 10:45 am in reply to: Tons of Warning messages in error Log upon upgrading to version 4.2 #1125280Kurt
ParticipantThis reply is private.
February 22, 2016 at 9:00 am in reply to: Latest update still has problems with dates in details block #1079947Kurt
ParticipantYes, applying that CSS resulted in the dates being displayed correctly. And thanks for the pointer to Simple Custom CSS.
I would appreciate an update when this is resolved in the code so that I can remove the custom CSS.
Thanks,
~~ KurtJanuary 10, 2016 at 12:41 pm in reply to: Update doesn't fix missing Time and Date in Details Section #1053589Kurt
ParticipantOkay, this is getting really frustrating. I cleaned up my site, added my Venues, added my Organizers, and added my Users. I signed in as a user and entered my first “real” event, a recurring event that occurs twice a month. I displayed the calendar and none of the events are showing the date or time. Not just the first event, all of them.
I’m just going to hack the details.php module to not display the date and time at all. It’s in the event header anyway, and I can’t spend any more time on this. I’ll wait for a patch. If your developers need to see this in action put them in touch with me and I can set up a test system for them.
January 8, 2016 at 10:04 am in reply to: Update doesn't fix missing Time and Date in Details Section #1052717Kurt
ParticipantI changed line 112 in details.php from: <?php echo $time_formatted; ?> to: <?php echo $start_datetime; ?>
When I displayed the event, it did show the start date and time. So the problem appears to be in whatever code sets the $time_formatted value.
I worked up a hack that rebuilds $time_formatted from $start_datetime and $end_datetime. Find this code at about line 110 in details.php:
<dt> <?php echo esc_html( $time_title ); ?> </dt> <dd><div class="tribe-events-abbr updated published dtstart" title="<?php esc_attr_e( $end_ts ) ?>"> <?php echo $time_formatted; ?>Add the hack code so as below:
<dt> <?php echo esc_html( $time_title ); ?> </dt> <dd><div class="tribe-events-abbr updated published dtstart" title="<?php esc_attr_e( $end_ts ) ?>"> <?php $hack_start_time = explode(" @ ", $start_datetime); $hack_end_time = explode(" @ ", $end_datetime); $time_formatted = $hack_start_time[1] . " - " . $hack_end_time[1]; ?> <?php echo $time_formatted; ?>So far this working in all my tests.
January 8, 2016 at 9:43 am in reply to: Update doesn't fix missing Time and Date in Details Section #1052701Kurt
ParticipantI did a complete reinstall and now the code is behaving as before… only the first event is missing the time.
I took a look at the code and I just don’t know enough about PHP and WordPress internals to work through the code. I did try a few things, like a multi-day recurring event, and the dates and times were formatted correctly. From what I can see in the code, it looks like the problem is in the single day event block, which uses variable $time_formatted. I may play around with that a bit.
I’m using TEC to replace another calendar program on this site, and we’re planning to cut over in February. So for now I’m just going to tell the event managers to start their recurring events in December ’15. I expect most visitors won’t navigate backwards on the calendar.
January 8, 2016 at 8:51 am in reply to: Update doesn't fix missing Time and Date in Details Section #1052650Kurt
ParticipantThis has just become more bizarre. I deleted all the test events I had set up and started doing some more work on my site. I installed Community Events, and then realized I wanted the Filter Bar too so I bought and installed that. After doing some configuration I started adding some events, and when I added a recurring event the detail page is not showing the date or the time on any of the events.
I’m going to do another “burn it to the ground and start over” today, I’ll let you know what happens. I was going to try to find where this page is displayed, so now that I know I can take a look and try to put some diagnostic code in.
More technical info: my server is running PHP 5.5.3, although I doubt that’s significant.
~~ Kurt
January 6, 2016 at 6:28 pm in reply to: Update doesn't fix missing Time and Date in Details Section #1051534Kurt
ParticipantThis is a new site and not in production, so I did a “scorched earth” test and uninstalled WordPress and installed it again. I have Softaculous, so this only took a couple of minutes. The operating environment is CentOS 1.7, WordPress 4.4, default Twenty Sixteen theme.
I installed The Events Calendar, and added a single event and a multi-day event. They both showed the dates and times properly: Date and start and end time for the single day event, start and end dates and times for the multi-day event.
I then installed TEC pro and added a recurring event. As before, the Details showed the date, but not the times. I tried the Twenty Fifteen and Fourteen themes with the same result.
Here’s where it got interesting. I noticed that there weren’t any previous/next month navigation controls, and was trying to figure out how to get to the next month. I finally found the “Events In” control and was able to display February. I selected the recurring event… and the Details included the start and end time. I went back to January… no times shown.
I created two more recurring events, one starting in December 2015, and one starting in February ’16. In both cases, the time was missing on the first event, and was present on all subsequent events.
So it looks like this is a “first time” bug. I suspect that laughmasters and I are seeing it because we’re creating new events and seeing the first event. Someone upgrading the product won’t see it on existing events because the first event is in the past.
~~ Kurt
January 5, 2016 at 11:14 pm in reply to: Update doesn't fix missing Time and Date in Details Section #1050907Kurt
ParticipantI just installed TEC Pro and ran into the missing time problem. I was using a third party theme but it happens with the Twenty Fourteen and Twenty Sixteen themes. Times show properly on single events and multi-day events, but not on recurring events.
-
AuthorPosts
