osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Better explanation of https problem

This is a discussion on Better explanation of https problem within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I apologise as I have some unresolved posts on this matter, which could be because I have not explained it ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-09-2003, 02:09 PM
Active Member
 
Join Date: Nov 2002
Location: Sydney
Posts: 129
Thanks: 12
Thanked 0 Times in 0 Posts
Rep Power: 7
ozstar is on a distinguished road
Default Better explanation of https problem

I apologise as I have some unresolved posts on this matter, which could be because I have not explained it in one complete overview. So here goes..

I am working my way through why I have just a couple of problems with this my MS1 install. Firstly in this post..

My https is all okay except it is doing this..

1. All icon images show EXCEPT the header logo
2. When the [CONTINUE] button is touched on the final checkout page, the home page is shown but still in https!
All product images are shown, however once again the header ones aren't.

As soon as I click a link to anywhere I get the 'leaving secure' panel, and I'm okay back in http.

For a start my shop path is at /home/league/leagueandlegends-www/catalog/admin
www is leagueandlegends.com
----------------------------
Here are the areas needed in my catalog/configure.php

define('HTTP_SERVER', 'http://www.leagueandlegends.com/catalog'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://host27.the-web-host.com/leagueandlegends/catalog'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/'); // absolute path required
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
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_FS_DOCUMENT_ROOT', '/home/league/leagueandlegends-www');
define('DIR_FS_CATALOG', '/home/league/leagueandlegends-www/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');


-------------------------
Here are the areas needed in my catalog/admin/configure.php

define('HTTP_SERVER', 'http://www.leagueandlegends.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
define('HTTP_CATALOG_SERVER', 'http://www.leagueandlegends.com');
define('HTTPS_CATALOG_SERVER', 'https://host27.the-web-host.com/leagueandlegends');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/home/league/leagueandlegends-www/catalog'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
define('DIR_WS_ADMIN', '/catalog/admin/');
define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
define('DIR_WS_CATALOG', '/catalog/');
define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');


Maybe this time it is clear enough for the gurus to see what I have/have not done.

I am still trying to understand the basic structure of things, so at the mo it may look a little illogical.
Still, that's how we learn I guess!

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-09-2003, 10:39 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,070
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Ok, now you are getting somewhere...

I see a couple of problems right away. Changes are in bold type:

Here are the areas needed in my catalog/configure.php

define('HTTP_SERVER', 'http://www.leagueandlegends.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://host27.the-web-host.com/leagueandlegends'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
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_FS_DOCUMENT_ROOT', '/home/league/leagueandlegends-www');
define('DIR_FS_CATALOG', '/home/league/leagueandlegends-www/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');


Here are the areas needed in my catalog/admin/configure.php

define('HTTP_SERVER', 'http://www.leagueandlegends.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers
define('HTTP_CATALOG_SERVER', 'http://www.leagueandlegends.com');
define('HTTPS_CATALOG_SERVER', 'https://host27.the-web-host.com/leagueandlegends');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/home/league/leagueandlegends-www'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
define('DIR_WS_ADMIN', '/catalog/admin/');
define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
define('DIR_WS_CATALOG', '/catalog/');
define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');


Try that and see what you get. Is this server using ensim or plesk by any chance?

And for future reference, rather than starting a new topic, just reply to the thread that you already started. Simply add your new info to it.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-10-2003, 02:25 AM
Active Member
 
Join Date: Nov 2002
Location: Sydney
Posts: 129
Thanks: 12
Thanked 0 Times in 0 Posts
Rep Power: 7
ozstar is on a distinguished road
Default

Okay.. Thanks. Did exactly that and all is well except this..

When entering Checkout it goes to https and stays there even after leaving the 'Your Order has been etc' page. The next page is the main front page of the shop however still in https. It stays there until one clicks an image or whatever then the panel comes up about leaving encryption etc. and the same screen is shown however correctly in http.

All the time it is in https, I get all images EXCEPT two logos I have in the header. The block is there where they should be, but no images.

This is the address that comes up when I click 'View Image' on the block.

https://host27.the-web-host.com/cata...oscommerce.gif

and this is the message..

The requested URL /catalog/images/oscommerce.gif was not found on this server.

Apache/1.3.27 Server at host27.the-web-host.com Port 443

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-10-2003, 08:20 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,070
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

The path is incorrect. See how it is missing leagueandlegends in the location?

When I view source your path is
Code:
/catalog/images/oscommerce.gif
It should be
Code:
images/oscommerce.gif
Check your code and make sure it is the correct relative path...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 03-10-2003, 02:28 PM
Active Member
 
Join Date: Nov 2002
Location: Sydney
Posts: 129
Thanks: 12
Thanked 0 Times in 0 Posts
Rep Power: 7
ozstar is on a distinguished road
Default

Oh my Michael, I'm so sorry to take up your time with my noobiness!

I have spent the last hour in the admin configure file and done umpteen changes to all the 'image' paths and nothing seems to make any difference. Not worse, not better!

I have added full paths and part paths.

What line/s am I to put the leagueandlegends name?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 03-10-2003, 02:32 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,070
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

I dont think it is in your configure.php, I think it is some code you modified in default.php, or header.php...

Your configure.php is correct, but the image paths in your header are not. The way you can tell, is that everything else is working correctly. If it were a configure.php problem you would see other broken images too. Look in header.php and default.php...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Problem with CSS images when referenced from HTTPs joemathis osCMax v2 Customization/Mods 2 02-28-2007 08:03 AM
https-problem springbank osCommerce 2.2 Installation Help 1 01-05-2004 09:31 AM
when in https.... Anonymous osCommerce 2.2 Modification Help 2 12-28-2002 07:36 PM
Too much https: ?? sheikyerbouti osCommerce 2.2 Installation Help 2 12-11-2002 06:40 PM


All times are GMT -8. The time now is 05:45 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax