Topic-icon Login Not Working on DEV Site

Active Subscriptions:

None
8 years 8 months ago - 8 years 8 months ago #54393 by webdevtim
I have replicated (exact copy of) our live site to our dev site to be able to work without cache without CDN etc.

I don't have a wildcard SSL certificate so only the Live Site is secure and accessible through https.

On the dev site I only need to use sclogin by entering the website specific username password combo so that I can work on Front End editing, or at least see the results of my work in that area.

Where do I change the login URL from https://www. to http:dev.

What is the best approach to having just login capabilities on the Dev since I obviously don't need Social Media connectivity.
Last edit: 8 years 8 months ago by webdevtim.
The topic has been locked.
Support Specialist
8 years 8 months ago #54407 by alzander
If you're just trying to login using your Joomla credentials, the SCLogin module should automatically switch to the 'current' domain, whatever it is. One thing you may want to check is to disable caching on the site. The module output can be cached, which could be storing the original URL. Try disabling it or clearing your cache to see if that helps. That should help take care of the www. vs dev. prefix.

For the https vs http, please go into the SCLogin settings and set the "Encrypt Login Form" setting to 'No'.

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

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

None
8 years 8 months ago #54411 by webdevtim
Thanks Alex, but it was already set to no-cache.
The topic has been locked.
Support Specialist
8 years 8 months ago #54424 by alzander
I just looked at your devsite. In the source HTML for the login module is the following:
<form action="https://webdev.yoururl.org/index.php?option=com_k2&amp;view=itemlist&amp;layout=category&amp;task=category&amp;id=557&amp;Itemid=101" method="post" id="sclogin-form242">
The https issue is the problem as that probably has a redirect on your site somewhere. Please make sure you disabled the "Encrypt Login Form" as well.

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

None
8 years 8 months ago - 8 years 8 months ago #54431 by webdevtim
Alex, how do you manage to be able to respond personally to all the request you must have coming in on a daily basis?

I see:
<div class="sclogin-joomla-login vertical span12">
  <form id="sclogin-form242" method="post" action="https://webdev.911truthoutreach.org/index.php">
    <fieldset class="input-block-level userdata">
      <div id="form-sclogin-username" class="control-group">
        <div class="controls input-block-level">
          <div class="input-append input-block-level">
            <input id="sclogin-username" class="input-block-level" type="text" placeholder="Username" alt="username" tabindex="0" name="username">
I thought I deleted all the redirects, but maybe one was missed. I will check both the Joomla Redirects and .htaccess.

I will also make sure that "Encrypt Login Form" is disabled as well.

Thanks so much, your help inspires me to keep fighting the good battles.

The problem was "Encrypt Login Form" was set to "Yes." All is well on the dev site now.

the one thing I want to make sure of is that JFBConnect doesn't make any changes to the Facebook account from the dev site. That would be disastrous.
Last edit: 8 years 8 months ago by webdevtim.
The topic has been locked.
Support Specialist
8 years 8 months ago #54446 by alzander
Glad to hear that the Encrypt Login Form setting was the issue.

As for changes on your dev site, as long as you don't run the FB App section of Autotune *and* update your settings there (or choose the "Use Recommended Settings" button), JFBConnect won't automatically make changes to your app behind your back.

As always, if you need anything else, just let us know.

Thanks,
Alex
The topic has been locked.