Post by butte » Thu May 09, 2013 12:13 pm

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).

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by sdynak » Thu May 09, 2013 4:19 pm

@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.

New member

Posts

Joined
Wed Jan 02, 2013 8:52 am
Location - Bayville, New Jersey

Post by Avvici » Thu May 09, 2013 4:26 pm

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

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by flywatches » Thu May 09, 2013 10:15 pm

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.

Jonathan


New member

Posts

Joined
Fri Oct 19, 2012 11:38 pm
Location - Gilbert, AZ

Post by butte » Fri May 10, 2013 12:00 am

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.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by Avvici » Fri May 10, 2013 12:14 am

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.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by cdamianou » Tue Aug 13, 2013 6:10 pm

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?

http://www.magictao.co.uk


Active Member

Posts

Joined
Tue Aug 09, 2011 2:13 pm

Post by JAY6390 » Tue Aug 13, 2013 8:10 pm

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

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by webdeveloperlabs » Thu Dec 12, 2013 11:06 am

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.

Pay-As-You-Go Web Development - Full service website, mobile and software development.

http://www.webdeveloperlabs.com



Posts

Joined
Thu Dec 12, 2013 11:02 am


Post by michael321 » Sun Feb 16, 2014 1:29 am

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!

Newbie

Posts

Joined
Fri Feb 14, 2014 12:20 am

Post by Avvici » Mon Feb 17, 2014 1:25 pm

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.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by michael321 » Tue Feb 18, 2014 12:05 am

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!

Newbie

Posts

Joined
Fri Feb 14, 2014 12:20 am

Post by Avvici » Tue Feb 18, 2014 7:08 am

We don't want to mix topics so I am locking this topic. I will comment on your other topic at that location.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC
Who is online

Users browsing this forum: No registered users and 63 guests