Zen Cart Logo
Forums / Installing on a Linux/Unix Server / SSL -- admin blank in secure, 'false' in config will not reset to http

SSL -- admin blank in secure, 'false' in config will not reset to http

Locked

Views: 3,424

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
22 Nov 2006, 4:01 AM
#1
fabrikation avatar

fabrikation

New Zenner

Join Date:
Oct 2006
Posts:
12
Plugin Contributions:
0

SSL -- admin blank in secure, 'false' in config will not reset to http

I tried to turn on SSL with a shared certificate, but not only did the catalog checkout process stay http://, it broke the admin interface, AND I cannot get it to go back to http (e.g. 'false')

Okay, the long version:

I tried to install the SSL shared certificate for the site I am working on. It did not seem to do anything to the catalog side, but it sent admin to the https:// server. The files were not in the correct place, and I got a 404 error. I moved them into the correct place, and I get an empty page -- no source code, but no 404 error?

I tried to reset the config files so it would go back to http:// for everything (e.g. set https to 'false') but it will not reset. I have overwritten the config files numerous times, tried it on different browsers, etc, but no matter what I do, the admin still redirects to the secure server.

one little complexity, i installed my zencart into a folder (e.g. http://mysite.com/zencartfolder). Is this having any impact on this problem? How do I deal w/ this when I maintain a second "secure" folder? Do I replicate that folder structure, or ignore it?

also, my client/the site is using fortunecity hosting (they suck big time), on Apache, with PHP 4.4.1, with a almost non-existant webpanel and crappy support. (sux for me, i know...)

To summarize:

  1. how do I get admin back? which is to say how can I get the admin to go back to non SSL ('false') OR how do I get the SSL admin to work properly?

  2. how do I get the catalog SSL to work properly.

I have been to http://www.zen-cart.com/tutorials/index.php?article=14 about a hundred times, and it does not have enough detail (and it does not seem to be working here.)

please help.

i am going to cry myself to sleep now

please help

here are my config files as they stand now

admin/includes/configure.php

define('HTTP_SERVER', 'http://mysite.com');
define('HTTPS_SERVER', 'https://secure10.securewebexchange.com/mysite.com');
define('HTTP_CATALOG_SERVER', 'http://mysite.com');
define('HTTPS_CATALOG_SERVER', 'https://secure10.securewebexchange.com/mysite.com');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'false');
define('ENABLE_SSL_ADMIN', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_ADMIN', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');

includes/configure.php

define('HTTP_SERVER', 'http://mysite.com');
define('HTTPS_SERVER', 'https://secure10.securewebexchange.com/mysite.com');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

22 Nov 2006, 5:48 PM
#2
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: SSL -- admin blank in secure, 'false' in config will not reset to http

Those settings should work. Try this:

After you have uploaded the edited configure.php file click on View in the right pane of your FTP programme and it will bring up the file on the server. If it's the old file and not the new one you uploaded then either:

a). You did not amend the permisisons on the online file to allow it to be overwritten by the new one

b). The permisisons on the server are not set up correctly to allow you to do that.

Vger

23 Nov 2006, 9:29 AM
#3
beyond_mic avatar

beyond_mic

New Zenner

Join Date:
Sep 2006
Posts:
3
Plugin Contributions:
0

Re: SSL -- admin blank in secure, 'false' in config will not reset to http

Hi Anyone:

I have purchased private SSL from a third party and installed by my hosting provider. However, I am having issue of finding SSL on both “admin” & “checkout” page, despite that I have read and follow the installation notes many times and checked the configure.php in both (includes & admin/includes).

define('HTTP_SERVER', 'http://www.zacani.com.au');
define('HTTPS_SERVER', 'https://www.zacani.com.au');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'True');

define('HTTP_SERVER', 'http://www.zacani.com.au');
define('HTTPS_SERVER', 'https://www.zacani.com.au');
define('HTTP_CATALOG_SERVER', 'http://www.zacani.com.au');
define('HTTPS_CATALOG_SERVER', 'https://www.zacani.com.au');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'True');
define('ENABLE_SSL_ADMIN', 'True');

