Topic-icon SC Login wont work, but Joomla login does

Support Specialist
7 years 5 months ago #64925 by alzander
JFBConnect can work with standard Joomla login module. Our social login buttons can easily be added to that module or in other locations that you may want them that don't necessarily have to have a Joomla login area. The SCLogin module can be added and set to not show the login form, we have our 'easy tag' system where you can add {JFBCLogin} anywhere to the site and our social login buttons will appear and other options.

Unfortunately, I don't know why the otpcheck.php file can't be loaded from your site. There are tons of possibilities and I don't know your site or infrastructure well enough to tell you. The only suggestions I have are to disable security and URL rewriting features to narrow down which is causing the problem. If it's not DFI, then turn off all of Akeeba (temporarily) to see if that fixes it.

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

None
7 years 5 months ago #64926 by arkofhope
So if I was to disable Akeeba and URL rewrite would you be able to... or know how to login and try to figure out whats causing it? Because I can turn off the Admin Tools stuff but I would have no idea how to proceed with figuring anything out.
The topic has been locked.
Support Specialist
7 years 5 months ago #64934 by alzander
I was just suggesting to disable Admin Tools -temporarily- and see if the login functionality works. If it does, then that narrows the problem down to being some sort of Admin Tools security exception which we can look more into.

Admin Tools also does other things, like creating the .htaccess file that prevents direct file inclusion (DFI), so even if you disable Admin Tools, some of the protections it has put in place may still be active.. but really we're just trying to help narrow down what the cause could be because we're unsure. Something is preventing our file from loading, but I'm unsure what.

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

None
7 years 4 months ago #64950 by arkofhope
HI Alex,

I understand. I am sorry my paying jobs have been taking so much of my time from this. I shut off Akeeba AdminTools using the 2nd method shown using the following link then tried the login and it still wouldn't work. www.joomlashack.com/blog/joomla/disable-admin-tools/

In the .htaccess area that you mentioned there is a box where I can "Allow direct access to these files". It has files in it that are like this one that end in .php "administrator/components/com_akeeba/restore.php" ..... SO I put the following SC Login php location in there but it didn't help. modules/mod_sclogin/mod_sclogin.php

Then there is another box that says "Allow direct access, including .php files, to these directories" so I added the following to there. ... "modules/mod_sclogin" AND IT WORKED even with 2 Factor turned on.
Then I removed "modules/mod_sclogin/mod_sclogin.php" from the first box and it continued to work. :-)

So now I am free to tackle setting up JFB Connect.
Thanks so much for your help and patience Alex.
The topic has been locked.
Support Specialist
7 years 4 months ago #64956 by alzander
Awesome to hear you got that to work! Great sleuthing!

The correct file to put in the DFI area is:
/modules/mod_sclogin/ajax/otpcheck.php

Whitelisting the whole directory, as you've done, is a fine option as well as there aren't many files in there.

Thanks,
Alex
The topic has been locked.