SSL- and non-SSL-objects.

ThemeBurn SupportForumsOpenCart ThemesShoppica OpenCart ThemeSSL- and non-SSL-objects.

This topic has been marked as not resolved.

Dear Themeburn,

 

I love you templats however I am having some problems to with the layout. Under http://www.m-dent.at all the content or on the left side and the design is all mess up.

 

I checked with me webhost proider and this is what they wrote:

 

This path-issue is a problem of your template. A template should only use relative-paths, to enable all customers a smooth and trouble-free shopping, via SSL- an non-SSL-URL.

As your Shop now mixes objects from http://host17.ssl-net.net/m-dent_at and https://host17.ssl-net.net/m-dent_at for http://host17.ssl-net.net/m-dent_at and from http://host17.ssl-net.net/m-dent_at, https://host17.ssl-net.net/m-dent_at, and http://m-dent.at for http://m-dent.at, this situation will only get a bit better with an own certificate. Users with strict browser-settings will still get error-messages for your page, containing both SSL- and non-SSL-objects.

Depending on the browser-(default-)settings, such errors can leed to problems at display, to warning-messages, or no problems at all. As you can’t influence your customers browser-settings at the server side, the only way to solve this issue for all customers is to have all loaded objects (HTML, images, etc.) via the same transport.
Do you have any suggestion how can I fix this?
thanks
 BM
June 20, 2012 at 12:32 pm #10584

Hi @BM!

Firstly, we are not able to open your domain. It contains no opencart installation.
About your SSL issue – we are pretty aware of your webhost provider’s advice and we don’t load non-SSL resources on SSL pages. It should be a custom modification that is causing problems for you.
The only place you could have https problems is the product details page, which should no be opened with https in general. You could check this post if this is your issue.

Regards,
ThemeBurn team

June 22, 2012 at 11:07 am #10633

Thanks for the reply.

I checked with another IT person and he took a closer look and said that the problem is not on the SSL but on the script.

When you go to our homepage ( you will be able to access open cart now) and click to view source you will notice that the line 7 has

I was told that the problem in on the WWW before the HOST17…

The problem is that we cannot find where the index file is taking this info from, so we cannot change it. Could you helps us on that?

or maybe you will have a different suggestion to fix our problem?!?!?

thanks again
rgds
Breno

 BM
July 6, 2012 at 7:13 pm #11135

Hi,
I have some more info on this strange behavior… I don’t think it’s SSL related..
but in the URL mangling, if you view http://m-dent.at/ everything shows up correctly, but when http://www.m-dent.at/ is entered, is when the anomalies occur, it rewrites the URL’s such that the style-sheet url has a ‘www.’ pre-pended to the url.

see code from page-source below:


