Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL problem


amateur

Recommended Posts

Posted

After installing the cert ect and editing the config files the padlock does not come up on ie and in mozzilla the red key shows . I have noticed that when it goes to https the url in the address bar goes red and shows https://mydomain.com//catalog

 

Is that the problem (//) ?

 

Cheers guys . I reall am an amateur.

Posted

yes, you have an extra / in your configure.php, most likely in the https setting, where it says https server put it as https://mydomain.com without any / at the end - same with the http server

Posted
yes, you have an extra / in your configure.php, most likely in the https setting, where it says https server put it as https://mydomain.com without any / at the end - same with the http server

 

 

Fixed that but the old padlock is still a problem. When clicked on it says that the site is secure so it looks like the cert is ok .Is there anything in here I've missed ?

Also the database is on a different sever would that have any effect ?

 

/ Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://blabla.net'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://blabla.net'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'blabla.net');

define('HTTPS_COOKIE_DOMAIN', 'blabla.net');

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', '/hsphere/local/home/blabla/blabla.net/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

admin config

 

 

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://blabla.net'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://blabla.net');

define('HTTPS_CATALOG_SERVER', 'https://blabla.net');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/blabla/blabla.net/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/hsphere/local/home/blabla/blabla.net/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/hsphere/local/home/blabla/blabla.net/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/hsphere/local/home/blabla/blabla.net/catalog/'); // absolute path required

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

Posted

You'll have to give us a real link to your site and not a fake one in order for us to see what you did wrong. Usual causes of this problem are:

 

1. Explicit references to http URL sources for images

2. Incorrect test to determine $request_type in application_top.php resulting in the <base> tag being wrong for secure pages.

 

P.S. Why, when people ask for help here, do they make a point of hiding their store's URL? I never understood this... Of course, anyone who does mention a store URL here had better be ready for some jerks to try to find and break into the admin panel. The first thing you should do is password-protect it - renaming it as well is even better.

Posted

Changed the urls to src="logo.gif" but it's still the same .

And while I'm at it I've broken the admin panel now too . Tell me why I don't like Sundays ....

Archived

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

×
×
  • Create New...