Jump to content

SSL Certificate - Shared or Dedicated


Recommended Posts

Line 15 de classes/Link.php:

/* SSL Management */
if (!defined('_PS_USE_SSL_'))
  define('_PS_USE_SSL_', (isset($useSSL) AND $useSSL AND Configuration::get('PS_SSL_ENABLED')) ? 'https://'.$_SERVER['SERVER_NAME'] : '');



And line 99 /init.php:

  'base_dir_ssl' => (Configuration::get('PS_SSL_ENABLED') ? 'https://' : 'http://').htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').__PS_BASE_URI__,



I replaced "$_server" for my ssl shared address and it seems me worked well.

Link to comment
Share on other sites

Ok, I believe I have the correct path. When you click on checkout or contact a pop up appears stating that the ssl certificate is valid but the name on the certificate is invalid and doesn't match the site. Anyone know where I can change this? Thank you to the ones having patience!

Link to comment
Share on other sites

I have changed “$_server” in both files to that of the link my hosts gave me but now my website doesnt work.

When i go to my website I just get a blank page and when I go to the backend I get a message saying "Current theme unavailable. Please check your theme directory name and permissions."

:(


[EDIT]

I have started a new thread with the problems that I have to allow more people to look at it and possibly help me here:

http://www.prestashop.com/forums/viewthread/13972/installation_configuration___upgrade/prestashop_stopped_working__blank_page/

:)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...