Pro Version – Incorrect date on recurrent events
WordPress Event Management, Calendars & Registration › Forums › General Question › Pro Version – Incorrect date on recurrent events
This topic contains 12 replies, has 2 voices, and was last updated by Stephen Harris 9 years, 8 months ago.
-
AuthorPosts
-
June 29, 2015 at 7:58 pm #17594
Hello
The recurring events are showing up in the correct dates in the calendar and when the date is clicked it shows the correct date but when the actual event is selected it shows as 1st January 1970. This is happening on all recurrent dates. Can you advise asap as I need to get it live very soon.
Thanks
Charles KellyCharles Kelly
June 29, 2015 at 8:15 pm #17598Just realised that this date of January 1, 1970 is on all events when you go to the individual event. In the calendar and on the day’s events the date shows correctly.
CharlesCharles Kelly
June 29, 2015 at 8:26 pm #17600Hi Charles,
Just to confirm, you’re seeing the incorrect dates on the “All Events” admin screen, and the event edit screen and no other?
Stephen Harris
June 30, 2015 at 10:01 pm #17636Hello Stephen
I was impressed with the speed of your response so I emailed right back yesterday but have just realised I sent it to ‘no reply’. Here is the copy of my response: Hello
That was a fast response!
On everything except for the final event page, the date is showing the correct date for the event. It is only when one gets to the individual event that the January 1, 1970 shows up. I have just noticed that the event venue is also not displaying here.
I have found another problem so there may be a clue here. When I look at the Events/Calendar View in admin the calendar looks great with everything laid out across the week but when I use the shortcode to put the calendar on a page all events are only displayed on the left hand site as in the attached file.
Thanks Charles
Charles Kelly
June 30, 2015 at 11:08 pm #17640Hi Charles,
Sounds like a plug-in conflict, it would appear the event dates aren’t being pulled out from the database (this would explain the events appearing in the top left of the calendar). The conflict would appear to be occurring only on the front-end (as you mention the admin calendar is displaying correctly – this also rules out any issues with the data stored in the database).
A very quick way to check this is to disable all other plug-ins/themes and see if this still occurs. If you can identify which plug-in/theme is responsible, I’ll investigate it further to see if there’s something that an be fixed (in either plug-in).
In my experience there will be a plug-in altering the SQL query of the database when it shouldn’t be.
Stephen Harris
July 1, 2015 at 12:08 am #17642Hi Stephen
Deactivated the plugins one by one and that had no effect, then I discovered it is the theme template I am using as everything worked with the Twenty Fifteen theme. I am using Templatics ‘Directory 2’ theme with an ‘Emblem’ child theme. Using Directory alone the Event dates worked fine showing the correct date but the calendar still had the problem.
The site is a live tourism site at http://www.millport.org and I have just upgraded it to all the latest theme and plugin versions. I started to use Templatics own events module but it didn’t have ‘venues’ option and then moved on to your system. Could there be any issues with some earlier entries stuck in the database from the Templatics events module? I have just re-entered all the current events data and would not wish to lose what has been already been entered. Can you advise please.
Thanks
CharlesCharles Kelly
July 1, 2015 at 12:22 am #17643Hi Charles,
If the theme’s events module used the ‘event’ post type as well, any events left when you switched will still be present, but they won’t have any dates associated with them (or at least they will, but not in a way Event Organiser understands as each plug-in will store it’s data differently). So that could explain what you’re seeing, in which editing those events should cause them to render correctly.
Assuming the theme’s event module is deactivated I wouldn’t expect it to cause any further problems.
Stephen Harris
July 1, 2015 at 12:26 am #17644The Theme event module was deactivated before I installed yours.
Charles Kelly
July 1, 2015 at 12:29 am #17645I wouldn’t expect events from the theme’s modules to affect event’s created by Event Organiser. I think this is probably a conflict issue rather than a ‘corrupt’ database. What happens if you switch to TwentyFifteen?
Stephen Harris
July 1, 2015 at 12:31 am #17646As I mentioned earlier it works perfectly with Twenty Fifteen
Charles Kelly
July 1, 2015 at 12:34 am #17647Ah, I misinterpreted that to mean it had been working when you had been using TwentyFifteen previously.
I’ll be in touch to get a copy of the theme to debug this further.
Stephen Harris
July 1, 2015 at 12:38 am #17648No I have only just installed your system. It was just tonight when I ran out of plugins to deactivate that I tried the twenty Fifteen. I appreciate your support as having just upgraded the site I am keen to get an events guide live asap..
Let me know what you need.
Charles
Charles Kelly
July 6, 2015 at 9:15 pm #17750Just to recap for the benefit of others.
The calendar issue was related to styling issue with the ‘Directory’ theme by Templatic. Specifically in line 727 of style.css (version 2.0.7) (not css/style.css) of the parent theme directory there is this line:
body.tevolution-directory .ui-widget-content { clear:both; background:0 0; border:none; border-radius:0; padding:0; position: relative; }
This is resolved by removing
position:relative;
The second issue, regarding the dates of events on the single event was because the child theme in this case provided its own
single-event.php
template, but using a different API. The solution here is to either adapt the template to use Event Organiser’s API or delete the template.Stephen Harris
-
AuthorPosts