Hi.
First of all thank You for such a good project.
I missed it a lot in all of the modules available in D7 extensions.
I've implemented module on multilingual website, and it works gorgeous, except one thing.
After logout from admin panel, i'm receiving error code, right below footer.
Error appears only on that page, where logout was made from. And its visible to regular users also.
After cleaning cache (from another browser) error gone.
It was saying something about undefined function in line 180.module
I have commented those line, to keep error gone, but i know its not a solution.
/**
* Implementation of hook_exit()
* store current request page to user session
*/
/*function beanstag_exit($destination = NULL) {
if (user_access('administer beanstag') && (!isset($_REQUEST['render']) || $_REQUEST['render'] != 'overlay')) {
$_SESSION['last_request_page'] = request_path() ? request_path() : '<front>';
}
}
*/
Keep up with great job!
Good luck
Comments
Comment #1
ykyuen CreditAttribution: ykyuen commentedWhat language detection you used? i tried URL as detection method but couldn't reproduce the problem.
And line 180 is
the only function here is user_access(). i found a similar problem which is quite similar to ours.
Fatal error: Call to undefined function user_access() inmodules/browscap/browscap.module on line 99
I think we can load the user module inside the hook_exit(). Could u please check if the following new function can fix the problem?
Comment #2
noizo CreditAttribution: noizo commentedHi, i used session and user language detection.
I will try and give a feedback.
Comment #3
ykyuen CreditAttribution: ykyuen commentedcode commited.