Jump to content

SSL issue, partially encrypted content.


bacterie

Recommended Posts

Hello everyone,

 

I'm having a strange issue with my site. When i am in the whmcs part of the site, for some reason, some resources (images, css files) are loaded via http instead of https.

URL is https://atom-hosting.com/client/index.php?language=English&Itemid=2

 

The resources load correctly if i go to the main page https://atom-hosting.com/ and the blue bar is displayed.

 

I don't know what to do about the resources when i am in the client (whmcs) folder. I even tried hardcoding with https them but it didn't work, the mod was ignored.

 

Thanks

Link to comment
Share on other sites

  • WHMCS Support Manager

The problem mainly seems to be the stylesheets in your custom template using http. You'd need to modify your template so they use the path instead of the URL. eg:

 

 <link href="http://www.atom-hosting.com/templates/atom/favicon.ico" rel="shortcut icon" type="image/x-icon" />

 

Should be:

 

<link href="/templates/atom/favicon.ico" rel="shortcut icon" type="image/x-icon" />

Link to comment
Share on other sites

Hello,

 

The resources are not hardcoded.

They have a form similar to <img src="<?php echo $this->baseurl ?>/templates/atom/images/logo.png" alt="LOGO" border="none" /></a>

 

As i said before https://atom-hosting.com/ for example works great, all the resources are loaded via https.

 

On https://atom-hosting.com/client (the whmcs folder ) they don't load via https but via http.

 

Any attempt of coding the path to the respective resource as

<link href="/templates/atom/favicon.ico" rel="shortcut icon" type="image/x-icon" /> or even as <link href="https://www.atom-hosting.com/templates/atom/favicon.ico" rel="shortcut icon" type="image/x-icon" /> is ignored.

I also have no redirects that i know of active.

 

Thanks

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated