Forums / All Other Contributions/Addons / Problems after we changed our entire website over to SSL

Problems after we changed our entire website over to SSL

Views: 2,048

Results 1 to 18 of 18
6 Mar 2013, 6:18 PM
#1
aiko70 avatar

aiko70

New Zenner

Join Date:
Jan 2013
Posts:
18
Plugin Contributions:
0

Problems after we changed our entire website over to SSL

(Using Zen Cart 1.5.0) Recently we changed our entire website over to SSL. CKEditor was working before the change, and now is not working at all. I read another thread regarding this with instructions to download an new file for CKEditor to work with SSL (that did not work so I changed it back) I am using the latest version of CK Editor on the main download page (3.6.2). I have tried re-installing CKEditor entirely. Right now I am unable to set CK Editor as the default editor in Configurations/My Store. When I go to EZ-Pages, it lets me set the editor as CKEditor, but has a couple different issues in different browsers. In Chrome, it just displays as text. In Firefox, in displays as the usual CKEditor, but there is a security message. In both browsers, changes are unable to be made because there is a "Page Title Required" error. I have tried to go in and set the title through html in the text editor, but this is not working either. I checked file permissions, all are correct. I am at a loss as to what I am doing wrong, or how to fix it. Thanks in advance for your help!

6 Mar 2013, 8:27 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Problems after we changed our entire website over to SSL

aiko70:

(Using Zen Cart 1.5.0) Recently we changed our entire website over to SSL.

To start with, do you mean your site and admin are all SSL ? If so, why did you do that ?

7 Mar 2013, 2:31 PM
#3
aiko70 avatar

aiko70

New Zenner

Join Date:
Jan 2013
Posts:
18
Plugin Contributions:
0

Re: Problems after we changed our entire website over to SSL

stevesh:

To start with, do you mean your site and admin are all SSL ? If so, why did you do that ?

Our hosting company did it when we said we wanted to make sure the site was running with SSL in the checkout etc...
Could this be causing the problem, and is there a way to fix it?

7 Mar 2013, 2:37 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Problems after we changed our entire website over to SSL

I can't say if it's causing the problem, but running your whole site (non-admin) under SSL isn't a good idea. Zencart knows enough to secure the proper pages when these instructions are followed:

http://www.zen-cart.com/content.php?56-how-do-i-enable-ssl-after-i-have-installed-zen-cart

7 Mar 2013, 3:10 PM
#5
aiko70 avatar

aiko70

New Zenner

Join Date:
Jan 2013
Posts:
18
Plugin Contributions:
0

Re: Problems after we changed our entire website over to SSL

So would you suggest contacting our hosting company and telling them to make sure the ENTIRE site is not running in ssl and then following the instructions you linked me, or just following the instructions as the site is now?

7 Mar 2013, 4:18 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Problems after we changed our entire website over to SSL

So would you suggest contacting our hosting company and telling them to make sure the ENTIRE site is not running in ssl
This is a setting in your store configure.php and not your hosts problem

Zen-Venom Get Bitten

7 Mar 2013, 5:35 PM
#7
aiko70 avatar

aiko70

New Zenner

Join Date:
Jan 2013
Posts:
18
Plugin Contributions:
0

Re: Problems after we changed our entire website over to SSL

I guess I am missing something or doing something wrong, both configure.php files seem to match the ones in the instructions.

7 Mar 2013, 5:45 PM
#8
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problems after we changed our entire website over to SSL

Zencart will use SSL according to how it has been defined in the configure.php files.

You need to VIEW your configure.php files and indicate HOW you want the site to handle SSL.

To EDIT the configure.php files, you may need to change their WRITE permissions (done in C-PANEL >>> File manager) from 0444 to 0644.

BACKUP the file.

FTP it to your local machine and open it to EDIT.

Yours probably looks like this right now:

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
define('HTTP_SERVER', 'https://YOUR-WEBSITE.COM');
define('HTTPS_SERVER', 'https://YOUR-WEBSITE.COM');

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

Change to:

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
define('HTTP_SERVER', 'http://YOUR-WEBSITE.COM');
define('HTTPS_SERVER', 'https://YOUR-WEBSITE.COM');

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

