When
- session443 is enabled
- I'm an authenticated user
- I'm using an HTTP connection
- and session443_boot wants to redirect me....

I get an error "Call to undefined function drupal_get_path_alias() in /data/www/drupal/6/sites/all/modules/session443/session443.module on line 288"

=> we should include path.inc somewhere.
I wasn't exactly sure what was the right location, I tried to keep it from being included unnecesarily in session443_boot()...

(call stack:
session443_boot
session443_redirect_if_neccesary
_session443_redirect
_session443_is_ignored_page
_session443_match_path
)

CommentFileSizeAuthor
session443-include.patch537 bytesroderik

Comments

dalin’s picture

Status: Needs review » Fixed

Hi roderik. This makes total sense (not quite sure why I didn't hit this bug). Though I don't think it was the right place for the require. I moved it to _session443_match_path() with a wrap in function_exists().

feuillet’s picture

Hit the same bug. Dalins fix solved the problem. Wait for the release for the clean one from #1.

Thanks for the great module!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.