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.

CommentFileSizeAuthor
#10 secure_site-ensure_module_weight-419924-9.patch1.4 KBAaronBauman
#8 email_login_integration.patch3.07 KBAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yareckon’s picture

The "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.

wOOge’s picture

Adding my voice to this issue as well — same problem here.

robonoob’s picture

subscribing.

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.

skizzo’s picture

[edit] removing previous Reply

joelstein’s picture

Here's another issue between Secure Site and LoginToboggan: #607152: declare #validate and #submit for consistency.

capellic’s picture

Same problem.

iNade’s picture

Same here for toboggan or email registration module.

Anonymous’s picture

Made a 6.x-2.4 patch to allow login by email and therefore the integration with email registration or login toboggan

pepe631’s picture

Issue summary: View changes

I 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

if ($name = db_query("SELECT name FROM {users} WHERE LOWER(mail) = LOWER('%s')", array('mail' => $_POST['name']))->fetchField()) {
        $_POST['name'] = $name;
        }

but I am not very good in this codes :D ... it is still not working... please, can you help? thanks

AaronBauman’s picture

Version: 6.x-2.2 » 7.x-2.x-dev
Category: Support request » Bug report
Status: Active » Needs review
FileSize
1.4 KB

Here's an updated patch.
Still doesn't fix the redirect loop issue for me though...