Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Aug 2011
    Posts
    9
    Plugin Contributions
    0

    Default Addon Template Causing SSL Problems-How to track it down?

    I am getting a "this page includes other resources that are not secure" in Google Chrome, when attempting to load SSL pages. I switched to the classic template and the problem went away. Only in the past week have customers been contacting me saying the site is not secure. Not sure what has happened? I believe the template is "Bask Black". Here is the link the login page that has the error. (Remove spaces)
    https://www.e w k a r m s.com/zen8/index.php?main_page=login
    Viewing the source, and checking it on the website "why no padlock" it says there is a insecure form call on lines 531 and 571.
    I can't figure out from looking at the "view source", which PHP file(s) need edited. (I think that's what needs done????)
    Thank you so much in advance for any help, after much searching here on the forum and trying different things, I am at the hair pulling point!

  2. #2
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Addon Template Causing SSL Problems-How to track it down?

    Quote Originally Posted by machinerye View Post
    I am getting a "this page includes other resources that are not secure" in Google Chrome, when attempting to load SSL pages. I switched to the classic template and the problem went away. Only in the past week have customers been contacting me saying the site is not secure. Not sure what has happened? I believe the template is "Bask Black". Here is the link the login page that has the error. (Remove spaces)
    https://www.e w k a r m s.com/zen8/index.php?main_page=login
    Viewing the source, and checking it on the website "why no padlock" it says there is a insecure form call on lines 531 and 571.
    I can't figure out from looking at the "view source", which PHP file(s) need edited. (I think that's what needs done????)
    Thank you so much in advance for any help, after much searching here on the forum and trying different things, I am at the hair pulling point!
    your advanced search bar isn't submitting to https
    Try going to developers tool kit, use the last field on the bottom and search for "quick_find_header"
    my guess is it will be in somethign like includes/templates/bask_black/common/tpl_header.php (or somethign similar)
    and look for the zen_draw_form( and then change where the parameter reads 'NONSSL' change it to 'SSL'
    That should resolve it.

    OR in your configure.php from http:// to https:// in all the addresses.

  3. #3
    Join Date
    Aug 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: Addon Template Causing SSL Problems-How to track it down?

    Thank you so much, its working now!!! The only thing I see now is that if you are on a SSL page, and you hit either the "New Products" or "Featured Products" link in the header, it takes you to a https page with the same error I had as before. (Some items are not secure) Any of the other links to a non SSL page are good of course, and if you hit the "my account" link or any other https link, its good, except the New Products or Featured Products (again, only in the header, the two of the same links in the side bar don't go to SSL)

    As you might have seen, I don't have the catalog setup with SSL...I am far from an expert at this, but from what I have read, SSL is bad for search engine indexing.

    So I think while not a perfect fix, this will be good as the pages where the customer enters personal data have no errors...

    Thanks again!
    Last edited by machinerye; 30 Nov 2014 at 11:36 PM.

  4. #4
    Join Date
    Dec 2011
    Location
    Wisconsin, USA
    Posts
    674
    Plugin Contributions
    21

    Default Re: Addon Template Causing SSL Problems-How to track it down?

    You also have an issue on your product listings across the board. You'll need to backtrack those as well.

    Ideally you should find out if the request is over HTTP or HTTPS and then use NONSSL or SSL accordingly.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,873
    Plugin Contributions
    96

    Default Re: Addon Template Causing SSL Problems-How to track it down?

    Quote Originally Posted by bislewl View Post
    You also have an issue on your product listings across the board. You'll need to backtrack those as well.

    Ideally you should find out if the request is over HTTP or HTTPS and then use NONSSL or SSL accordingly.
    Or simply use the $request_type variable that's preset to either NONSSL or SSL based on the current page access ...

  6. #6
    Join Date
    Aug 2011
    Posts
    9
    Plugin Contributions
    0

    Default Re: Addon Template Causing SSL Problems-How to track it down?

    So what was your method of getting this to mostly work? Modify a few files to properly generate ssl links as applicable or to wholesale try to make everything https?
    I used bislewl's instructions, and they worked perfectly, except as I mentioned, when SSL mode, and clicking on the two links in the header, you get the "some items unsecure" notice. However when in regular mode, no problems.

    I didn't (or don't) want to make the whole catalog https for the potential to fall in search engine rankings. That is big for the customers to be able to find me.

    Or simply use the $request_type variable that's preset to either NONSSL or SSL based on the current page access ...
    Thank you so much for the tip, I am reading up on it now, and found this older thread on it for the "how to" (which I need!)-

    http://www.zen-cart.com/showthread.p...warning/page10

  7. #7
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Addon Template Causing SSL Problems-How to track it down?

    Quote Originally Posted by machinerye View Post
    Thank you so much, its working now!!! The only thing I see now is that if you are on a SSL page, and you hit either the "New Products" or "Featured Products" link in the header, it takes you to a https page with the same error I had as before. (Some items are not secure) Any of the other links to a non SSL page are good of course, and if you hit the "my account" link or any other https link, its good, except the New Products or Featured Products (again, only in the header, the two of the same links in the side bar don't go to SSL)

    As you might have seen, I don't have the catalog setup with SSL...I am far from an expert at this, but from what I have read, SSL is bad for search engine indexing.

    So I think while not a perfect fix, this will be good as the pages where the customer enters personal data have no errors...

    Thanks again!
    So what was your method of getting this to mostly work? Modify a few files to properly generate ssl links as applicable or to wholesale try to make everything https?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Replies: 2
    Last Post: 6 Jul 2011, 01:22 PM
  2. URL Hard Coded causing SSL problems
    By ion5319 in forum General Questions
    Replies: 1
    Last Post: 18 Mar 2008, 06:21 AM
  3. SSL change to configure files causing problems
    By Bryony in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 12 Jul 2006, 11:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg