• Resolved jontasc

    (@jontasc)


    Hi,

    When trying to save a recurring event I get a max execution timeout exceeded error. I tried increasing my timeout from 30 to 300 but it still eats up my processor and then times out after 300s.

    Any ideas?

    Thanks,

    Jon

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter jontasc

    (@jontasc)

    BTW, I looked at the code and the issue is an infinite loop on lin 29 of eme_recurrence.php

    I think it is because I had a one day event which started on the same day it ended, and then tried to make it recur. Anyway, I hacked in a quick fix with:

    `$i = 0;
    while (date("d-M-Y", $cycle_date) != date('d-M-Y', $end_date + $aDay) && ++$i < 500) {

    Probably not an optimal solution but it worked for my purposes.

    Jon

    I added extra checks to the just released version: if the end date was smaller than the start date, this could cause a loop, but not if they are the same. From now on end dates/times smaller than start date/times are no longer possible.

    Thread Starter jontasc

    (@jontasc)

    Thanks for the response!

    I’m using the most recent version:

    Version: 3.3.2

    Jon

    Release 3.3.3 is still being processed by wordpress, give it some time.

    Thread Starter jontasc

    (@jontasc)

    Oh ok, didn’t realize you had just committed a fix (thought you were referring to Version: 3.3.2).

    Thanks for your help!

    Jon

    Thread Starter jontasc

    (@jontasc)

    Would you accept patches to the code? I’m thinking of adding event thumbnail support since I have a client who requested it.

    If I end up doing this I’m happy to send you the changeset if you want it.

    Jon

    Sure, but please do post it on the official forum:
    http://www.e-dynamics.be/bbpress/
    and/or mail it to me: liedekef [at] telenet.be

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Events Manager Extended] Error creating recurring events’ is closed to new replies.