bacterie Posted July 21, 2010 Share Posted July 21, 2010 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 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted July 21, 2010 WHMCS Support Manager Share Posted July 21, 2010 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" /> 0 Quote Link to comment Share on other sites More sharing options...
bacterie Posted July 21, 2010 Author Share Posted July 21, 2010 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 0 Quote Link to comment Share on other sites More sharing options...
bacterie Posted July 23, 2010 Author Share Posted July 23, 2010 Hello, Can anyone help me on this? I'm at the end of my wits. Thanks 0 Quote Link to comment Share on other sites More sharing options...
Heatpak Posted July 27, 2010 Share Posted July 27, 2010 I get security errors in both sites if using IE. Are you using any "http://" in your code for images and pages? 0 Quote Link to comment Share on other sites More sharing options...
mylove4life Posted July 27, 2010 Share Posted July 27, 2010 there are a lot of places using HTTP:// in the paths... instead of this " http://atom-hosting.com/modules/mod_swmenufree/images/na_normal.gif " use "modules/mod_swmenufree/images/na_normal.gif" see if that helps... remove all http:// from the pages... 0 Quote Link to comment Share on other sites More sharing options...
b.ahmed Posted July 27, 2010 Share Posted July 27, 2010 We had same problem few days back......Just change EVERY http:// to https:// Change it and your problem will be solved. When using SSL you can't add anything with http:// in code. 0 Quote Link to comment Share on other sites More sharing options...
bluby Posted September 25, 2010 Share Posted September 25, 2010 This occurs when something on your page is not secure. That is what the partically secure notice means. This can be an image or a bit of code that you have added to your site. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.