I get a fatal error when I go to http://..../bouncer/reports on line 268 of the bouncer.module script. The error messages is

Fatal error: Call to undefined function date_load() in /..../bouncer/bouncer.module on line 268

I was unable to find the date_load function in the the Drupal 5 API.

CommentFileSizeAuthor
#5 bouncer-module-316265-5.patch7.05 KBskiminki

Comments

skiminki’s picture

Do you have Date API (http://drupal.org/project/date) module loaded? If so, which version? Date API is required by bouncer reports.

I had Date API 1.8 when implementing bouncer, but I'd guess that 2.3 should work too.

number3’s picture

I'm using "Date API 5.x-2.3" and "Date 5.x-2.3"

betsyj’s picture

Please, can anyone tell me where to find date_load function?

skcombs’s picture

I am seeing the same error with the same version of Date_API

skiminki’s picture

Status: Active » Needs work
StatusFileSize
new7.05 KB

Ok, looked into it. The bottom line: Date API 2.x is not backwards compatible with 1.x. This module is probably not the only one that got broken by this. Well anyway, attached is a patch that makes bouncer compatible with Date API 2.3.

Note that this patch works for me and it just might work for you too. Not too much testing though. It might work even with Date API 1.x too, but haven't tested that either. I'm going to revisit this patch before committing into CVS.