Line 7: <base href="http://www.host17.ssl-net.net/m-dent_at/" />
Line 10: <link rel="stylesheet" type="text/css" href="http://www.host17.ssl-net.net/m-dent_at/catalog/view/theme/shoppica2/stylesheet/screen.css.php?v=2.0&amp;is_mobile=0&amp;is_touch=0&amp;language=ltr&amp;price_design=label&amp;border=0&amp;font_body=default&amp;font_navigation=default&amp;font_navigation_weight=default&amp;font_navigation_style=default&amp;font_navigation_size=16&amp;font_intro=default&amp;font_intro_weight=default&amp;font_intro_style=default&amp;font_intro_size=32&amp;font_title=default&amp;font_title_weight=default&amp;font_title_style=default&amp;font_price=default&amp;font_price_weight=default&amp;font_price_style=default&amp;font_button=default&amp;font_button_weight=default&amp;font_button_style=default&amp;font_button_size=16" media="screen" />
Line 12: <link rel="stylesheet" type="text/css" href="http://www.host17.ssl-net.net/m-dent_at/catalog/view/theme/shoppica2/stylesheet/ie.css.php?v=2.0&amp;theme=shoppica2" media="screen" />
Line 14: <style type="text/css">body.s_layout_fixed {   background-color: #edf3f5;   background-image: url('http://www.host17.ssl-net.net/m-dent_at/catalog/view/theme/shoppica2/images/texture_3.png');   background-repeat: repeat;   background-position: top left;   background-attachment: scroll; } .s_main_color, #twitter li span a, .s_button_add_to_cart, .s_box h2, .box .box-heading, .checkout-heading a, #welcome_message a {   color: #4cb1ca; } #footer_categories h2 a:hover {   color: #4cb1ca !important; } .s_main_color_bgr, #cart .s_icon, #shop_contacts .s_icon, .s_list_1 li:before, .s_button_add_to_cart .s_icon, #intro .s_button_prev, #intro .s_button_next, .buttons .button, .noty_message button.s_main_color_bgr, #cart_menu .s_icon, .s_notify .s_success_24, .s_button_wishlist .s_icon, .s_button_compare .s_icon, .s_product_row .s_row_number, .jcarousel-prev, .jcarousel-next {   background-color: #4cb1ca; } .buttons input[type=submit].button, .buttons input[type=button].button, .noty_message button.s_ma...
Line 21: $sReg.set('/tb/image_url', 'http://host17.ssl-net.net/m-dent_at/image/');$sReg.set('/tb/theme_stylesheet_url', 'http://www.host17.ssl-net.net/m-dent_at/catalog/view/theme/shoppica2/stylesheet/');$sReg.set('/tb/is_mobile', '0');$sReg.set('/tb/basename', 'shoppica2');$sReg.set('/tb/shopping_cart_url', 'http://host17.ssl-net.net/m-dent_at/index.php?route=checkout/cart');$sReg.set('/tb/wishlist_url', 'http://host17.ssl-net.net/m-dent_at/index.php?route=account/wishlist');$sReg.set('/tb/schemer_config', jQuery.parseJSON('{"path":"0","predefined_scheme":"Blue","colors":{"main":"4cb1ca","secondary":"f12b63","intro":"e6f6fa","intro_text":"103e47","intro_title":"4cb1ca","price":"4cb1ca","price_text":"ffffff","promo_price":"f12b63","promo_price_text":"ffffff","plain_price_text":"000000","plain_promo_price_text":"ff3000","background":"edf3f5","texture":"texture_3","texture_repeat":"repeat","texture_position":"top left","texture_attachment":"scroll"},"is_parent":"0","parent_vars":{"colors":[]}}'));$sReg.s...
Line 42:                 <a id="site_logo" href="http://www.host17.ssl-net.net/m-dent_at/">
Line 118:     <a href="http://www.host17.ssl-net.net/m-dent_at/">Home</a>
Line 640: <script type="text/javascript" src="http://www.host17.ssl-net.net/m-dent_at/catalog/view/theme/shoppica2/javascript/common.js.php?v=2.0&amp;is_mobile=0&amp;is_touch=0&amp;language_direction=ltr"></script>
Line 641: <link rel="stylesheet" type="text/css" href="http://www.host17.ssl-net.net/m-dent_at/catalog/view/theme/shoppica2/javascript/noty/css/jquery.noty.css" media="screen" />

Please let me know if this helps, or if more info is required to solve this issue.

note: if I save the page source, and remove the www. which is pre-pended to the URL, everything works as it should.

thanks again
rgds
Breno

 BM
July 7, 2012 at 8:43 am #11140

I see. You are using shared SSL certificate and your site secure URL is different. When you click on ‘checkout’ the site opens under different domain . You have also most likely wrong opencart config, because all of your links (wheter secure or not) open under host17.ssl-net.net/m-dent_at/

We have attached a patch (just upload the files from the zip archive and replace the current ones) that should resolve your issues when opening your domain with www, but you should correct your opencart config anyway. First, change to the default theme and see if everything works as expected, then change to Shoppica (be sure to apply the attached patch) to check if there are still problems.

Regards,
ThemeBurn team

July 9, 2012 at 6:09 pm #11196
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.