- Posts: 30
- Thank you received: 0
SSL error in checkout due to product images
I searched the forum but found no answer.
My checkout pages do not report complete SSL encryption. The chrome inspect element report indicates that it is due to the product image not being an ssl source;
The page at www.mysite.com/index.php/cloud/checkout displayed insecure content from www.mysite.com/media/com_hikashop/upload/cloud_security.jpg .
How can the image be referenced correctly?
Thanks,
Paul
Please Log in or Create an account to join the conversation.
No one reported such problem. As far as we know the images displayed by HikaShop are always with HTTPS if the current URL has HTTPS.
Can you give a link to your website so that we can see that ?
Please Log in or Create an account to join the conversation.
Thank you for looking in to this.
You can see the error on any product on our site with an image, such as:
www.ip3inc.com/index.php/cissp-online
Paul
Please Log in or Create an account to join the conversation.
Change the line:
$this->uploadFolder_url = JURI::base().$this->uploadFolder_url;
to:
$this->uploadFolder_url = JURI::base(true).$this->uploadFolder_url;
in the file administrator/components/com_hikashop/helpers/image.php and that should circumvent the problem.
Please Log in or Create an account to join the conversation.
Great, that fixed it.
Thank you very much.
Paul
Please Log in or Create an account to join the conversation.
nicolas wrote: You have something which is not configured properly in Joomla as Joomla is returning the non SSL URL of the website although the website is in SSL mode.
Change the line:
$this->uploadFolder_url = JURI::base().$this->uploadFolder_url;
to:
$this->uploadFolder_url = JURI::base(true).$this->uploadFolder_url;
in the file administrator/components/com_hikashop/helpers/image.php and that should circumvent the problem.
Please Log in or Create an account to join the conversation.
media/com_hikashop/upload/thumbnail_234x190/image.jpg
should be:
/media/com_hikashop/upload/thumbnail_234x190/image.jpg
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.