Post by propehts10 » Wed Nov 10, 2010 6:36 pm

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

Newbie

Posts

Joined
Thu Nov 04, 2010 8:19 pm

Post by Moggin » Wed Nov 10, 2010 8:25 pm

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/');

Active Member

Posts

Joined
Wed May 05, 2010 4:56 am

Post by propehts10 » Wed Nov 10, 2010 9:18 pm

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...

Newbie

Posts

Joined
Thu Nov 04, 2010 8:19 pm

Post by Qphoria » Wed Nov 10, 2010 10:30 pm

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

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by propehts10 » Wed Nov 10, 2010 10:48 pm

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.

Newbie

Posts

Joined
Thu Nov 04, 2010 8:19 pm

Post by propehts10 » Wed Nov 10, 2010 11:02 pm

Ok, Solved.

Thanks for your efforts & great software!

Newbie

Posts

Joined
Thu Nov 04, 2010 8:19 pm

Post by charizan » Tue Dec 21, 2010 11:14 am

propehts10 can you please post how you solved the issue?
im experiencing the same problem, and i don't know what to do!

Newbie

Posts

Joined
Tue Dec 07, 2010 12:45 pm

Post by Moggin » Wed Dec 22, 2010 8:06 am

what happened, charizan? Were you able to try the steps shown above?

Active Member

Posts

Joined
Wed May 05, 2010 4:56 am

Post by rwalker » Mon Oct 10, 2011 12:14 pm

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.

Discount Golf Clubs and Golf Equipment - Powered by Opencart


New member

Posts

Joined
Fri Jul 01, 2011 8:14 am

Post by narbox » Tue Aug 28, 2012 9:41 am

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...

Newbie

Posts

Joined
Sun Apr 04, 2010 6:53 pm

Post by comtek » Mon Oct 01, 2012 8:00 am

Fantastic narbox! this worked to get me back into admin...

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

Newbie

Posts

Joined
Fri Apr 20, 2012 4:36 am
Who is online

Users browsing this forum: No registered users and 15 guests