Page 1 of 1

Manually turn off SSL

Posted: Wed Nov 10, 2010 6:36 pm
by propehts10
Hi,

So I have tried to install SSL into a shop but having totally failed, I need to switch it off and start again.

My problem is I cannot get into the admin part of the shop due to it re-directing to a https:// address after logging in and it cannot find the page.

So I am looking for a solution to be able to turn off the ssl in any of files installed on the server to be able to get back in the Admin panel and to get the shop working again!

Please advise as I am about to throw a monitor!

Thanks

Re: Manually turn off SSL

Posted: Wed Nov 10, 2010 8:25 pm
by Moggin
change the HTTPS paths in the admin/config file back to http.
I think that will get you back in.

Code: Select all

// HTTPS
define('HTTPS_SERVER', 'http://www.yourshop.co.uk/admin/');
define('HTTPS_IMAGE', 'http://www.yourshop.co.uk/image/');

Re: Manually turn off SSL

Posted: Wed Nov 10, 2010 9:18 pm
by propehts10
Thanks for the reply,

I have tried this and the error i'm getting after that is located in the index.php

Code: Select all

define('HTTP_SERVER', $config->get('config_url'));
define('HTTP_IMAGE', HTTP_SERVER . 'image/');
The shops url path's still point to https:// on 4 main sections as far as I can see (Log In, Account, Checkout & Admin) which all do not work still...

Re: Manually turn off SSL

Posted: Wed Nov 10, 2010 10:30 pm
by Qphoria
first you disable the admin one..and the code you posted was not the right section as that was HTTP. you need to change HTTPS to remove the https

Then when you log into admin, you can then disable the ssl which is for the front end under the system settings "server" tab

Re: Manually turn off SSL

Posted: Wed Nov 10, 2010 10:48 pm
by propehts10
I have completed the above steps but I am still locked out of the admin panel. Once I click Log In with correct details nothing displays, all I get is the code below in the address bar and a blank white page.

Code: Select all

http://pippyblue.com/store/admin/HTTPS_SERVERindex.php?route=common/login
On the login page itself, it displays this at thetop of the page

Code: Select all

Notice: Use of undefined constant HTTPS_SERVER - assumed 'HTTPS_SERVER' in /home/fhlinux130/p/pippyblue.com/user/htdocs/store/admin/controller/common/login.php on line 43Notice: Use of undefined constant HTTPS_SERVER - assumed 'HTTPS_SERVER' in /home/fhlinux130/p/pippyblue.com/user/htdocs/store/admin/controller/common/header.php on line 8Notice: Use of undefined constant HTTPS_SERVER - assumed 'HTTPS_SERVER' in /home/fhlinux130/p/pippyblue.com/user/htdocs/store/admin/controller/common/header.php on line 8Notice: Use of undefined constant HTTPS_SERVER - assumed 'HTTPS_SERVER' in /home/fhlinux130/p/pippyblue.com/user/htdocs/store/admin/controller/common/header.php on line 77
Both config files are back to their original state as I created back-ups before going ahead.

Re: Manually turn off SSL

Posted: Wed Nov 10, 2010 11:02 pm
by propehts10
Ok, Solved.

Thanks for your efforts & great software!

Re: Manually turn off SSL

Posted: Tue Dec 21, 2010 11:14 am
by charizan
propehts10 can you please post how you solved the issue?
im experiencing the same problem, and i don't know what to do!

Re: Manually turn off SSL

Posted: Wed Dec 22, 2010 8:06 am
by Moggin
what happened, charizan? Were you able to try the steps shown above?

Re: Manually turn off SSL

Posted: Mon Oct 10, 2011 12:14 pm
by rwalker
I was able to edit to admin>config.php

Code: Select all

// HTTPS
define('HTTPS_SERVER', 'https://www.yoursite.com/admin/');
define('HTTPS_IMAGE', 'https://www.yoursite.com/image/');
To

Code: Select all

HTTPS
define('HTTPS_SERVER', 'http://www.yoursite.com/admin/');
define('HTTPS_IMAGE', 'http://www.yoursite.com/image/');
This allowed me to access the admin portion to view orders, ect.

Re: Manually turn off SSL

Posted: Tue Aug 28, 2012 9:41 am
by narbox
Hello,
This post will help turn off the SSL when you are locked out for the backend.
open the file www.yoursite.com/admin/config.php

find this in the config file

// HTTPS
define('HTTPS_SERVER', 'https://www.yoursite.com.au/');
define('HTTPS_IMAGE', 'https://www.yoursite.com.au/');

Change to this

// HTTPS
define('HTTPS_SERVER', '');
define('HTTPS_IMAGE', '');

Now try login to the backend
This worked for me, = remove your site address from the https bit...

Re: Manually turn off SSL

Posted: Mon Oct 01, 2012 8:00 am
by comtek
Fantastic narbox! this worked to get me back into admin...

// HTTPS
define('HTTPS_SERVER', '');
define('HTTPS_IMAGE', '');