Could someone share some insight on this issue, much appreciated.
Thanks in advance.

Beyond_mic

23 Nov 2006, 12:07 PM
#4
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: SSL -- admin blank in secure, 'false' in config will not reset to http

Your configure.php file looks fine, and your ssl cert works fine. Try clearing your browser cache by deleting all Temporary Internet Files and all Offline Content.

Vger

26 Nov 2006, 4:46 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: SSL -- admin blank in secure, 'false' in config will not reset to http

You might try using:
true

vs what you have now of:
True

27 Nov 2006, 7:08 AM
#6
beyond_mic avatar

beyond_mic

New Zenner

Join Date:
Sep 2006
Posts:
3
Plugin Contributions:
0

Re: SSL -- admin blank in secure, 'false' in config will not reset to http

Hi Ajeh:

Thank you for your reply. It worked fine. Must be the caps.

Many Thanks

Cheers
Beyond_mic

27 Nov 2006, 2:01 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: SSL -- admin blank in secure, 'false' in config will not reset to http

Thanks for the update that the settings in the configure.php files are case sensative in the defines ... :smile:

17 Dec 2006, 4:02 AM
#8
stebbing avatar

stebbing

New Zenner

Join Date:
Oct 2006
Posts:
7
Plugin Contributions:
0

Re: SSL -- admin blank in secure, 'false' in config will not reset to http

Hi all,

I have the same issue as beyond_mic.

"I have purchased private SSL from a third party and installed by my hosting provider. However, I am having issue of finding SSL on both “admin” & “checkout” page, despite that I have read and follow the installation notes many times and checked the configure.php in both (includes & admin/includes).

define('HTTP_SERVER', 'http://www.zacani.com.au');
define('HTTPS_SERVER', 'https://www.zacani.com.au');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'True');

define('HTTP_SERVER', 'http://www.zacani.com.au');
define('HTTPS_SERVER', 'https://www.zacani.com.au');
define('HTTP_CATALOG_SERVER', 'http://www.zacani.com.au');
define('HTTPS_CATALOG_SERVER', 'https://www.zacani.com.au');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'True');
define('ENABLE_SSL_ADMIN', 'True');

Could someone share some insight on this issue, much appreciated.
Thanks in advance. "

I tried the advice on all of the replies but when I go to checkout I get the 404.

I would like to understand the cert process better, can you tell me what it means when we install a cert in a folder and have a dedicated IP? Does this mean the entire site is secure or just certain files? Do I need to put the secure pages in another directory?

I disabled secure admin to keep it working for now...

Any help would greatly be appreciated!!
Scott

17 Dec 2006, 4:34 AM
#9
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,601
Plugin Contributions:
0

Re: SSL -- admin blank in secure, 'false' in config will not reset to http

The Cert seems to be working fine on the catalog side. (you are missing aome language defines though)

Try reuploading the Admin directory and check your admin/includes/configure.php

17 Dec 2006, 4:18 PM
#10
stebbing avatar

stebbing

New Zenner

Join Date:
Oct 2006
Posts:
7
Plugin Contributions:
0

Re: SSL -- admin blank in secure, 'false' in config will not reset to http

Thanks Kim,

I will do that!

Scott

17 Dec 2006, 11:15 PM
#11
stebbing avatar

stebbing

New Zenner

Join Date:
Oct 2006
Posts:
7
Plugin Contributions:
0

Re: SSL -- admin blank in secure, 'false' in config will not reset to http

Thanks again for the information, I did reinstall the admin folder and it did not do the trick, but its because I installed the cert directly into our ssl folder and its actually supposed to be done by the Host. :blush:

Scott

18 Dec 2006, 4:03 AM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: SSL -- admin blank in secure, 'false' in config will not reset to http

Note that defines are often case sensative:

define('ENABLE_SSL_CATALOG', 'True');
define('ENABLE_SSL_ADMIN', 'True');

Should be:

define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');