Page 1 of 1

Can't log into my admin site. Probably an SSL issue?!

Posted: Tue Nov 01, 2016 10:51 am
by kelemvor
Howdy,

I moved to a new host and copied over my Opencard folder, database, etc. I updated both config files with the new DB information. I also set the config files to httpS since I have a cert installed in the new location.

I'm not sure if the SSL setting within Opencart is set or not since I can't log in.

Anyway, when I go to the login page and enter my info, it tells me the information is going to be sent over an insecure connection and could be viewed. It then just redirects back to the logon page. If I use a bad password the same thing happens so it's not actually authenticating or anything.

https://awhatmom.com/whatbuyingclub/admin

I tried setting the config files to http instead of https in case opencart is not yet set to ssl but that didn't work either. I'm kind of at a loss as to what to try.

The front end seems to work OK as far as adding things to the cart and such.

Any suggestions?

Re: Can't log into my admin site. Probably an SSL issue?!

Posted: Tue Nov 01, 2016 7:41 pm
by paulfeakins
Could be a few things ...

- Did you switch the admin to use SSL before updating the config files?
- The site is in a folder, did you update the rewrite base in .htaccess?
- Have you tried without SSL? Does it work?
- Have you tried with and without www?
- Do any of your php.ini files specify the location of the tmp folder? Does it exist?

Re: Can't log into my admin site. Probably an SSL issue?!

Posted: Tue Nov 01, 2016 7:43 pm
by web-project
I don't recommend publicly to publish your URL to admin, I recommend to change the admin folder to any other names and change in configure file the path.

Re: Can't log into my admin site. Probably an SSL issue?!

Posted: Tue Nov 01, 2016 9:11 pm
by kelemvor
paulfeakins wrote:Could be a few things ...

- Did you switch the admin to use SSL before updating the config files?
I don't think the admin setting is set to SSL but can't get in to double check.
paulfeakins wrote:- The site is in a folder, did you update the rewrite base in .htaccess?
It was installed directly into that folder originally. I did not edit anything within the .htaccess file. I have another install in a different folder and it works fine with an identical htaccess file
paulfeakins wrote:- Have you tried without SSL? Does it work?
I've tried setting the config files back to all "http" with no luck. When I do this, the admin logon page shows up like a text page with everything over to the left side but still gives me the login warning about insecure information.
paulfeakins wrote:- Have you tried with and without www?
Nope
paulfeakins wrote:- Do any of your php.ini files specify the location of the tmp folder? Does it exist?
None reference the tmp folder that I can see. They are the way they were when OpenCart installed

If nothing else I can just reinstall the cart since I didn't really do much with it so far.

Re: Can't log into my admin site. Probably an SSL issue?!

Posted: Tue Nov 01, 2016 9:16 pm
by kelemvor
OK, never mind. My .htaccess file was still listed as .htaccess.txt. I just remove the .txt part and it let me in.

Strange to me that in my main store (which is also in a folder) the .htaccess file is still a .txt file but everything works fine. hmm.