Posted: February 19, 2013 at 2:29 pm
Calendar is not displaying now for some reason:
|
|
Hello Christian, Can you make sure you are on current versions of the plugin and add-ons? Also, what changed since the calendar was working previously? |
|
yes I am on current versions… I added additional events, deleted some old events …the calendar shortcode not displaying calendar now.. tried on several pages… |
|
You may have outdated template files in the wp-content/uploads/espresso/templates directory. You can test this by clicking the “Rename Templates Directory” button in Event Espresso > Template Settings. This can be undone via FTP is there is a problem. You can start with fresh templates from the newer version. If you have made modifications to the earlier version’s templates, you can copy the modifications into the newer version’s templates. When you’re finished, you can copy the modified files into /wp-content/uploads/espresso/templates. If you haven’t made any customizations, and you’re simply trying to update to the new version of Event Espresso, you can remove the templates from /wp-content/uploads/espresso/templates using FTP or your host’s control panel file manager. |
|
1) I have not customized any templates. |
|
Hi Christian, It looks like the query limit is being hit for your server, it might be running out of memory too. This can happen if there are a large number of events. Can you try changing the calendar shortcode to [ESPRESSO_CALENDAR show_expired=”false”] |
|
I adjusted the max php memory limit to 256mb … still not working. Here is a copy of the system status: Event Espresso version 3.1.30.7P
Settings |
|
Any limits would be set by your server. Have you tried changing the shortcode to: [ESPRESSO_CALENDAR show_expired=”false”] |
|
I have verified that it is not a memory issue or sql limit issue on the server. No php error codes. I have tried variations of the short code on this page and others. |
|
Hi Christian, If you set the WP memory limit to 256MB, your host’s setting will “win” if they’ve set it lower. It appears that this is happening because if you view the source of your calendar page you’ll see this information in the footer:
We are working on adding a feature that will limit the number of queries that the calendar page uses. You could try this out on your site by changing the SQL on line 259 of the current calendar add-on’s espresso-calendar.php to:
You might need to adjust the limit up or down. |
|
Hey Josh, I bumped up the ASC and maxed out at 256 .. this will display the calendar but not all the events . here is the footer query note: !– 340 queries in 3.871 seconds, using 54.88MB memory –> so currently I have 778 “events in the calendar… only 2/3 showing now… Here is the deal… basically your “multiiple time” feature is not working as advertised and thus I have to create separate events for time slots to be albe to manage tickets properly…because the cart does not accurately deduct tickets.. so it is forcing me to rig up this mess creating all these extra events .. see this topic for reference : Why am I paying for a premium plug-in and add-ons that don’t work ? I do appreciate your help and would like to get this plug-in working the way it should be. |
|
|
Are you using the color events on the calendar by categories feature? If not, you can comment out from line 273 to 285 in espresso-calendar.php. That should greatly reduce the number of queries. |
I did that Sidney… it reduced query’s : But still is not displaying my “1:00 Tour Times” event series |
|
Hi Christian, Have you tried raising the query limit on line 259 of espresso-calendar.php? You might even try reverting that back now that you’ve been able to reduce the queries with Sidney’s help. |
|
Look , I have changed the asc limit whatever that is to : How can this be so complicated? |
|
HI Christian, From what I’m looking at, your server is hitting a limit when it tries to pull all the events in the system before it displays the calendar. So when it hits the limit, the calendar does not display. By reducing the number of queries, we were able to help you make the calendar to display. Since you require to display more events than what appears to be within the limits of your server, I can recommend upgrading the server. Alternatively, you could assign the afternoon events to a separate category and display only those events on a second calendar page by using the calendar’s category shortcode parameter like this: [ESPRESSO_CALENDAR event_category_id=”afternoon_events_category_ID”] |
|
I have now verified this 2 x’s .. THERE IS NO QUERY LIMIT ON MY SERVER! I have checked with my hosting company . There are no limits… no error messages. the source code verifies it is only !– 78 queries in 3.757 seconds, using 57.44MB memory –> ….. so this does not add up. . can you please provide a real solution.? |
|
Hi Christian, Is there a memory limit on your server? This has come up before in this thread where you mentioned that you raised the WP memory limit to 256MB, but can you confirm that this is what you are actually getting? Is your host limiting the memory to 64MB? More queries will use more memory. When you change line 259 of espresso-calendar.php to:
what is the memory usage output in the footer’s source code? Is it above or below 64MB? |
|
below: max_execution_time = 30 |
|
is there a way that i can have people register for events and select event dates/times without needing the calendar to display ? |
|
Hi Christian, The php.ini can be overridden by the host, just one thing to be aware of. The [EVENT_LIST] shortcode will display a list of events that can be selected, as well as the shortcodes/table templates that are included with the custom files add-on. |
|
Josh, do i need to purchase premium support to get this working? I have confirmed the hosting requirements so this is not getting resolved . I just want to have 3 tour times daily for people to register for… don’t care about calendar ,etc… just need to register for available time slots |
|
Hi Christian, When you purchase a priority support token, we make it a priority to answer your questions sooner before other support requests. I will continue to try to help you either way. Back to the calendar issue: I think it’s worth trying to comment out a few more code blocks. Sidney had earlier suggested commenting out the colors feature: https://eventespresso.com/topic/calendar-not-displaying-2/#post-37287 which is 273-285 in espresso-calendar.php. I will also suggest commenting any/all of the following to reduce the load of the calendar: descriptions: lines 347-359 thumbnail images: 376-386 custom fields: 387-401 |
|
The support post ‘calendar not displaying’ 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.