Home › Forums › Calendar Products › Events Calendar PRO › Date Picker | AJAX Broken
- This topic has 8 replies, 2 voices, and was last updated 8 years, 10 months ago by
Joe.
-
AuthorPosts
-
June 4, 2017 at 11:25 pm #1293082
Joe
ParticipantHi there,
We updated to the latest version of the plugin today and since then, the date picker on the front end has stopped working.
I have attached a screenshot, but basically it fails to initialise admin-ajax.php properly.
We’ve also tried disabling the AJAX date picker option but it doesn’t fix the problem.
Any ideas?
Thanks.
June 8, 2017 at 12:52 am #1295057Joe
ParticipantHey guys,
Any update on this? It’s been several days with no reply..
Cheers.
June 8, 2017 at 7:52 am #1295197Barry
MemberOur apologies for the delay, Joe.
When I visit your site and test this myself, it seems that an attempt is made to redirect the ajax request (to the site homepage), which is very unusual. You noted trying to disable the ajax datepicker, I wonder if this is the result of those efforts?
I do also see that when you opened this topic you indicated having performed our regular troubleshooting steps – ie, switching to a default theme such as Twenty Seventeen and deactivating all other plugins except for The Events Calendar. Did you find the problem was resolved when you did this?
If so, did you find that your theme, or a specific plugin, when reactivated triggered the problem?
Thanks!
June 8, 2017 at 7:15 pm #1295533Joe
ParticipantHi Barry,
Yes we tried these steps, the issue was not resolved.
The search by keyword works fine and it’s using AJAX, so we can’t understand why the filtering by date wouldn’t work also.
Can you offer any additional suggestions beyond the basic troubleshooting steps which I have now told you twice, we’ve completed.
Thanks.
June 8, 2017 at 9:11 pm #1295586Barry
MemberHi Joe,
Can you offer any additional suggestions beyond the basic troubleshooting steps which I have now told you twice, we’ve completed.
Well I appreciate you confirming 🙂
My intent wasn’t to antagonize you, of course: we know from experience that many users don’t accurately answer those questions when initially creating new support topics and, even when they have, it isn’t always clear what the outcome of those testing steps was. Getting clarity on this was my only goal.
Following from my last post, can you confirm how you went about disabling the ajax date picker and let me know if that customization is still in place?
Could you also try enabling WP_DEBUG and SCRIPT_DEBUG and let me know when those are in place, so I can take another look?
Thanks!
June 8, 2017 at 10:29 pm #1295617Joe
ParticipantHi Barry,
No worries, we simply tried disabling AJAX using the native setting under Events > Settings.
The setting in question: Use Javascript to control date filtering.. We’ve now switched it back on as it didn’t fix the problem.
It seems like AJAX is being used even when we disable it, it just relies on the ‘Submit’ button instead when ‘disabled’.
For now I have enabled both WP_DEBUG and SCRIPT_DEBUG.
Cheers mate.
June 9, 2017 at 6:43 am #1295714Barry
MemberThanks for setting that up, unfortunately that hasn’t revealed anything else.
Given we cannot replicate this and there aren’t other comparable reports coming in from other users, this still looks like some sort of conflict that is specific to your own site.
To that end, I wonder if we can tackle this from a different angle: can you create a fresh testing site (this could, ultimately, be as simple as a sub-directory installation of WordPress – ie example.com/test-site) and initially install only our plugins and nothing else (please use a default theme such as Twenty Seventeen) and create a few events.
Within that fresh test site, do you see the same issue? If you do, please pause and provide a link so we can take a look. If you do not, however, please proceed by adding and activating the same plugins and ultimately the same theme as you have on your live site. Do any of these newly added components trigger the problem?
This is similar to the initial base troubleshooting steps we generally recommend, but can often help us to isolate a conflict in cases where they are missed via the traditional steps.
July 1, 2017 at 9:35 am #1314946Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Date Picker | AJAX Broken’ is closed to new replies.
