Closed (fixed)
Project:
Signup
Version:
5.x-2.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
23 Apr 2007 at 03:44 UTC
Updated:
24 May 2007 at 07:32 UTC
Jump to comment: Most recent file
I'm not quite sure why this occurs, but when logging out I now get this PHP error from the signup module:
Fatal error: Call to undefined function: drupal_get_path() in /home/kairosch/public_html/modules/signup/signup.module on line 4
Hopefully I'll be able to come back and add more information... an explain why it occurs.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | signup_theme_include.patch.txt | 948 bytes | dww |
Comments
Comment #1
nautiazn85 commentedHere's our website url: http://www.kairoschurch.org
Here's the error logs:
[22-Apr-2007 18:22:08] PHP Fatal error: Call to undefined function: drupal_get
_path() in /modules/signup/signup.module on line 4
[22-Apr-2007 21:36:16] PHP Fatal error: Call to undefined function: drupal_get
_path() in /modules/signup/signup.module on line 4
[22-Apr-2007 21:36:21] PHP Fatal error: Call to undefined function: drupal_get
_path() in /modules/signup/signup.module on line 4
[22-Apr-2007 21:36:25] PHP Fatal error: Call to undefined function: drupal_get
_path() in /modules/signup/signup.module on line 4
[22-Apr-2007 21:36:28] PHP Fatal error: Call to undefined function: drupal_get
_path() in /modules/signup/signup.module on line 4
[22-Apr-2007 21:36:29] PHP Fatal error: Call to undefined function: drupal_get
_path() in /modules/signup/signup.module on line 4
[22-Apr-2007 21:36:41] PHP Fatal error: Call to undefined function: drupal_get
_path() in /modules/signup/signup.module on line 4
[22-Apr-2007 21:39:18] PHP Fatal error: Call to undefined function: drupal_get
_path() in /modules/signup/signup.module on line 4
[22-Apr-2007 21:39:25] PHP Fatal error: Call to undefined function: drupal_get
_path() in /modules/signup/signup.module on line 4
[22-Apr-2007 21:39:28] PHP Fatal error: Call to undefined function: drupal_get
_path() in /modules/signup/signup.module on line 4
[22-Apr-2007 21:39:33] PHP Fatal error: Call to undefined function: drupal_get
_path() in /modules/signup/signup.module on line 4
[22-Apr-2007 21:39:35] PHP Fatal error: Call to undefined function: drupal_get
_path() in /modules/signup/signup.module on line 4
[22-Apr-2007 21:39:42] PHP Fatal error: Call to undefined function: drupal_get
_path() in /modules/signup/signup.module on line 4
Comment #2
nautiazn85 commentedI fixed it temporarily by giving it the absolute uri. Until we can get a better fix...
Comment #3
dwwi can't reproduce this error at all, regardless of how much caching i turn on (none, regular, or aggressive) on a local test site running php4. can you provide more details about the configuration of your site? (php version, caching mode, etc).
also, does this only happen with 5.x-2.0 or can you reproduce it with 5.x-1.0, too?
thanks,
-derek
Comment #4
dwwi still can't reproduce the error on a test site, but the attached patch should solve it, and is a better way to handle signup.theme, anyway. please apply this patch to your site and see if the problem goes away.
Comment #5
add1sun commentedI managed to recreate this with regular caching enabled on PHP 4.4 and 5.2. Applied the patch (with fuzz) and it cleared the error so I'm marking this RTBC.
Comment #6
dwwthanks for testing, add1sun. committed to HEAD (for the 5.x-2.* series), DRUPAL-5, and DRUPAL-4-7.
Comment #7
(not verified) commented