SAVE THE FILE.

FTP it back to its proper location.

NB: While they have the same NAME, the configure.php for ADMIN is not the same as that for CATALOG.

20 years a Zencart User

7 Mar 2013, 5:47 PM
#9
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problems after we changed our entire website over to SSL

On... and suggest to your host that they spend some time on this forum's TUTORIALS as it appears they are not very skilled in zencart.

20 years a Zencart User

7 Mar 2013, 6:43 PM
#10
uswebworx avatar

uswebworx

Zen Follower

Join Date:
Sep 2006
Location:
USA
Posts:
297
Plugin Contributions:
0

Re: Problems after we changed our entire website over to SSL

I am running all SSL on a clients store with CK editor and no problems. So happy I have a great server and team! (Mine)

Signature not needed

7 Mar 2013, 6:44 PM
#11
aiko70 avatar

aiko70

New Zenner

Join Date:
Jan 2013
Posts:
18
Plugin Contributions:
0

Re: Problems after we changed our entire website over to SSL

Kobra - did you get my PM response? Just checking, I am totally flustered atm - Thanks!

7 Mar 2013, 6:51 PM
#12
aiko70 avatar

aiko70

New Zenner

Join Date:
Jan 2013
Posts:
18
Plugin Contributions:
0

Re: Problems after we changed our entire website over to SSL

schoolboy:

Zencart will use SSL according to how it has been defined in the configure.php files.

You need to VIEW your configure.php files and indicate HOW you want the site to handle SSL.

To EDIT the configure.php files, you may need to change their WRITE permissions (done in C-PANEL >>> File manager) from 0444 to 0644.

BACKUP the file.

FTP it to your local machine and open it to EDIT.

Yours probably looks like this right now:

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
define('HTTP_SERVER', 'https://YOUR-WEBSITE.COM');
define('HTTPS_SERVER', 'https://YOUR-WEBSITE.COM');

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

Change to:

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
define('HTTP_SERVER', 'http://YOUR-WEBSITE.COM');
define('HTTPS_SERVER', 'https://YOUR-WEBSITE.COM');

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

SAVE THE FILE.

FTP it back to its proper location.

NB: While they have the same NAME, the configure.php for ADMIN is not the same as that for CATALOG.

Thanks Schoolboy - the configure.php as it is now is

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
define('HTTP_SERVER', 'http://www.oursite.com');
define('HTTPS_SERVER', 'https://www.oursite.com');

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

I haven't changed anything in it as it looks to be right - and I know to change permissions if I need to edit/reload it :)

7 Mar 2013, 6:56 PM
#13
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Problems after we changed our entire website over to SSL

Yes I did

It was a rule in the root .htaccess file

Zen-Venom Get Bitten

7 Mar 2013, 7:10 PM
#14
aiko70 avatar

aiko70

New Zenner

Join Date:
Jan 2013
Posts:
18
Plugin Contributions:
0

Re: Problems after we changed our entire website over to SSL

Thank you! YOU ARE THE BEST! PM me with your paypal info so I can send you money :)

kobra:

Yes I did

It was a rule in the root .htaccess file

7 Mar 2013, 10:03 PM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Problems after we changed our entire website over to SSL

aiko70,

That is OK - this one is on the house

Zen-Venom Get Bitten

8 Mar 2013, 7:29 AM
#16
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problems after we changed our entire website over to SSL

kobra:

aiko70,

That is OK - this one is on the house

This sort of response makes me very proud to be part of this community... :yes:

20 years a Zencart User

8 Mar 2013, 2:38 PM
#17
aiko70 avatar

aiko70

New Zenner

Join Date:
Jan 2013
Posts:
18
Plugin Contributions:
0

Re: Problems after we changed our entire website over to SSL

kobra:

aiko70,

That is OK - this one is on the house

Thank you SO SO MUCH! You're the best!!

8 Mar 2013, 2:42 PM
#18
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Problems after we changed our entire website over to SSL

You can if you want donate to the ZenCart project

http://www.zen-cart.com/content.php?6-donate

Zen-Venom Get Bitten