Support

Home Forums Events Calendar Add-on Calendar won't show

Calendar won't show

Posted: December 3, 2012 at 1:02 am

Viewing 13 reply threads


Ben Stokes

December 3, 2012 at 1:02 am

The calendar won’t show on my page.

When I insert the following code: [RAW][ESPRESSO_CALENDAR][/RAW]

It makes the entire content of the page disappear.

I have tried disabling plugins, using the default theme, etc.

Any suggestions? It seems like quite a lot of people are having this problem.

Here is the link to the page: http://bit.ly/YGv2xO

Thank you


Ben Stokes

December 3, 2012 at 1:21 am

Also, this isn’t due to the current JS error in console, if I fix that error the calendar still doesn’t show.

Thanks.


Dean

December 3, 2012 at 4:48 am

Hi Ben,

Well the main cause of the calendar not showing is javascript conflicts or having the script surrounded in

<

p> tags, neither of which I can see now that you have advised you have clarified that js error.

Is it possible to get your login details in order to look into this?

If so, please send them via https://eventespresso.com/contact/

Choose the “I am sending login info as requested” option and fill out the form

Please make sure you add the forum post link to aid us in case another team member picks up the email.

NOTE: login details need to be Admin level.


Ben Stokes

December 3, 2012 at 8:18 am

I’ll try get this over tomorrow, the thing that I find weird is that the calendar displays on a sidebar if I enable it via a Widget.


Ben Stokes

December 3, 2012 at 8:49 am

One more thing I’ve just found.. if I use a category ID that doesn’t exist, it shows the calendar with no events.. as it should, if I use a category ID that does exist, the calendar doesn’t exist, its just an empty page with the theme and the header tag..

[RAW][ESPRESSO_CALENDAR event_category_id=”1″][/RAW]


Ben Stokes

December 3, 2012 at 9:24 am

Just wanted to let you know, I’ve narrowed down the issue to this line: events: json_encode(events)... of espresso-calendar.php When my events are returned, they are causing the whole output buffer to break, in turn returning blank for the espresso calendar function. I am guessing there is something wrong with the event data that is being returned, I will keep looking into this and give you a heads up when I have pinpointed the issue.


Ben Stokes

December 3, 2012 at 9:40 am

This is definately something to do with the returning of the events data array, either it is returning too many results, the page is timing out, I’m not too sure.

Surely someone else must of had this problem.

I will keep looking into this.


Dean

December 4, 2012 at 1:30 am

Hi Ben,

Never got login details from you but I had another look at the site and the calendar is there.

Yes there are a lot of items which could be an issue, though I never had/saw a slow load time or time out.

On a side note: with the category don’t use the category id, use the unique identifier.


Kieryn Barton

December 5, 2012 at 5:50 am

Dean,

We are experiencing the same error with our site. If we specify a categoryid that doesn’t exist a blank calendar appears, but otherwise no calendar appears. I have tried [RAW] and [raw] but no difference. I have also tried the download and upload the fullcalendar.min.js with no change.

URL is
http://www.lakesfitness.net.au/booking-calendar/

Is there anything else I can try?

Thanks,
PB


Dean

December 5, 2012 at 7:31 am

@Kieryn. Well it is likely to be the Jquery being loaded by the theme is old. The current version that should be loaded is 1.7.2 (although that will change shortly to 1.8 with WordPress 3.5) and your theme is loading 1.6.2.

I would get that resolved first and see if it resolves the calendar issue.

You can contact the theme developer to resolve it, especially if it is a premium theme, or you can look to the functions.php


Kieryn Barton

December 8, 2012 at 5:58 am

Hi Dean,

I have obtained a new copy of the theme from the developer but still not working. Can you advise?

Thanks,
PB.


Dean

December 10, 2012 at 12:42 am

Is it possible to get your login details in order to look into this?

If so, please send them via https://eventespresso.com/contact/

Choose the “I am sending login info as requested” option and fill out the form

Please make sure you add the forum post link to aid us in case another team member picks up the email.

NOTE: login details need to be Admin level.


Josh

  • Support Staff

December 11, 2012 at 12:19 pm

Hi Phil,

Depending on how many queries are allowed by the host, it can end up going over the limit when there are a lot of events in the system, and the calendar will not display. In this case, setting the calendar to not display expired events reduced the number of events/queries so that the calendar is displaying again. The shortcode that sets the expired events to not display on the calendar is:

[ESPRESSO_CALENDAR show_expired=”false”]


rmattis

December 17, 2012 at 1:47 pm

Thanks Josh, for the record we had the same problem and changing the shortcode as you suggest did the trick.
-Stan

Viewing 13 reply threads

The support post ‘Calendar won't show’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso