Home › Forums › Calendar Products › Events Calendar PRO › Month view – next or previous month link -> empty calendar
- This topic has 14 replies, 5 voices, and was last updated 12 years, 3 months ago by
Krzysztof.
-
AuthorPosts
-
December 29, 2013 at 12:56 pm #84695
Krzysztof
ParticipantMonth view is empty when I use next/previous link (or search bar). There are no events and no days grid. Source code is ok.
After reload events and grid are visible.December 31, 2013 at 12:38 pm #85182Chris
ParticipantHi there,
Can you paste your System Info from the Events → Help admin screen-Chris
December 31, 2013 at 3:02 pm #85288Stew
ParticipantI also have this issue. Works fine when moving from 2013-12 to 2014-01, but fails when in going from 2014-01 to 2014-02. When I pulled a trace, the only thing that popped out to me was that the ajax calls are different between the two.
Good ajax call:
action=tribe_calendar&eventDate=2014-01&tribe-bar-date=2014-01
Bad ajax call:
action=tribe_calendar&eventDate=2014-02&tribe-bar-date=2014-03If I refresh the screen manually and/or direct navigate to the link – works fine so seems to be tied to the ajax call (at least for me).
December 31, 2013 at 3:03 pm #85289Stew
ParticipantThis reply is private.
December 31, 2013 at 3:45 pm #85295Chris
ParticipantCan you try deleting W3 Total Cache’s cache, then delete it completely from your server (it still caches even when deactivated).
January 2, 2014 at 12:21 am #85519Krzysztof
ParticipantThis reply is private.
January 3, 2014 at 2:24 am #86051Krzysztof
ParticipantThis reply is private.
January 3, 2014 at 6:13 am #86080Beth
ParticipantI have had similar issues related to using multisite and subdirectory sites. I am curious if what Stew and Krzysztof did solved the problem for them.
January 7, 2014 at 5:13 am #87753Krzysztof
ParticipantIt’s not multisite installation and is in root directory.
Have you got any idea?? I can’t wait too long, I have to publish this site very soon.January 8, 2014 at 2:33 pm #88833Brook
ParticipantHowdy Krzystof,
I am ashamed you have had to wait this long for a response. I am taking over this thread now and I promise some prompt responses.
Ultimately this issue boils down to an easily identifiable problem. When a month view ajax request is sent html comes back null, as see in the following response:
{"html":null,"success":true,"view":"month"}Now the hard question, why is this happening? I have been examining your site thoroughly with my development tools, and comparing it to a test server. All of the headers are sent correctly. This only leaves one possible explanation, something is overriding the calendar view before it reaches you. The relevant PHP function is calendar_ajax_call(). After considering all this I am curious if you could try the following:
1) I see you have created a custom Tribe template. Could you try temporarily disabling it? You might just move it on the server to a new directory, or delete it for now and reupload it later if you have a local copy. Once disabled see if month view now works. Does that fix it? If so, it is likely that something within the view /month/content.php that is causing an issue. If you are having trouble figuring out what, mind sending us a copy of your over-rides so we can look through the source code? A private message here with a link to a download copy, or by emailing them as a zipped attachment to [email protected] would work great.
2) If that did not solve the problem, let us try disabling plugins again and the default theme. I know you did this once already, did that fix it? If it does fix it, let us try reenabling these one at a time, and testing the month view in between each. Likely after enabling one of them we will see the issue crop up. Just let us know which plugin that is, and we can isolate the conflict.
Again, I apologize for the past delay. I want to help you publish this site on schedule if possible. Please get back to me once you have tried the above. Thanks!
Pete & Stew, you guys both appear to be facing issues that are distinct from this one. Would you mind creating your own threads along with the relevant details, and maybe a copy of your system info? That will help us to address your problems specifically. Thanks guys! I am sorry you guys have been waiting on this as well.
– Brook
January 9, 2014 at 7:20 am #89267Krzysztof
ParticipantI’ve removed whole override directory from my theme. Also I removed code snippets [replacing datetime separator “@” and changing date format for day view -> BTW: I didn’t found snippet changing time format (from AM/PM to 24h) in day view] for TEC. Unfortunatelly the problem wasn’t solved.
So I deactivated all plugins and switched to Twenty Twelve theme.
Month calendar: http://www.kultura.itarnow.pl/wydarzenia/
(System info in private message)
January 9, 2014 at 7:21 am #89269Krzysztof
ParticipantI’ve removed whole override directory from my theme. Also I removed code snippets [replacing datetime separator “@” and changing date format for day view -> BTW: I didn’t found snippet changing time format (from AM/PM to 24h) in day view] for TEC. Unfortunatelly the problem wasn’t solved.
So I deactivated all plugins and switched to Twenty Twelve theme.
(System info in private message)
January 9, 2014 at 7:23 am #89271Krzysztof
ParticipantThis reply is private.
January 9, 2014 at 2:20 pm #89580Brook
ParticipantHowdy Krzysztof,
Thank you for reverting back. This is a huge help. It is hard to believe that this issue persists, but this goes a long way towards narrowing down the problem. Before getting back to you I had another of our developers take a look at your site, and he came to the same conclusion I have.
If you no longer have any overrides in play, then it seems that your install must have somehow become corrupted. Or, an extremely remote possibility is that your server is somehow conflicting with month view.
To test whether your install has been corrupted we should reinstall some things. First of all, backup your Database and files just in case something goes wrong. There is an easy way that would likely correct a corrupted install, or a slightly harder way that definitely would. If you want to try the easy way first and see if that fixes it, I would not blame you.
Easy way: Using a file transfer program like FTP, try deleting our plugin folders and then download fresh copies, extract them, and upload them to the plugin folder. This alone might fix it so it is worth double checking to see if that resolved it. If not, delete any default WP themes from your theme directory, such as TwentyTwelve. Now, download WP, extract it, and upload it to the server. Make sure to check whatever box you need to override files on the server. Now upload the wp-config.php file from your backup overtop the default WP one. Test the site to see if the issue persists.
Harder way: Delete every WP file on your server, except the wp-content folder and and the files within. Inside wp-content delete your plugins and upgrade directories. Inside your theme directory delete everything except your custom theme(s). Make sure to delete WP default themes like twentytwelve. Now, upload a freshly extracted copy of WP. From your backup, upload your wp-config.php file. Then, upload for now just the Event plugin and the Pro addon. Test again. If fixed, add your plugins and custom theme in one by one, testing in between to make sure the error has resolved.
If neither of those options fixes that would be even more surprising. There might be a few more things we could try at that stage, that would require your admin credentials and preferably FTP ones as well. So please let us know what comes of this.
Please let me know if you have any questions. Thanks!
Edit: Updated the guide at 10:30pm GMT to add some steps involving wp-config.
– Brook
January 13, 2014 at 1:01 am #90903Krzysztof
ParticipantEven most extremely remote possibility sometimes happens 🙂 It was server configuration. Site working fine on two others hosting platforms.
I really thank you for your time, Brook. -
AuthorPosts
- The topic ‘Month view – next or previous month link -> empty calendar’ is closed to new replies.
