Topic-icon Logout Error - Cannot logout

Active Subscriptions:

None
9 years 11 months ago #44093 by kaz78
I am using Joomla! 3.3.0 and the latest versions of JFBConnect (6.0.6) and SCLogin (4.0.6).

When trying to logout from my website, I get the below error:

"This is a non-secure form. This form will be sent in a way that is not secure. Are you sure you wan to send it?"

Then I have the option to click "Cancel" or "Send" and if I click "Send", it won't log me out.

Can you fix this / how can I fix this?

---

The website is oshow.com
See menu on the right top that says "ログイン" (=Login) or "ログアウト" (=Logout).

---

Thank you.
The topic has been locked.
Support Specialist
9 years 11 months ago #44097 by alzander
In the SCLogin settings, please enable the "Encrypt Login Form" option. That will ensure that the form is always submitted over https, which should prevent that message from showing.

I hope that helps, but if you need anything else, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 11 months ago #44099 by kaz78
Replied by kaz78 on topic Logout Error - Cannot logout
Thank you Alex.
I checked, but it was already "enabled".
I even disabled it once and re-enabled it, but it is still the same problem.
I am unable to logout.
And I get the same error.
What else can I do?
The topic has been locked.
Support Specialist
9 years 11 months ago #44116 by alzander
The logout form is showing up as follows in the code:
<form action="http://oshow.com/" method="post" id="sclogin-form">
Obviously, that's the non-https link to your site. I'm not sure why that's the case though, if you have the Encrypt Login Form setting enabled.

We're trying to determine the cause, but are unable to do so yet. Can you try enabling the standard Joomla mod_login form on your site and see if you have the same issues that you have with the SCLogin module? Our SCLogin module is based off the code from the mod_login module, with some obvious tweaks. The login and logout code is almost identical though, so I'm unsure why you'd have a problem with ours.. unless it's also happening in the standard login module.

Let me know your results as it will really help us narrow things down.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 11 months ago #44120 by kaz78
Replied by kaz78 on topic Logout Error - Cannot logout
Thank you Alex for looking into it.
I added the Joomla login / logout to the menu and it is working.
I will leave both menus on for the time being, so you can test it as well, but would like to take it down after you were able to test it.
Hope this helps narrow down the issue.
Thank you and looking forward to hearing from you.

Kaz
The topic has been locked.
Support Specialist
9 years 11 months ago #44132 by alzander
Kaz,
Do you have the "Encrypt Login Credentials" setting enabled in the mod_login module? From what I can see, you don't have that enabled.

Beyond that, can you:
* Let me know what browser you're seeing the error message "This is a non-secure form. This form will be sent in a way that is not secure. Are you sure you wan to send it?" in?
* Can you private message me admin credentials to your site so we can investigate the settings and options to better understand what's happening?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 11 months ago #44136 by kaz78
Replied by kaz78 on topic Logout Error - Cannot logout
Hi Alex,

I just checked and you were right, the "Encrypt Login Credentials" for mod_login module was not enabled. I enabled it and now I get the same error for both login modules...
I am using the latest version of Safari 7.0.3 on Mac OS Mavericks which is where I am seeing the error message.
I get the same error with Firefox.
In Chrome I don't get the error message, but also nothing happens when you click "login" (or "logout").

I think you signed up for an account yesterday on the site. I have given you Admin credentials for that account. Please try logging in.
I can setup a new account for you if necessary.

Hope we can get this resolved soon.

Thank you,

Kaz
The topic has been locked.
Support Specialist
9 years 11 months ago #44144 by alzander
Kaz,
This sounds like a bug in Joomla itself then and not something specific to Joomla or JFBConnect. What I'd recommend, for now, is disabling the "Encrypt Login Form" setting. What that should do is:
* Leave the form submitting in SSL (encrypting data) when you're on an SSL page
* On non-SSL Pages, the form will submit insecurely.

That may not be optimal, but it looks like the best solution for now since the Encrypt Credentials setting seems to be broken. That's a core feature of Joomla and not something specific in the SCLogin module (as you can see since the Joomla login module has the same issue). We'll try to investigate further and see what happened. It looks like a Joomla 3.3.0 issue, but I don't have any more details than that right now.

I hope that helps explain,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 11 months ago #44171 by kaz78
Replied by kaz78 on topic Logout Error - Cannot logout
Ok, thanks Alex. If you could kindly further investigate this issue, I would appreciate it.
I will in the meantime disable the "Encrypt Login Form" setting as you suggested.
If you make any new findings or progress, or resolve the issue, can you kindly post again to this topic.
Thank you for your support.
The topic has been locked.