koolmind Posted September 5, 2014 Share Posted September 5, 2014 (edited) Prestashop ver 1.4.8.2 Hi there,if I enable ssl protocol from Prestashop Back Office, all pages using https suddenly crash! From code inspector I see that several files (css and js files) are loaded by http protocol.Is there a way to force the the https prefix for them? in classes\FrontController.php there's a beautiful function that seems able to do the trick... but I don't know how! public function setMedia(){ global $cookie; Tools::addCSS(_THEME_CSS_DIR_.'global.css', 'all'); ..... } My settings.inc.php reports this line... but as you can see, there's no protocol for that. define('__PS_BASE_URI__', '/itart/store/'); Edited September 5, 2014 by koolmind (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 6, 2014 Share Posted September 6, 2014 all pages using https suddenly crash! what you mean by "crash" ? you see white page, some error codes? or what? Link to comment Share on other sites More sharing options...
koolmind Posted September 6, 2014 Author Share Posted September 6, 2014 Crash means that all javascript and css files that are not loaded via https are blocked by browser's security policy. I need to force Prestashop to use https instead of http to load those files Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now