I get following error:
Fatal error: Call to undefined function signup_send_broadcast() in ***/sites/all/modules/signup_status/signup_status.module on line 324
Running on shared hosting
Drupal 6.12
PHP 5.2.9 (cgi-fcgi)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 489270-3.signup_status_include_broadcast.patch | 681 bytes | dww |
Comments
Comment #1
dwwThat's a signup_status bug, then... It's using a function that's not included by default without loading the proper .inc file.
Comment #2
scubasmurf commented+1
Comment #3
dwwI can't reproduce this locally, but the attached patch should solve it. Can someone experiencing this bug please confirm that this patch makes your problem go away? It's against the latest signup_status.module in HEAD, though it will hopefully apply cleanly to an older copy...
Comment #4
scubasmurf commentedTested, sorry no luck fixing the problem (for me anyway). I uninstalled Signup Status and the broadcast works fine now.
Comment #5
dww@scubasmurf, What's the top of your copy of signup_status.module look like? E.g.:
What exact version of signup are you using? Tops of both signup.module and includes/broadcast.inc would be helpful, e.g.:
Comment #6
scubasmurf commented// $Id: signup_status.module,v 1.19 2009/08/17 22:15:40 dww Exp $
// $Id: signup.module,v 1.205.2.6 2008/12/20 06:31:27 dww Exp $
// $Id: broadcast.inc,v 1.1.2.1 2008/12/20 04:28:56 dww Exp $
Error message now reads:
Fatal error: Call to undefined function signup_send_broadcast() in /modules/signup_status/signup_status.module on line 328
Comment #7
dww@scubasmurf: with or without my patch from #3 applied?
Comment #8
scubasmurf commentedWith your patch applied.
Comment #9
dww@scubasmurf: I don't believe you. ;) If you have singup_status.module version
// $Id: signup_status.module,v 1.19 2009/08/17 22:15:40 dww Exp $and apply my patch, line 328 becomes:So, either you're patching the wrong copy of signup_status or something equivalent. It's simply impossible to get the error you're seeing based on the information you've told me.
Comment #10
scubasmurf commentedI overly summarised post #8. I hadn't applied your patch when I wrote post #6, but I had by the time I wrote post #8. With the latest version of Signup Status and your patch the error shifted to line 329 if I recall correctly.
Sorry for causing confusion. My bad.
Comment #11
dwwI still don't see how it's possible. We *just* loaded the include file. How can this still be an undefined function?
On a whim: can you try upgrading to the latest (secure) version of D6 core: 6.13? Maybe that somehow effects this...
Otherwise, can you provide more info about your site configuration? What kind of caching is enabled? What user are you trying this as? Etc...
Comment #12
scubasmurf commentedUpdated to latest dev version of Signup and Signup Status, didn't apply the patch. Seams to be working just fine.
Thank you for your help.
Comment #13
dww*sigh*
Anyway, I committed my patch to HEAD. It can't really hurt, and it might actually defend us from something crazy in the future.