Closed (fixed)
Project:
443 Session
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2011 at 21:55 UTC
Updated:
4 Aug 2011 at 13:11 UTC
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
)
| Comment | File | Size | Author |
|---|---|---|---|
| session443-include.patch | 537 bytes | roderik |
Comments
Comment #1
dalinHi 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().
Comment #2
feuillet commentedHit the same bug. Dalins fix solved the problem. Wait for the release for the clean one from #1.
Thanks for the great module!