Jump to content

SSL


Recommended Posts

Hi Guys,

 

My shop (https://speelgoedonlinekopen.nl) is secured. Complete shop part is secure. But When I look not all is secured by httpS.

I found that the base_url in the php is not set properly I think.

 

The base_url is build up from the complete domain and somewhere it pasts http in from instead of https.

I search all files and replaced all http://speelgoedonlinekopen.com into https://speelgoedonlinekopen.com

 

 

Fronpage is complete secure but a category for example not.

 

script that is not correct:
 

 

 

}   if(!isMobile())   {   if (typeof CS == 'undefined') CS = {};   CS.QuickView = {   BASE_URL : 'http://www.speelgoedonlinekopen.com/'   QS_FRM_TYPE : 0,   QS_FRM_WIDTH : 60,   QS_FRM_HEIGHT : 90,

 

Who can assist me?

Link to comment
Share on other sites

It appears to be a module called 'csquickview'.  This is not a base module included with Prestashop, perhaps it was included with your theme.  Look for the module in the modules/csquickview folder, and then search for any .tpl files in there that would be displaying the code you are seeing.

Link to comment
Share on other sites

The code I see is:

 

if (typeof CS == 'undefined') CS = {};
CS.QuickView = {
BASE_URL : '{$base_dir}',
QS_FRM_TYPE : {$resize_type},
QS_FRM_WIDTH : {$resize_width},
QS_FRM_HEIGHT : {$resize_height},
QS_IMG: '{$base_dir}modules/csquickview/images/cs_quickview_preview.png'
 
 
Now I am looking where the $base_dir is declared...
Link to comment
Share on other sites

Found this in utils.php:

 

   if($path!="" && $path[strlen($path)-1]!="/") $path.="/";
   $base_dir=$path.substr_replace($targetPath, '', 0, strlen($current_path));
 
Not sure if this is what I am looking for
 
 
and this:
$path = $current_path.str_replace("\0", "", $_POST['path']);
 
Edited by roeni1` (see edit history)
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...