If this is your first visit, check our documentation. To post, register or login.
Forums / Customization from the Admin / padlock on login broken, because of header search and sidebox search. Any fix?

padlock on login broken, because of header search and sidebox search. Any fix?

Started by zenartman on 9 Apr 2015, 6:43 AM · Views: 1,686

Results 1 to 7 of 7
9 Apr 2015, 6:43 AM
#1
zenartman avatar

zenartman

Zen Follower

Join Date:
Nov 2005
Posts:
134
Plugin Contributions:
0

padlock on login broken, because of header search and sidebox search. Any fix?

My website started showing padlock with yellow triangle when one arrives on login. When checking all, I find that advanced search and search sidebox causes this:

The page at 'https://www..../index.php?main_page=login' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://www....com/index.php?main_page=advanced_search_result'. This endpoint should be made available over a secure connection.

After turning off both header search and search sidebox, I see the login page shows nice green padlock on chrome.

I know, I need to upgrade and have a very bad history of messing during upgrade. Till then is there a way to disable the header search and sidebox search on login page and the following checkout shipping, checkout payment8 checkout confirmation pages etc till being transferred to paypal or whatever payment processor?

Thank you all.

9 Apr 2015, 7:15 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: padlock on login broken, because of header search and sidebox search. Any fix?

zenartman:

My website started showing padlock with yellow triangle when one arrives on login. When checking all, I find that advanced search and search sidebox causes this:

The page at 'https://www..../index.php?main_page=login' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://www....com/index.php?main_page=advanced_search_result'. This endpoint should be made available over a secure connection.

After turning off both header search and search sidebox, I see the login page shows nice green padlock on chrome.

I know, I need to upgrade and have a very bad history of messing during upgrade. Till then is there a way to disable the header search and sidebox search on login page and the following checkout shipping, checkout payment8 checkout confirmation pages etc till being transferred to paypal or whatever payment processor?

Thank you all.

Link to your site?

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

9 Apr 2015, 9:14 AM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: padlock on login broken, because of header search and sidebox search. Any fix?

I have found that just making the form SSL will fix this.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

9 Apr 2015, 9:27 AM
#4
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: padlock on login broken, because of header search and sidebox search. Any fix?

swguy:

I have found that just making the form SSL will fix this.

Thanks for the tip!

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Apr 2015, 9:36 AM
#6
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: padlock on login broken, because of header search and sidebox search. Any fix?

The call to zen_draw form contains a call to zen_href_link. The third parameter of that call is $request_type. Change this to 'SSL'. (This is in includes/templates/YOUR_TEMPLATE/sideboxes/tpl_search_header.php). You have to do that for both sideboxes that have this issue.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.