valueink Posted January 13, 2004 Share Posted January 13, 2004 ;) Hello again, I have managed to get OsCommerce installed and working apart from some little issues. 1. I have access to a shared SSL address on my webspace. But how do I get OsCommerce configured to show this as a option to use (I process cards manually) 2. I'm only selling to the UK and need to change the details collected from the customer (i.e 2nd line address, County, NO country option needed) Thank you if you can help (please be gentle as I do not know PHP) Nice simple answers please!! :lol: Colin Link to comment Share on other sites More sharing options...
Guest Posted January 13, 2004 Share Posted January 13, 2004 Search is your friend, as well as Wiki documentation, which will explain evrything you are trying to accomplish. Read through the installation procedures, and remove all countries other than UK Link to comment Share on other sites More sharing options...
valueink Posted January 13, 2004 Author Share Posted January 13, 2004 Thank you for that, but I didn't see any info on that site that helped with these questions (unless I'm being thick!!) Link to comment Share on other sites More sharing options...
Guest Posted January 13, 2004 Share Posted January 13, 2004 Wiki documentation means the documentation here, I found it in just a few clicks. http://wiki.oscommerce.com/helpInstallNew Link to comment Share on other sites More sharing options...
rhubarb Posted January 14, 2004 Share Posted January 14, 2004 With reference to your item 1 I've just setup a store with shared SSL, all I did was to amend two settings in /catalog/includes/configure.php as follows: define('HTTPS_SERVER', 'https://SSLDomainName.co.uk/~IspUserName'); define('ENABLE_SSL', true); It seems that the osCommerce scripts determine which pages get the https address, so far it seems to be for the account/profile creation and the checkout pages. Link to comment Share on other sites More sharing options...
alexd1 Posted January 14, 2004 Share Posted January 14, 2004 It seems that the osCommerce scripts determine which pages get the https address, so far it seems to be for the account/profile creation and the checkout pages. On my site when these pages are being displayed after passing through the SSL, they are not being displayed properly, with the right sided info boxes seemingly being pushed towards the left side, and the banner and footer being underneath the bottom right side info box. Any ideas why this is happening ?? And only with the pages passed through the SSL ?? Thanks Alex Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2004 Share Posted January 14, 2004 it is most likely some of the images are not on the ssl server side. ask your host how you are to properly configure your site for ssl access, as it is very much site dependent Link to comment Share on other sites More sharing options...
alexd1 Posted January 14, 2004 Share Posted January 14, 2004 Mibble, Is there anything I need to do in the configure.php file so that I can determine that the images pass through the SSL as well. I did get an email from my host, which said ......... "Dear Alex, In order for your ssl to work everthing on that page hass to be secure, there are some insecure images on your page that is why it is not working. I am not sure of the OS commerce setup but the way that their page is set out not everything is secure. If you have any further questions do not hesitate to contact us." Is there anything I can do to make the images secure ?? Thanks Alex Link to comment Share on other sites More sharing options...
rhubarb Posted January 14, 2004 Share Posted January 14, 2004 Alex: Using shared SSL, my images and layout are fine, is it worth rechecking your absolute and relative paths in catalog/includes/configure.php ? Should https work when accessing admin | orders where credit card details are displayed? I've amended catalog/admin/includes/configure.php for SSL but the orders page is not via https. Link to comment Share on other sites More sharing options...
alexd1 Posted January 14, 2004 Share Posted January 14, 2004 Rhubard, thanks for the reply. I have been a litle worried about changing anything so far in the configure.php files, because it took me over 5 days to get the pages working with the SSL. My web host have not been the most helpful during my problems getting these things working. Below is the configure file, from the includes folder in the shop. -------- <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright ? 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.shop.aroundgreece.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://sslrelay.com/shop.aroundgreece.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.shop.aroundgreece.com'); define('HTTPS_COOKIE_DOMAIN', 'https://sslrelay.com/shop.aroundgreece.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); 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', 'pub/'); define('DIR_FS_CATALOG', '/homepages/4/d35007202/htdocs/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'xxxx'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxx'); define('DB_SERVER_PASSWORD', 'xxx'); define('DB_DATABASE', 'xxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> With regards to the admin pages, I am having lots of problems getting the admin side to run on SSL. At the moment, I have password protected the admin area, but it is not running on SSL. Have I done anything wrong with the code in the file above ?? My web host is saying there could be something wrong, but not telling me exactly what, and as I am a relative newcommer to php, I havent got a clue where to start, and how to know if something is wrong. All I know at the moment is that the catalog side of the site is running fine, except for 2 things... 1) No padlock appearing, even though the URL starts with https:// 2) The page layout of the pages that are passed through the SSL, such as login, sign up, etc. all appearing squashed to the left. Any help at all would be much appreciated. I have tried looking at the documentation, but as I dont really know what I am looking for, I have not been very successful. Thank you for your time and help. Alex The site can be found at www.shop.aroundgreece.com - if that is of any help. Link to comment Share on other sites More sharing options...
rhubarb Posted January 15, 2004 Share Posted January 15, 2004 Alex, I've compared your config with mine and they seem similar. I wish I could be of more help but I think you need someone with more experience than me to advise further. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.