Zen Cart Logo
Forums / Basic Configuration / ssl problem please please some one be up

ssl problem please please some one be up

Locked

Views: 1,418

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
11 Aug 2008, 3:45 AM
#1
goldencrown avatar

goldencrown

New Zenner

Join Date:
Aug 2008
Posts:
7
Plugin Contributions:
0

ssl problem please please some one be up

i really hope some one is up and can help me with this. I have searched in the fourm and have not found a solotion to my problem. i just got the ssl cert and i have veryfied that the ssl points to https://www.chucksnuts.com and not https://chuchksnuts.com..

the problem is with the images they do not come up with the https. i have checked each of the images links by looking at the source and the php code and the refure to the images via path and not the absolute path such as https://www.chucksnuts.com/images/images name.

so then i thought it was my template. i chaged the template to the default and i get the same result. here is my configure.php file settings

// 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.chucksnuts.com');
  define('HTTPS_SERVER', 'https://www.chucksnuts.com');

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

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

  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_INCLUDES', 'includes/');
  define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
  define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
11 Aug 2008, 3:55 AM
#2
goldencrown avatar

goldencrown

New Zenner

Join Date:
Aug 2008
Posts:
7
Plugin Contributions:
0

Re: ssl problem please please some one be up

no Google Analytics

and i also searched for

src="http://

and came up with nothing.

11 Aug 2008, 4:03 AM
#3
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: ssl problem please please some one be up

I looked at your site (via http not https) and the images are there.
When I go to "login" your site switches to https (as it should) and images are there too.

One thing I noticed while there is that your "Home" button takes me back to the landing page and not the store home page - kind of annoying to be sent back there and having to select the online shopping again to get back to the store home page ~ IMHO

Tina

11 Aug 2008, 5:48 AM
#4
dwells avatar

dwells

Zen Follower

Join Date:
Nov 2007
Location:
Burney, CA. USA
Posts:
130
Plugin Contributions:
2

Re: ssl problem please please some one be up

The problem I see, is in your template.

You have given a static address for the images in your template.

http://www.chucksnuts.com/includes/templates/Chucksnuts/buttons/english/menu/m6.jpg

all of your template images seem to be pointed to "http:" instead of ```
../includes/templates/Chucksnuts/buttons/english/menu/m6.jpg


Hope this helps point you in the right direction, so that you can get launched without any further issues (seeing how you are about to get serious advertising from the Food Network).
11 Aug 2008, 5:49 AM
#5
goldencrown avatar

goldencrown

New Zenner

Join Date:
Aug 2008
Posts:
7
Plugin Contributions:
0

Re: ssl problem please please some one be up

did you get the security information popup this pages contains both secure and nonesecure items? when trying to login

11 Aug 2008, 5:58 AM
#6
goldencrown avatar

goldencrown

New Zenner

Join Date:
Aug 2008
Posts:
7
Plugin Contributions:
0

Re: ssl problem please please some one be up

DWells:

The problem I see, is in your template.

You have given a static address for the images in your template.

http://www.chucksnuts.com/includes/templates/Chucksnuts/buttons/english/menu/m6.jpg

> 
> all of your template images seem to be pointed to "http:" instead of ```
../includes/templates/Chucksnuts/buttons/english/menu/m6.jpg
```as it should be.
> 
> Hope this helps point you in the right direction, so that you can get launched without any further issues (seeing how you are about to get serious advertising from the Food Network).


Here is the code in the template for that section that you are talking about
<div class="dc"><div><a href=""><?=zen_image(DIR_WS_TEMPLATE.'buttons/'.$_SESSION['language'].'/menu/m1.jpg')?></a><a href="<?=zen_href_link(FILENAME_SPECIALS)?>"><?=zen_image(DIR_WS_TEMPLATE.'buttons/'.$_SESSION['language'].'/menu/m2.jpg')?></a><a href="<?=zen_href_link(FILENAME_PRODUCTS_NEW)?>"><?=zen_image(DIR_WS_TEMPLATE.'buttons/'.$_SESSION['language'].'/menu/m3.jpg')?></a><a href="index.php?main_page=products_all"><?=zen_image(DIR_WS_TEMPLATE.'buttons/'.$_SESSION['language'].'/menu/m4.jpg')?></a><a href="<?=zen_href_link(FILENAME_REVIEWS)?>"><?=zen_image(DIR_WS_TEMPLATE.'buttons/'.$_SESSION['language'].'/menu/m5.jpg')?></a><a href="<?=zen_href_link(FILENAME_CONTACT_US)?>"><?=zen_image(DIR_WS_TEMPLATE.'buttons/'.$_SESSION['language'].'/menu/m6.jpg')?></a><?php if ($_SESSION['customer_id']) { ?><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?=zen_image(DIR_WS_TEMPLATE.'buttons/'.$_SESSION['language'].'/menu/m7_off.jpg')?></a>
<?php ``` As you can see it does not refrence the http or https so in theory it should allow for both. it should allow me to pull up https. one thing that i noticed is that it does this with the default template that zen cart starts out with. so i am thinking that it is not the template...... any ideas would you like me to change it to the zen cart template...
11 Aug 2008, 6:10 AM
#7
goldencrown avatar

goldencrown

New Zenner

Join Date:
Aug 2008
Posts:
7
Plugin Contributions:
0

Re: ssl problem please please some one be up

charmedbytina2:

I
When I go to "login" your site switches to https (as it should) and images are there too.
Tina

but the images not being brought up as https. and that is why i am reciving the secured and not secured message. hummmm.....

this is very strange for me even the oringal zen cart template is doing the same thing. that is what i am running now while every buddy is looking. thanks for your help

11 Aug 2008, 6:24 AM
#8
goldencrown avatar

goldencrown

New Zenner

Join Date:
Aug 2008
Posts:
7
Plugin Contributions:
0

Re: ssl problem please please some one be up

i can't hang and i have to get up early i look forward to every ones responses tomarrow morning

11 Aug 2008, 1:50 PM
#9
goldencrown avatar

goldencrown

New Zenner

Join Date:
Aug 2008
Posts:
7
Plugin Contributions:
0

Re: ssl problem please please some one be up

so i am going to change the code on configure.php from

// 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.chucksnuts.com');
  define('HTTPS_SERVER', 'https://www.chucksnuts.com');

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', 'https://www.chucksnuts.com');
 define('HTTPS_SERVER', 'https://www.chucksnuts.com');

now when i do this it makes the site slow but it secures the whole site and i no longer get the message that i have a secure and unsecure items. so this proves that there are not hard-coded actual url links. And that all my links are relative paths.

i really would like to make this work the way it is supposed to work but for the mean time this will work....

the webhosting company i am with is networksolutions any ideas.

could it be some kind of setting withe the webhosting company?