I'm trying to import a ical feed from google, with recurring events. This breaks things, as PHP times out :

Fatal error: Maximum execution time of 180 seconds exceeded in /home/www/test.skelund-veddum.dk/sites/all/modules/date/date_repeat/date_repeat_calc.inc on line 288

It breaks at different lines in date_repeat_calc every time it is run. So can't pinpoint exactly what is going on.

I have tried to set execution time limit to 300sec. instead of 180 sec. which then resulted in an internal error (500) from the apache webserver.

Example file is attached.

CommentFileSizeAuthor
basic.ics_.zip8.14 KBbowmo

Comments

ekes’s picture

Status: Active » Postponed

It's a date module issue. The ticket is #756134: Repeating events with too many occurences timeout; events without an end date (as valid in iCal) loop for ever / timeout

I'm going to keep this one here as postponed rather than make it dupe so it's obvious to others with the same issue. We can reopen if date can fix it, but I think it's pretty structural.

sdague’s picture

I actually believe the root issue for most people is #1105858: by day recurrance rules cause infinite loop if PHP4 compat code is *not* loaded. I found that I could fix the issue via commenting out the 4 lines linked in that issue.