Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After installing Securesite I experienced the following problems:
1) when using "HTML form" I get a blank page instead of login form, and following error
PHP Fatal error: Unsupported operand types in /var/www/drupal/sites/all/modules/logintoboggan/logintoboggan.module on line 175
2) when using "HTTP Basic" then I can login, but cannot logout
DIsabling logintoboggan I see the expected Securesite behaviour.
Are the two incompatible? Thank you.
Comment | File | Size | Author |
---|---|---|---|
#10 | secure_site-ensure_module_weight-419924-9.patch | 1.4 KB | AaronBauman |
#8 | email_login_integration.patch | 3.07 KB | Anonymous (not verified) |
Comments
Comment #1
yareckon CreditAttribution: yareckon commentedThe "HTML Form"method is indeed broken when used with logintoboggan. I get the same error.
With "HTTP Basic" what you are experiencing is that when you hit logout, you are suddenly being redirected by logintaboggan to a login page, as you don't have access to the content you are on when not logged in. This 403 is re-triggering http authentication. It asks you for your password again, but it in fact is logging you out, it's just immediately offering to log you back in in a loop between these two modules.
Comment #2
wOOge CreditAttribution: wOOge commentedAdding my voice to this issue as well — same problem here.
Comment #3
robonoob CreditAttribution: robonoob commentedsubscribing.
It shows "You have not been authorized to log in to secured pages." when I login with users other that super user (UID=1)
And while I disable SecureSite, everything is back to expected.
Comment #4
skizzo CreditAttribution: skizzo commented[edit] removing previous Reply
Comment #5
joelstein CreditAttribution: joelstein commentedHere's another issue between Secure Site and LoginToboggan: #607152: declare #validate and #submit for consistency.
Comment #6
capellicSame problem.
Comment #7
iNade CreditAttribution: iNade commentedSame here for toboggan or email registration module.
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commentedMade a 6.x-2.4 patch to allow login by email and therefore the integration with email registration or login toboggan
Comment #9
pepe631 CreditAttribution: pepe631 commentedI tried this patch on Secure Site version: 7.x-2.0-beta3, because I am having the same problem. But now after login I get message like this: "Fatal error: Call to undefined function db_result() in ...sites/all/modules/securesite/securesite.inc on line 29" ... the line 29 is where patch starts with
if ($name = db_result(db_query("SELECT name FROM {users} WHERE LOWER(mail) = LOWER('%s')", $_POST['name']))) {
I have tried to do something like
but I am not very good in this codes :D ... it is still not working... please, can you help? thanks
Comment #10
AaronBaumanHere's an updated patch.
Still doesn't fix the redirect loop issue for me though...