I have signup-5.x-2.2 and event-5.x-2.x-dev. This combination causes cron to die because event_where_utc() isn't defined. Looks like you need to call even_include_files() at some point to get all the event related infrastructre in place.

I'm including a patch file that works for me but probably isn't the best fix.

CommentFileSizeAuthor
event_include_files.patch932 bytesbkat

Comments

dww’s picture

Status: Active » Closed (duplicate)

Ugh, sorry. This has been long fixed... see http://drupal.org/node/169372

I *really* need to make another official release of signup, but that's now blocked on this rather serious bug:
http://drupal.org/node/163257

If you can help out in there, that'd be much appreciated.

Thanks,
-Derek

hansrossel’s picture

Version: 5.x-2.2 » 5.x-2.3
Status: Closed (duplicate) » Active

I don't think it's a duplicate as the error of node/169372 has been fixed in version 5.x-2.3 but the above error is still there in version 5.x-2.3.

I could solve it with the above patch.

dww’s picture

Version: 5.x-2.3 » 5.x-2.x-dev
Status: Active » Fixed

Oh, so sorry. :( I just saw the title, skimmed the issue, and didn't read the patch. My bad. Yes, this was indeed broken. However, the patch was wrong since it was only calling event_include_files() in the mysql case, not pgsql -- we really want that called at the top of each function invoked by cron. Also, we don't need those comments in front of the calls to event_include_files(). So, I committed a modified version of the patch to HEAD. It'll be out in 5.x-2.4. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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