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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| 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
|
|
#3
| |||
| |||
| 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 |
|
#4
| ||||
| ||||
| 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 Code: images/oscommerce.gif
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| 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 |
|
#6
| ||||
| ||||
| 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
|
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |