Jump to content

Archived

This topic is now archived and is closed to further replies.

Miropl

SSL certificate not work?

Recommended Posts

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 do not know what I'm doing wrong?

 

Ps.

Sorry for my English.

I am writing with the help of Google translator.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
Excuse me.

I did not notice that during the translation Goggle changed my domain name.

My domain is:

 

wyroby-domowe.pl

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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');
?>
 
 

 

 

 

Share this post


Link to post
Share on other sites

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 BS gold live - osC CE in development (awesome)

Share this post


Link to post
Share on other sites

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

 

check.PNGValid Certificate found. check.PNGCertificate valid through: Feb 16 17:28:14 2018 GMT
Certificate Issuer: nazwa.pl sp. z o. 
SSL Protocols Supported: TLSv1 TLSv1.1 TLSv1.2 check.PNGAll 30 items called securely!

 

question_mark.PNGInsecure <form> call
Found on line # 84 in file: www.wyroby-domowe.pl/index.html

Insecure <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);

 

 

 

Share this post


Link to post
Share on other sites

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.');

Share this post


Link to post
Share on other sites

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');
?>
 

 

 

 

Share this post


Link to post
Share on other sites

I looked at your site and it looks fine. Maybe you need to clear your cache?

Share this post


Link to post
Share on other sites
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?
 
post-343622-0-32644900-1494959725_thumb.jpg
 
Works but does not work?  :-

Share this post


Link to post
Share on other sites

You probably need redirect code added. See the link I posted previously for that.

Share this post


Link to post
Share on other sites

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 On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

 

 

Share this post


Link to post
Share on other sites

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

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites
It's not good.

Is there a description somewhere how to customize OsCommerce for mobile devices?

Share this post


Link to post
Share on other sites

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

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites
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  :thumbsup:

 

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

 

 

Share this post


Link to post
Share on other sites

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]


If you are running the "official" osC 2.3.4 or 2.3.4.1 download, your installation is obsolete! Get (stable) Frozenpatches or (unstable) Edge. See also the naming convention and the latest community-supported responsive "Edge" release

Share this post


Link to post
Share on other sites

×