This error has something to do with the date repeat function. If I have date repeat off I can create events and they display fine. If I use date repeated events the calendar hangs and times out. Unpublish or delete the repeated event the module works. This has been doing this in the last two nightly builds.

Maximum execution time of 30 seconds exceeded in /home/churchxx/public_html/sites/all/modules/date/date/date.theme on line 227

Comments

karens’s picture

Title: This is happening in since august 30th build » Maximum execution time in date.theme on line 227
Status: Active » Postponed (maintainer needs more info)

There are new releases of Date, Calendar, Views, and CCK and you need all of them. See if you still have a problem with the latest code. If so, update the message (the line number may change) and report more information about your setup like your version of PHP and details about the field you created that isn't working right -- type of field, type of widget, field and widget settings, etc.

patrickmedina’s picture

I have the same problem, as reported here: http://drupal.org/node/309155.
I have the last versions of all modules.

ctmiller’s picture

In the latest release this still occurs if I set a repeat that goes past the end of the year. I was trying to set a worship time for the next couple of years to save time. I got it to work by making the event repeat to the end of the year then doing it again for the next year.

karens’s picture

Status: Postponed (maintainer needs more info) » Fixed

This is probably the same problem as #309155: Same Problem: Timeout when using locale, which is hopefully now fixed in -dev. As noted there, the program is notably slower in PHP4 than in PHP5.2 because we have to use a lot of cumbersome wrapper code, but it shouldn't time out unless you are creating a huge number of repeating values.

As noted elsewhere, you will find that all of the date functions work better and much faster in PHP5.2, so if you have any control over this at all or if you can find a different host that uses PHP 5.2, you'll be happy you switched. Only PHP 5.2+ has the native date handling built in, earlier versions of PHP 5 don't.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.