Zen Cart Logo
Forums / Installing on a Linux/Unix Server / SSL links not working

SSL links not working

Locked

Views: 2,082

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
30 Sep 2007, 7:20 AM
#1
inkuyo avatar

inkuyo

New Zenner

Join Date:
Sep 2007
Posts:
73
Plugin Contributions:
0

SSL links not working

I have installed an SSL certificate and have changed the two configure.php files with the proper https settings. I can get the SSL to show up if I directly enter https:www.hyltondesign.com/shop but the moment I click on any links the security goes away and I am left with http (no s).

Any ideas?

Dale

30 Sep 2007, 7:53 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: SSL links not working

inkuyo:

... and have changed the two configure.php files with the proper https settings.How exactly did you change the files?

You need to:
a) download a copy of the files from your server
b) make your edits, and save the file

and then upload the files back to the server
HOWEVER
since the files on the server are marked "read-only", you need to:
c) make the file read-write on the server
d) upload the file
e) make the file read-only again
f) repeat for the other file

30 Sep 2007, 1:34 PM
#3
kobra avatar

kobra

Black Belt

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

Re: SSL links not working

but the moment I click on any links the security goes away and I am left with http (no s).
This is normal when installed correctly, only pages that require a secure session switch to htpps like login ans checkout.

Yours is not switching when login is selected. Follow DrBytes guide

1 Oct 2007, 1:00 AM
#4
inkuyo avatar

inkuyo

New Zenner

Join Date:
Sep 2007
Posts:
73
Plugin Contributions:
0

Re: SSL links not working

Ok, I followed DrBytes instructions and now when I goto https://www.hyltondesign.com/shop I have a corrupt looking page (like the CSS file is not being read). Goto a regular page and it works fine.

However, if I try to log in or put somehting in my cart and try to check out I get a secure link but get a 404 page. Any thoughts?

Also, to clarify, for the configure.php files, I have full https://www.hyltondesign.com for http and https://www.hyltondesing.com/shop and enable SSL is 'true'.

EDIT: I also cannot access the admin area now.

1 Oct 2007, 1:36 AM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: SSL links not working

you have /shop/ at the end of the URL and in the define catalog settings just below the ssl true switch,
this will fix BOTH issues, since your site is looking for a stylesheet in /shop/shop/

1 Oct 2007, 1:43 AM
#6
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: SSL links not working

You've made some mistakes in both your 'configure.php' files.

includes/configure.php
You have 'shop' listed twice for when using an 'https' connection.

i.e. Click or mouse-over the 'Log In' link on any page.
https://www.hyltondesign.com/shop/shop/index.php?main_page=login

admin/includes/configure.php
You have the wrong path to your admin section.

The error msg. tells the story.
https://www.hyltondesign.com/shop/admin/

1 Oct 2007, 3:00 AM
#7
inkuyo avatar

inkuyo

New Zenner

Join Date:
Sep 2007
Posts:
73
Plugin Contributions:
0

Re: SSL links not working

OK, I scrapped the original admin/includes/configure.php file and started over.

Now I get this error:
Warning: main(/includes/autoload_func.php): failed to open stream: No such file or directory in /home/content/i/n/k/inkuyo/html/shop/admin/includes/application_top.php on line 147

Warning: main(/includes/autoload_func.php): failed to open stream: No such file or directory in /home/content/i/n/k/inkuyo/html/shop/admin/includes/application_top.php on line 147

Fatal error: main(): Failed opening required '/includes/autoload_func.php' (include_path='.:/usr/local/lib/php') in /home/content/i/n/k/inkuyo/html/shop/admin/includes/application_top.php on line 147

1 Oct 2007, 3:15 AM
#8
inkuyo avatar

inkuyo

New Zenner

Join Date:
Sep 2007
Posts:
73
Plugin Contributions:
0

Re: SSL links not working

Ok. I went back to my old configure.php file that was just misisng the www in front of the domain. Add that and changed the SSL to true and it works. Thanks for the help.

I think on my last file I ust have had a path wrong and jsut could not see it.

Dale