Page 3 of 3
Re: SSL just not working
Posted: Thu May 09, 2013 12:13 pm
by butte
Going with 1.5.3.x for a while may be worth the peace of mind -- while the other is being pursued by several people and does raise (anew or again) idiosyncrasies of OC, SSL, and server variations in mutual contexts (as distinguished from raising a "bug" as such in OC itself).
Re: SSL just not working
Posted: Thu May 09, 2013 4:19 pm
by sdynak
@flywatches.. hate to say it but it's the host.. they do not know how to set things up to work with OC properly.. it is hard to get them to acknowledge it and in the end switching may just be easier.. months later for me and not a single glitch with the issue with Jeff & wxhosting.. all I do now is box up products with my time.. I actually was at a point where I backed up my site 2 to 3 times a day manually and that is all but a memory.. its like being freed from prison.. best move I made. Good luck with your decision.
Re: SSL just not working
Posted: Thu May 09, 2013 4:26 pm
by Avvici
If there are problems with SSL encryption/functionality it's always either HUMAN ERROR ( in terms of not configuring correctly or you have items on your website that are breaking the encryption) or SERVER SIDE ERROR (where the cert was not installed correctly. This especially is common for 3rd party certs outside of your hosting provider) However, it's rarely an Opencart issue directly.
Make sure to check your website at
http://www.whynopadlock.com
Re: SSL just not working
Posted: Thu May 09, 2013 10:15 pm
by flywatches
Thanks for the feedback. If it were my host or server, I would assume it wouldnt have worked on on 1.5.3. It only seems to be an issue now that I've upgraded to 1.5.5.1. I also tested it on the padlock site and it passes every test.
Re: SSL just not working
Posted: Fri May 10, 2013 12:00 am
by butte
Some of the core and database changes from the 1.5.3.x to the 1.5.5.1 are significant. Unlike most software, OC is routinely tested on practicably every combination of hardware and operating systems in use as servers. Server nuances vary more than most people would guess, and more than experienced hands fully anticipate. Having one 1.5.5.1 running smoothly would allow borrowing from its setup to make a second one run smoothly. Not having one of those allows running prior old trusty for a while longer.
Re: SSL just not working
Posted: Fri May 10, 2013 12:14 am
by Avvici
Database changes have nothing to do with SSL unless it's producing errors that in turn would cause partial page encryption. I can't see that happening however.
Re: SSL just not working
Posted: Tue Aug 13, 2013 6:10 pm
by cdamianou
I have just noticed that my domains are not being redirected to HTTPS were they should be. This was definitely working a few days ago. I have no clue how to resolve this.
Any suggestions?
Re: SSL just not working
Posted: Tue Aug 13, 2013 8:10 pm
by JAY6390
Make sure your SSL is enabled in your admin (if you have multistore you'll need to enable it for each). Also make sure that if your HTTPS url's are defined in the config.php file that you change the http:// to https:// for them
Re: SSL just not working
Posted: Thu Dec 12, 2013 11:06 am
by webdeveloperlabs
With the other .htaccess scripts, the add to cart functionality was not working.
But this code did the trick:
Code: Select all
#Force HTTPS for Storefront
RewriteCond %{HTTPS} off
RewriteCond %{QUERY_STRING} ^route=checkout/checkout
RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
I also had to comment out this line:
Code: Select all
#RewriteRule ^(.*)$ https://beyondthesparkle.com/$1 [R=301,L]
and update the config files (root and admin) of course.
Re: SSL just not working
Posted: Sun Feb 16, 2014 1:29 am
by michael321
webdeveloperlabs wrote:With the other .htaccess scripts, the add to cart functionality was not working.
But this code did the trick:
Code: Select all
#Force HTTPS for Storefront
RewriteCond %{HTTPS} off
RewriteCond %{QUERY_STRING} ^route=checkout/checkout
RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
I also had to comment out this line:
Code: Select all
#RewriteRule ^(.*)$ https://beyondthesparkle.com/$1 [R=301,L]
and update the config files (root and admin) of course.
This is a brilliant idea, finally I found this code work well for all the 3 major browsers (IE, FF, Chrome), after searching high & low
How if I want my other pages (specially for products and information) to force to http, instead also published under https ?
Thanks!
Re: SSL just not working
Posted: Mon Feb 17, 2014 1:25 pm
by Avvici
It's actually not that brilliant. You shouldn't be using .htaccess to specify which pages should be SSL and which should not. There are simple procedures for this that are already in place in most of the Open Cart control files for example if you want to call category.tpl to be SSL then take a line like this:
Code: Select all
'href' => $this->url->link('product/category', 'path=' . $category['category_id'])
and change to this:
Code: Select all
'href' => $this->url->link('product/category', 'path=' . $category['category_id'], 'SSL')
This is assuming of course that you have SSL turned on and your htaccess is correct. I'm not talking about your custom .htacces edits.
Re: SSL just not working
Posted: Tue Feb 18, 2014 12:05 am
by michael321
avvici -arvixe- wrote:It's actually not that brilliant. You shouldn't be using .htaccess to specify which pages should be SSL and which should not. There are simple procedures ...........
Thank you for enlighten me

I will try this, and I have also problem in my admin backend, I posted another treat here:
http://forum.opencart.com/viewtopic.php?f=20&t=119772
On "Second issue (admin)", I have check an online tool saying my ssl has installed correctly (was installed by my host), but I have some codes on htaccess on pervent image hotlink; compression. I am not sure this causing my admin backend problem. This only happened after SSL installed.
Thanks again!
Re: SSL just not working
Posted: Tue Feb 18, 2014 7:08 am
by Avvici
We don't want to mix topics so I am locking this topic. I will comment on your other topic at that location.