Miropl Posted May 14, 2017 Share Posted May 14, 2017 Hello. My name is Mirosław. I have purchased an SSL certificate for the domain of sklep-domowe.pl. Unfortunately, the certificate does not work. I make changes according to this advice: https://certyfikatyssl.pl/faq/instalacje-certyfikatow-ssl/jak-uruchomic-szyfrowanie-ssl-w-systemie-oscommerce.html I do not know what I'm doing wrong? Ps. Sorry for my English. I am writing with the help of Google translator. Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 15, 2017 Share Posted May 15, 2017 When I check your ssl here, it says the domain name is not setup correctly. That will need to be done before you can use it on the site. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Miropl Posted May 15, 2017 Author Share Posted May 15, 2017 Excuse me. I did not notice that during the translation Goggle changed my domain name. My domain is: wyroby-domowe.pl Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 15, 2017 Share Posted May 15, 2017 Good, the cert is installed properly on the server. The next step is to change your sites configure files to use it. In the admin/includes/configure.php file, if there are entries that start with http://, change them to https://. And if the enable ssl option is set to false, change it to true (there may be two such settings). In the includes/configure.php file, also set the ssl option to true. Change the line that has HTTPS_SERVER so that the url has https in it. The above should get the shop working with ssl. However, you really need to make the whole shop use it due to recent changes by the search engines in how they report secure issues. This thread describes what is needed. If you get stuck on the changes to the configure files, post them here without the bottom lines that contain login details and someone will help. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Miropl Posted May 15, 2017 Author Share Posted May 15, 2017 My admin/includes/configure.php file <?php /* define('HTTP_SERVER', 'http://www.wyrobydomowe.nazwa.pl'); define('HTTP_CATALOG_SERVER', 'http://www.wyrobydomowe.nazwa.pl'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/wyrobydomowe/ftp/catalog/'); define('DIR_WS_ADMIN', '/catalog/zamowienia/'); define('DIR_FS_ADMIN', '/home/wyrobydomowe/ftp/catalog/zamowienia/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', '/home/wyrobydomowe/ftp/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/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_CATALOG_INCLUDES', DIR_FS_CATALOG . 'includes/'); define('DIR_FS_CATALOG_CLASSES', DIR_FS_CATALOG_INCLUDES . 'classes/'); define('DIR_RP_LANGUAGES', DIR_FS_CATALOG_INCLUDES . 'languages/'); define('DIR_RP_MODULES', DIR_FS_CATALOG_INCLUDES . 'modules/'); */ // define our database connection /* define('DB_SERVER', 'sql.wyrobydomowe.nazwa.pl:3305'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '--------'); define('DB_SERVER_PASSWORD', '--------'); define('DB_DATABASE', '--------'); define('USE_PCONNECT', 'true'); define('STORE_SESSIONS', 'mysql'); */ define('HTTP_SERVER', 'http://www.wyroby-domowe.pl'); define('HTTP_CATALOG_SERVER', 'http://www.wyroby-domowe.pl'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/wyrobydomowe/ftp/catalog/'); define('DIR_WS_ADMIN', '/zamowienia/'); define('DIR_FS_ADMIN', '/home/wyrobydomowe/ftp/catalog/zamowienia/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/wyrobydomowe/ftp/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/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_CACHE', DIR_FS_CATALOG . 'tmp/'); define('DIR_FS_CATALOG_INCLUDES', DIR_FS_CATALOG . 'includes/'); define('DIR_FS_CATALOG_CLASSES', DIR_FS_CATALOG_INCLUDES . 'classes/'); define('DIR_RP_LANGUAGES', DIR_FS_CATALOG_INCLUDES . 'languages/'); define('DIR_RP_MODULES', DIR_FS_CATALOG_INCLUDES . 'modules/'); // define our database connection define('DB_SERVER', 'sql.wyrobydomowe.nazwa.pl:3305'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '-------'); define('DB_SERVER_PASSWORD', '---------'); define('DB_DATABASE', '-------------'); define('USE_PCONNECT', 'true'); define('STORE_SESSIONS', 'mysql'); ?> My includes/configure.php file <?php /* define('HTTP_SERVER', 'http://www.wyrobydomowe.nazwa.pl'); define('HTTPS_SERVER', ''); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.wyrobydomowe.nazwa.pl'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/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', '/home/wyrobydomowe/ftp/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_RP_LANGUAGES', DIR_WS_LANGUAGES); define('DIR_RP_MODULES', DIR_WS_MODULES); */ // define our database connection /* define('DB_SERVER', 'sql.wyrobydomowe.nazwa.pl:3305'); define('DB_SERVER_USERNAME', '-------------'); define('DB_SERVER_PASSWORD', '------------'); define('DB_DATABASE', '-----------'); define('USE_PCONNECT', 'true'); define('STORE_SESSIONS', 'mysql'); */ define('HTTP_SERVER', 'http://www.wyroby-domowe.pl'); define('HTTPS_SERVER', ''); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.wyroby-domowe.pl'); define('HTTPS_COOKIE_DOMAIN', ''); 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_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/'); 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', '/home/wyrobydomowe/ftp/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_RP_LANGUAGES', DIR_WS_LANGUAGES); define('DIR_RP_MODULES', DIR_WS_MODULES); // define our database connection define('DB_SERVER', 'sql.wyrobydomowe.nazwa.pl:3305'); define('DB_SERVER_USERNAME', '------------------'); define('DB_SERVER_PASSWORD', '------------------'); define('DB_DATABASE', '--------------'); define('USE_PCONNECT', 'true'); define('STORE_SESSIONS', 'mysql'); ?> Link to comment Share on other sites More sharing options...
Mikepo Posted May 15, 2017 Share Posted May 15, 2017 HTTPS_CATALOG_SERVER and ENABLE_SSL_CATALOG are not set properly define ('HTTPS_CATALOG_SERVER' , 'https://domain.com'); define('ENABLE_SSL', true); Look for a thread to help setting up the configure file, i can't locate it at the moment, someone will Mike osC CE live - developing osC Phoenix adding modules with no core changes(awesome and easy!) Link to comment Share on other sites More sharing options...
Miropl Posted May 15, 2017 Author Share Posted May 15, 2017 I chopped the files according to this guide: https://www.gigaone.pl/wsparcie-techniczne/certyfikat-ssl-w-sklepie-internetowym/oscommerce I test the site using the link https://www.whynopadlock.com/index.html And I have such errors Valid Certificate found. Certificate valid through: Feb 16 17:28:14 2018 GMTCertificate Issuer: nazwa.pl sp. z o. SSL Protocols Supported: TLSv1 TLSv1.1 TLSv1.2 All 30 items called securely! Insecure <form> call. Found on line # 84 in file: www.wyroby-domowe.pl/index.htmlInsecure <form> call. Found on line # 354 in file: www.wyroby-domowe.pl/index.html Insecure <form> call. Found on line # 532 in file: www.wyroby-domowe.pl/index.html (Note: Chrome will show a security error for any secure page with an insecure <form> call on the page) And what now? My Admin new configure: <?php /* define('HTTP_SERVER', 'https://www.wyrobydomowe.nazwa.pl'); define('HTTP_CATALOG_SERVER', 'https://www.wyrobydomowe.nazwa.pl'); define('HTTPS_CATALOG_SERVER', 'https://www.wyrobydomowe.nazwa.pl'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/wyrobydomowe/ftp/catalog/'); define('DIR_WS_ADMIN', '/catalog/zamowienia/'); define('DIR_FS_ADMIN', '/home/wyrobydomowe/ftp/catalog/zamowienia/'); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', '/home/wyrobydomowe/ftp/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/'); 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_CATALOG_INCLUDES', DIR_FS_CATALOG . 'includes/'); define('DIR_FS_CATALOG_CLASSES', DIR_FS_CATALOG_INCLUDES . 'classes/'); define('DIR_RP_LANGUAGES', DIR_FS_CATALOG_INCLUDES . 'languages/'); define('DIR_RP_MODULES', DIR_FS_CATALOG_INCLUDES . 'modules/'); My new Catalog/includes configure: <?php /* define('HTTP_SERVER', 'https://www.wyrobydomowe.nazwa.pl'); define('HTTPS_SERVER', 'https://www.wyrobydomowe.nazwa.pl'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.wyrobydomowe.nazwa.pl'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/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', '/home/wyrobydomowe/ftp/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_RP_LANGUAGES', DIR_WS_LANGUAGES); define('DIR_RP_MODULES', DIR_WS_MODULES); Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 15, 2017 Share Posted May 15, 2017 For the shop side, you are missing some of the settings and the domain name is wrong. Making these changes should get it to work. For the admin, change the domain name to now use www and it should work. If you want the site to work with www you have to purchase the ssl cert that way. It can work with both www and without it but only if it was ordered that way. define('HTTP_SERVER', 'https://wyrobydomowe.nazwa.pl'); define('HTTPS_SERVER', 'https://wyrobydomowe.nazwa.pl'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', '.wyrobydomowe.nazwa.pl'); define('HTTPS_COOKIE_DOMAIN', '.wyrobydomowe.nazwa.pl'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog.'); Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Miropl Posted May 15, 2017 Author Share Posted May 15, 2017 I have improved the catalog /includes/configure and the shop page has spawned? <?php /* define('HTTP_SERVER', 'https://wyrobydomowe.nazwa.pl'); define('HTTPS_SERVER', 'https://wyrobydomowe.nazwa.pl'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', '.wyrobydomowe.nazwa.pl'); define('HTTPS_COOKIE_DOMAIN', '.wyrobydomowe.nazwa.pl'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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', '/home/wyrobydomowe/ftp/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_RP_LANGUAGES', DIR_WS_LANGUAGES); define('DIR_RP_MODULES', DIR_WS_MODULES); */ // define our database connection /* define('DB_SERVER', 'sql.wyrobydomowe.nazwa.pl:3305'); define('DB_SERVER_USERNAME', 'xxxxxxxxxxxxx); define('DB_SERVER_PASSWORD', 'xxxxxxxxx'); define('DB_DATABASE', 'xxxxxxxxx'); define('USE_PCONNECT', 'true'); define('STORE_SESSIONS', 'mysql'); */ define('HTTP_SERVER', 'https://www.wyroby-domowe.pl'); define('HTTPS_SERVER', 'https://www.wyroby-domowe.pl'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', '.wyroby-domowe.pl'); define('HTTPS_COOKIE_DOMAIN', '.wyroby-domowe.pl'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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_JAVASCRIPT', DIR_WS_INCLUDES . 'javascript/'); 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', '/home/wyrobydomowe/ftp/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_RP_LANGUAGES', DIR_WS_LANGUAGES); define('DIR_RP_MODULES', DIR_WS_MODULES); // define our database connection define('DB_SERVER', 'sql.wyrobydomowe.nazwa.pl:3305'); define('DB_SERVER_USERNAME', 'xxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxx'); define('DB_DATABASE', 'xxxxxxxxx'); define('USE_PCONNECT', 'true'); define('STORE_SESSIONS', 'mysql'); ?> Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 16, 2017 Share Posted May 16, 2017 I'm sorry but I don't understand what you mean by "spawned". Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Miropl Posted May 16, 2017 Author Share Posted May 16, 2017 Does not work properly There is no graphics. Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 16, 2017 Share Posted May 16, 2017 I looked at your site and it looks fine. Maybe you need to clear your cache? Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Miropl Posted May 16, 2017 Author Share Posted May 16, 2017 Hello. After these changes SSL works. Catalog/includes/configure.php */ define('HTTP_SERVER', 'https://www.wyroby-domowe.pl'); define('HTTPS_SERVER', 'https://www.wyroby-domowe.pl'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.wyroby-domowe.pl'); define('HTTPS_COOKIE_DOMAIN', 'www.wyroby-domowe.pl'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); However, when I open a page, SSL does not exist, but just click on a category and SSL is turned on and then running all the time. Why does SSL not work from the beginning? I do not understand what the problem is? Works but does not work? :- Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 16, 2017 Share Posted May 16, 2017 You probably need redirect code added. See the link I posted previously for that. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Miropl Posted May 16, 2017 Author Share Posted May 16, 2017 SSL Work Super..... :D Thank you so much for your help! ------------------------------------ For others, You need to make changes www.wyroby-domowe.pl Replaces your domain :thumbsup: catalog/includes/configure: */ define('HTTP_SERVER', 'https://www.wyroby-domowe.pl'); define('HTTPS_SERVER', 'https://www.wyroby-domowe.pl'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'www.wyroby-domowe.pl'); define('HTTPS_COOKIE_DOMAIN', 'www.wyroby-domowe.pl'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); Admin/includes/configure: */ define('HTTP_SERVER', 'https://www.wyroby-domowe.pl'); define('HTTP_CATALOG_SERVER', 'https://www.wyroby-domowe.pl'); define('HTTPS_CATALOG_SERVER', 'https://www.wyroby-domowe.pl'); define('ENABLE_SSL_CATALOG', 'true'); And adding to catalog/.htaccess RewriteEngine OnRewriteCond %{HTTPS} !=onRewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Link to comment Share on other sites More sharing options...
♥14steve14 Posted May 17, 2017 Share Posted May 17, 2017 Now you have that working drop your website url into this page and see the results https://search.google.com/search-console/mobile-friendly In this day and ages no sites should fail this simple test. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Miropl Posted May 17, 2017 Author Share Posted May 17, 2017 It's not good. Is there a description somewhere how to customize OsCommerce for mobile devices? Link to comment Share on other sites More sharing options...
♥14steve14 Posted May 17, 2017 Share Posted May 17, 2017 Unfortunately there is no real way of altering the codebase from older versions to the BS version. It does mean that you have to start over with a fresh install, but that should be looked upon as a way to update your store. Think of it as giving a bricks and mortar store a coat of paint and a reshuffle. As PHP versions get updated on hosts, the latest version will be the one that works. It is possible to alter the database so it will work with the newer version so at least your data can be used. Sorry for the bad news. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
csuwebdesign Posted October 23, 2017 Share Posted October 23, 2017 On 16/05/2017 at 9:31 PM, Miropl said: SSL Work Super..... :D Thank you so much for your help! ------------------------------------ For others, You need to make changes www.wyroby-domowe.pl Replaces your domain catalog/includes/configure: Admin/includes/configure: And adding to catalog/.htaccess Hi there, I'm having some issues with enabling an SSL certificate on a clients website; www.ukuleleforsale.co.uk I've adjusted the configure file and the admin / configure and also added the RewriteRule to the htaccess file. When trying to view the website homepage (http://www.ukuleleforsale.co.uk/) it doesn't direct to https but when you click a link/page within the site is does go to https, so its just getting the site to redirect to https initially rather than http seems to be the issue. Any help / advice would be much appreciated. Thank you Alex Link to comment Share on other sites More sharing options...
MrPhil Posted October 23, 2017 Share Posted October 23, 2017 So if I give http: for your store, it doesn't get redirected to https:? Please show us your .htaccess code to redirect to https: -- it's probably wrong, or in the wrong place (it needs to be up near the top, before all the store-related stuff). Something like this should work (combines forcing https with forcing www): RewriteEngine On RewriteCond %{HTTPS} !on [OR] RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ https://www.ukuleleforsale.co.uk/$1 [R=301,L] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.