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.

CommentFileSizeAuthor
#4 signup_theme_include.patch.txt948 bytesdww

Comments

nautiazn85’s picture

Here'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

nautiazn85’s picture

I fixed it temporarily by giving it the absolute uri. Until we can get a better fix...

dww’s picture

Status: Active » Postponed (maintainer needs more info)

i 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

dww’s picture

Assigned: Unassigned » dww
Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new948 bytes

i 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.

add1sun’s picture

Status: Needs review » Reviewed & tested by the community

I 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.

dww’s picture

Status: Reviewed & tested by the community » Fixed

thanks for testing, add1sun. committed to HEAD (for the 5.x-2.* series), DRUPAL-5, and DRUPAL-4-7.

Anonymous’s picture

Status: Fixed » Closed (fixed)