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.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | bouncer-module-316265-5.patch | 7.05 KB | skiminki |
Comments
Comment #1
skiminki commentedDo 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.
Comment #2
number3 commentedI'm using "Date API 5.x-2.3" and "Date 5.x-2.3"
Comment #3
betsyj commentedPlease, can anyone tell me where to find date_load function?
Comment #4
skcombs commentedI am seeing the same error with the same version of Date_API
Comment #5
skiminki commentedOk, 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.