Home › Forums › Calendar Products › Events Calendar PRO › 1970 Bug
- This topic has 16 replies, 4 voices, and was last updated 11 years, 11 months ago by Rob.
-
AuthorPosts
-
April 16, 2012 at 3:58 pm #17954Anthony D’ArcoParticipant
I know there have been a couple of threads about this before (but when I searched for 1970 Bug, I couldn’t seem to find what I was looking for). First off, I know the problem before was that the Pro version was not the same as Free version. I can assure you that I am running 2.0.5 for both. Everything works great except for the widget links. They kick back the 1970-… url. Wasn’t sure if you knew why this was happening.
April 16, 2012 at 6:05 pm #17966RobMemberHey Anthony. You’re the first to report it, but that certainly doesn’t mean there isn’t a legit issue here. Which widget is the issue here, and is this for recurring/standalone events? A link to a place where I can see the widget in action would be awesome and I can try to diagnose from there.
April 17, 2012 at 7:39 am #17983Anthony D’ArcoParticipantWoohoo, First! I am using the Advanced Events Widget and here is a link: http://www.stjohnofthecross.org/
Thank you,
AnthonyApril 17, 2012 at 9:29 am #17994RobMemberThanks Anthony. I am indeed seeing the issue and am, unfortunately but as I’d thought, totally unable to recreate on my end.
What is your permalinks structure? I’m just using /%postname%/. And, have you already checked whether this is a conflict with another plugin or the theme? If not, definitely go the deactivation route to try and test. From there if we’re still having issues I may need access to your system to check it out there…but let’s cross that bridge when we get to it.
April 17, 2012 at 10:46 am #18005HenryMember1 January 1970 is the Unix epoch date. It is simply a way for certain systems to keep time by measuring how long has elapsed since this time. I am not familiar with the way the widget is set up but I would imagine the time is defaulting back to this date.
Not sure how this can help but perhaps when trying to diagnose the issue.
April 17, 2012 at 12:45 pm #18009Anthony D’ArcoParticipantOk, so I actually just noticed this is happening to another site of mine as well. It is a bit more standard of an install, so maybe this is the better place to diagnose: http://www.stthomaspeoria.org/ You will see the events scrolling in the yellow section. Same thing is happening.
As far as my permalink structure, it is using /%postname%/. Concerning plugins, I turned off Total Cache first, everything seemed to work just fine. I turned it back on and it was broken again. So, that seems to be the culprit. However, I need total cache on for obvious performance reasons. Any ideas?
Thank you,
AnthonyApril 17, 2012 at 3:55 pm #18011HenryMemberI don’t use the advanced widget so have no way to test but my stab at this would be to make a very slight amendment to one of the Pro files.
Try finding file plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php
Then change the following code around line 58
To this
As mentioned, I haven’t been able to test so make a back up of the file before making the change.
April 17, 2012 at 4:11 pm #18012HenryMemberIf this doesn’t work for you then you could always manually display a list of events without using the widget using this:
I have set showposts to 1000 but feel free to change this to whatever number of events you’d like to display.
April 18, 2012 at 12:35 pm #18051Anthony D’ArcoParticipantThank you for the code, it will hugely helpful, and I will be using that code in other places. However, I do still have a bit of an issue. The widget allows me to filter categories as well as exclude certain items through a check-box. Those items are essential for me in certain places. So, I really need either that functionality included in your code, or I need to get the widgets working.
Thank you,
AnthonyApril 18, 2012 at 2:55 pm #18052HenryMemberyou can have events from a certain category display only by making a minor modification to the code.
In my example below I have included the first 1000 events that are in the “football” category:
April 19, 2012 at 4:53 pm #18077RobMemberThanks, Henry 🙂
Anthony: give that a go, and we can keep trying to troubleshoot as needed.
April 20, 2012 at 4:22 am #18091CliffParticipantFor anyone else that comes here looking to fix a ‘1970’ bug, I was using get_permalink() in a custom loop of events and limit recurring ones to one output—I corrected it by using tribe_get_event_link($post) to get the first date’s link.
April 23, 2012 at 7:47 am #18140RobMemberThanks for the heads up here, Cliff.
Anthony: that help you at all?
May 10, 2012 at 7:14 am #18981Anthony D’ArcoParticipantSorry, in my delayed response, for some reason it stopped sending me updates via email when a new post occured. I’m not exactly sure where Cliff is referring to. The problem is I’m not using a custom loop, I’m using the widget (I apologize for my lack of knowledge because I suppose they could be the same thing). Overall, Henry’s is closer to the solution, but for the widget, there is an option (checkbox) excluded this event from widget. So, I don’t think that will quite work unless that option is included.
Thank you,
AnthonyMay 15, 2012 at 3:10 pm #19224RobMemberHi there Anthony. I’ve been away on vacation and apologize for the delayed response as a result on my end. Where do you see the setting to exclude this event from the widget? I’m not seeing that on my end anywhere…
-
AuthorPosts
- The topic ‘1970 Bug’ is closed to new replies.