Topic-icon Login button does not function

Active Subscriptions:

None
8 years 1 month ago #57282 by turaba
I use modal popup. Recently I realized that "Login" button does not function. I recently I changed the development directory name but when I use Auto tune, at the final stage I see the old directory name exists. Could it be a problem? I am using "Site Lock" when you need to look at it I need to unlock it for you. Thanks. Turgut
The topic has been locked.
Active Subscriptions:

None
8 years 1 month ago #57283 by turaba
Also recently I updated .htaccess file by using Admin Tools.
The topic has been locked.
Active Subscriptions:

None
8 years 1 month ago #57284 by turaba
Joomla login module works normally.
The topic has been locked.
Active Subscriptions:

None
8 years 1 month ago #57285 by warchop
I have the same issue. Login button no longer working.
The topic has been locked.
Support Specialist
8 years 1 month ago #57289 by mel
Replied by mel on topic Login button does not function
There are two common causes for the modal popup to not work properly:
1. The Javascript for the modal may not be included properly on the page. This can occur if there's any compression on the page from your template or from an extension like JCH Optimize. If you have this enabled for your site, please disable temporarily to see if that helps with the behavior.
2. There are options in JFBConnect and SCLogin for Load JQuery. Please try enabling the option in JFBConnect first to see if there is any effect.

Are there any errors on the console? Are there any PHP errors on the page?

This should help to start narrow down the problem, so let us know.

-Melissa
The topic has been locked.
Support Specialist
8 years 1 month ago #57291 by alzander

Also recently I updated .htaccess file by using Admin Tools.

This is likely the issue. If you are using 2 factor authentication on your site, you'll need to make sure that the following file is accessible from a browser:
/modules/mod_sclogin/ajax/otpcheck.php

If that file can't be accessed, the check if the user should be shown the Code field can't be checked and the long process will just hang.

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

None
8 years 1 month ago - 8 years 1 month ago #57293 by turaba
Dear Melissa,

There are few places Javascript used i.e. JCE Editor, Jreview, I tried all enabling and disabling against the setting with JFBConnect and SCLogin, it did not help. I do not see any error messages anywhere either back end or front end. However as soon as I click on Login button I get pop up window asking to record the password but it does go not further. Thanks
Last edit: 8 years 1 month ago by turaba.
The topic has been locked.
Active Subscriptions:

None
8 years 1 month ago #57294 by turaba
Hi Alex,

I am not using 2 factor authentication even though it is enabled but not set.

I am not sure how I can check the path to the file from the browser. I tried to seek the code in the file through "view source" function, I cannot see it is accessible.
The topic has been locked.
Support Specialist
8 years 1 month ago #57300 by alzander
To test, just go to:
<Path to your website>/modules/mod_sclogin/ajax/otpcheck.php
If that throws a forbidden, 403 or other error that the page won't load, that means there's a restriction that's preventing a browser from loading the page.

You should see a blank white page with something like:
{"needsOtp":"false","form":""}

If you're not getting the right response, you'll need to fix whatever is restricting that page from loading.

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

None
8 years 1 month ago #57310 by turaba
Yes I am getting the 403 error as seen in the image attached. What could be the reason?
The topic has been locked.