Jump to content

SSL buggy


Recommended Posts

 

 

i've found a solution for the $base_dir, which needs to be $base_dir_ssl (really? REALLY?), but $feedUrl does not work this way (why should it, it hillarious to edit the .tpl files just to switch to ssl..).

 

Anyhow: numerous modules deliver their content http://-prefixed as well so i HOPE there is a more general solution.

 

What can i do to FULLY activate SSL?

 

Cheers,

Marc

 

PS: Domain is https://www.flatterings.de/

Link to comment
Share on other sites

I'm using LeoConv, the free theme from here: http://www.leotheme.com/prestashop/themes/234-leo-converse.html

 

 

 

 

<div id="leobttslider63" class="carousel slide leobttslider">
    <div class="carousel-inner">
                    <div class="item active">
                                    <a href="/3-emporio-armani"><img src="http://www.flatterings.de/modules/leobtslider/images/8fe5f0f2275f4ce835b93ae3ec869b44.jpg" (...)

 

The "Leo Schieber" is administered from modules > LEO Schieber > Insert new slider > Browser > Save, so there is nothing i can edit there (it simply uses the uploaded image).

 

Other (native) functions work well, but the slider, such like "favorite products, related products, ..." are all messed up.

It the latest presta 1.5.6.1

Link to comment
Share on other sites

so, you have to modify module .php file

modules/leobtslider/libs/sources/images/source.php

there is a line:
 

$site_url = Tools::htmlentitiesutf8('http://'.$_SERVER['HTTP_HOST'].__PS_BASE_URI__).'modules/'.$this->module.'/images/';

you have to use https instead of http

Link to comment
Share on other sites

Great, thank you, we team was able to debug it thanks to your hint. Here is their suggestion:

 

- Please change also "leobtslider.php" (same bug)

- Change *every*

$site_url = Tools::htmlentitiesutf8('http://'.$_SERVER['HTTP_HOST'].__PS_BASE_URI__).(...)

to

$site_url = Tools::htmlentitiesutf8(__PS_BASE_URI__).(...)

..to make  it http/https-compatible.

 

 

 

CASE CLOSE!

Edited by mcian (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...