Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

    Default Re: Social Bookmark Causes "page contains both secure and nonsecure items" message

    Quote Originally Posted by JE2009 View Post
    I was having a tuff time figuring out why I was getting the dreaded "page contains both secure and nonsecure items" on secure pages.

    I try everything I found on the forum:

    - check for absolute links
    - make sure you modify googele analytics
    _ Script referencing http


    Well I finally figure out the problem.

    I installed a social bookmark script which ran globally and was causing the message to appear. Found this article that mentioned "why would you want to bookmark a checkout". http://pro-webs.net/blog/2009/08/26/...ckout-suicide/

    I installed the script on the footer.php and was being called by alll pages including any secure pages e.g. checkout, my account, contact us.

    I am posting it here, so it helps someone else pullilng their hair how to get rid off the dreaded "secure/nosecure items" message. As the article states, it could be a suicide at checkout for your potential customers.



    I would like to use the social bookmarking, anyone know how to get around this problem?
    I am getting the same error in I.E. and not FF. I found it is my social bookmarks. My includes/template/temp/common/tpl_header.php file for bookmarks looks like this....I read your article and not sure what I am suppose to do with these links.

    </div></ul>
    <div id="bookmark" class="bookmark">

    <a rel="nofollow" style="text-decoration:none;" href="http://www.facebook.com/share.php?u=/" onclick="window.open('http://www.facebook.com/share.php?u='+encodeURIComponent(document.title)+'&amp;d=&amp;tag=&amp;u='+encod eURIComponent(location.href));return false;" title="Share this site with your facebook friends"/><img src="http://www.burnerbooks.com/images/facebook.gif" style="padding-bottom:1px;" alt="facebook on burnerbooks"/>


    <a rel="nofollow" style="text-decoration:none;" href="http://www.yahoo.com/" onclick="window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&amp;d=&amp;tag=&amp;u='+enc odeURIComponent(location.href));return false;" title="Share this site with your yahoo friends" onmouseover="schnapp('Yahoo','','http://www.social-bookmark-script.de/img/bookmarks/yahoo_trans_ani.gif',1)" onmouseout="schnipp()"/>
    <img src="http://www.social-bookmark-script.de/img/bookmarks/yahoo_trans.gif" alt="Add to: Yahoo" name="Yahoo" width="20" height="20" border="0" id="Yahoo" style="padding-bottom:1px;"/>


    <a rel="nofollow" style="text-decoration:none;" href="http://www.favit.com/" onclick="window.open('http://www.favit.de/submit.php?url='+(document.location.href));return false;" title="Add to: Favit" onmouseover="schnapp('Favit','','http://www.social-bookmark-script.de/img/bookmarks/favit_trans_ani.gif',1)" onmouseout="schnipp()"/>


    <a rel="nofollow" style="text-decoration:none;" href="http://digg.com/" onclick="window.open('http://digg.com/submit?phase=2&amp;url='+encodeURIComponent(location.href)+'&amp;bodytext=&amp;t ags=&amp;title='+encodeURIComponent(document.title));return false;" title="Add to: Digg" onmouseover="schnapp('Digg','','http://www.social-bookmark-script.de/img/bookmarks/digg_trans_ani.gif',1)" onmouseout="schnipp()"/>


    <a rel="nofollow" style="text-decoration:none;" href="http://www.stumbleupon.com/" onclick="window.open('http://www.stumbleupon.com/submit?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent( document.title));return false;" title="Add to: StumbleUpon" onmouseover="schnapp('StumbleUpon','','http://www.social-bookmark-script.de/img/bookmarks/stumbleupon_trans_ani.gif',1)" onmouseout="schnipp()"/>
    <img src="http://www.social-bookmark-script.de/img/bookmarks/stumbleupon_trans.gif" alt="Add to: StumbleUpon" name="StumbleUpon" width="20" height="20" border="0" id="StumbleUpon" style="padding-bottom:1px;"/>


    <a rel="nofollow" style="text-decoration:none;" href="http://www.google.com/" onclick="window.open('http://www.google.com/bookmarks/mark?op=add&amp;hl=co.uk&amp;bkmk='+encodeURIComponent(location.href)+'&amp;anno tation=&amp;labels=&amp;title='+encodeURIComponent(document.title));return false;" title="Add to: Google" onmouseover="schnapp('Google','','http://www.social-bookmark-script.de/img/bookmarks/google_trans_ani.gif',1)" onmouseout="schnipp()"/>
    <img src="http://www.social-bookmark-script.de/img/bookmarks/google_trans.gif" alt="Add to: Google" name="Google" width="20" height="20" border="0" id="Google" style="padding-bottom:1px;"/>


    <a rel="nofollow" style="text-decoration:none;" href="http://del.icio.us/" onclick="window.open('http://del.icio.us/post?v=2&amp;url='+encodeURIComponent(location.href)+'&amp;notes=&amp;tags=&amp; title='+encodeURIComponent(document.title));return false;" title="Add to: Del.icio.us" onmouseover="schnapp('Delicious','','http://www.social-bookmark-script.de/img/bookmarks/del_trans_ani.gif',1)" onmouseout="schnipp()"/><img src="http://www.social-bookmark-script.de/img/bookmarks/del_trans.gif" style="padding-bottom:1px;" alt="Add to: Del.icio.us" name="Delicious" border="0" id="Delicious" style="padding-bottom:1px;"/>

    </div>

    Any suggestions? Thanks, Kim

  2. #2
    Join Date
    Jul 2009
    Location
    Maryland
    Posts
    65
    Plugin Contributions
    0

    Default Re: Social Bookmark Causes "page contains both secure and nonsecure items" message

    Quote Originally Posted by kburner View Post
    I am getting the same error in I.E. and not FF. I found it is my social bookmarks. My includes/template/temp/common/tpl_header.php file for bookmarks looks like this....I read your article and not sure what I am suppose to do with these links.

    </div></ul>
    <div id="bookmark" class="bookmark">

    <a rel="nofollow" style="text-decoration:none;" href="http://www.facebook.com/share.php?u=/" onclick="window.open('http://www.facebook.com/share.php?u='+encodeURIComponent(document.title)+'&amp;d=&amp;tag=&amp;u='+encod eURIComponent(location.href));return false;" title="Share this site with your facebook friends"/><img src="http://www.burnerbooks.com/images/facebook.gif" style="padding-bottom:1px;" alt="facebook on burnerbooks"/>


    <a rel="nofollow" style="text-decoration:none;" href="http://www.yahoo.com/" onclick="window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&amp;d=&amp;tag=&amp;u='+enc odeURIComponent(location.href));return false;" title="Share this site with your yahoo friends" onmouseover="schnapp('Yahoo','','http://www.social-bookmark-script.de/img/bookmarks/yahoo_trans_ani.gif',1)" onmouseout="schnipp()"/>
    <img src="http://www.social-bookmark-script.de/img/bookmarks/yahoo_trans.gif" alt="Add to: Yahoo" name="Yahoo" width="20" height="20" border="0" id="Yahoo" style="padding-bottom:1px;"/>


    <a rel="nofollow" style="text-decoration:none;" href="http://www.favit.com/" onclick="window.open('http://www.favit.de/submit.php?url='+(document.location.href));return false;" title="Add to: Favit" onmouseover="schnapp('Favit','','http://www.social-bookmark-script.de/img/bookmarks/favit_trans_ani.gif',1)" onmouseout="schnipp()"/>


    <a rel="nofollow" style="text-decoration:none;" href="http://digg.com/" onclick="window.open('http://digg.com/submit?phase=2&amp;url='+encodeURIComponent(location.href)+'&amp;bodytext=&amp;t ags=&amp;title='+encodeURIComponent(document.title));return false;" title="Add to: Digg" onmouseover="schnapp('Digg','','http://www.social-bookmark-script.de/img/bookmarks/digg_trans_ani.gif',1)" onmouseout="schnipp()"/>


    <a rel="nofollow" style="text-decoration:none;" href="http://www.stumbleupon.com/" onclick="window.open('http://www.stumbleupon.com/submit?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent( document.title));return false;" title="Add to: StumbleUpon" onmouseover="schnapp('StumbleUpon','','http://www.social-bookmark-script.de/img/bookmarks/stumbleupon_trans_ani.gif',1)" onmouseout="schnipp()"/>
    <img src="http://www.social-bookmark-script.de/img/bookmarks/stumbleupon_trans.gif" alt="Add to: StumbleUpon" name="StumbleUpon" width="20" height="20" border="0" id="StumbleUpon" style="padding-bottom:1px;"/>


    <a rel="nofollow" style="text-decoration:none;" href="http://www.google.com/" onclick="window.open('http://www.google.com/bookmarks/mark?op=add&amp;hl=co.uk&amp;bkmk='+encodeURIComponent(location.href)+'&amp;anno tation=&amp;labels=&amp;title='+encodeURIComponent(document.title));return false;" title="Add to: Google" onmouseover="schnapp('Google','','http://www.social-bookmark-script.de/img/bookmarks/google_trans_ani.gif',1)" onmouseout="schnipp()"/>
    <img src="http://www.social-bookmark-script.de/img/bookmarks/google_trans.gif" alt="Add to: Google" name="Google" width="20" height="20" border="0" id="Google" style="padding-bottom:1px;"/>


    <a rel="nofollow" style="text-decoration:none;" href="http://del.icio.us/" onclick="window.open('http://del.icio.us/post?v=2&amp;url='+encodeURIComponent(location.href)+'&amp;notes=&amp;tags=&amp; title='+encodeURIComponent(document.title));return false;" title="Add to: Del.icio.us" onmouseover="schnapp('Delicious','','http://www.social-bookmark-script.de/img/bookmarks/del_trans_ani.gif',1)" onmouseout="schnipp()"/><img src="http://www.social-bookmark-script.de/img/bookmarks/del_trans.gif" style="padding-bottom:1px;" alt="Add to: Del.icio.us" name="Delicious" border="0" id="Delicious" style="padding-bottom:1px;"/>

    </div>

    Any suggestions? Thanks, Kim
    Kim,

    I still having figure out how to remove the bookmarks for secure pages. Any help from someone else will be greatly appreciated :)

    I know is not the right fix, in the meantime, I commented out all the code regarding the social bookmarks. Hope this helps!

    JE

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Social Bookmark Causes "page contains both secure and nonsecure items" message

    With the code in the FOOTER, Try overrides... PAGE-SPECIFIC footers...

    1. Determine what pages are SSL (eg: login, checkout_shipping)

    2. Create folders named with the names of those pages. EG a folder called checkout_shipping in /templates/your_template/templates/

    ... so you get... /templates/your_template/templates/checkout_shipping/

    Take a copy of the ORIGINAL tpl_footer.php and put it in that folder. (ORIGINAL = unedited tpl_footer.php)

    /templates/your_template/templates/checkout_shipping/tpl_footer.php

    Try it first with "checkout_shipping" to see if what I say works, or if I'm just talking junk...
    20 years a Zencart User

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default Re: Social Bookmark Causes "page contains both secure and nonsecure items" message

    I agree that no reasoning exists for bookmarking on secured pages overall... but you can do this to eliminate the warning

    Code:
    <a rel="nofollow" style="text-decoration:none;" href="http://www.facebook.com/share.php?u=/" onclick="window.open('http://www.facebook.com/share.php?u='+encodeURIComponent(document.title)+'&amp;d=&amp;tag=&amp;u='+encod eURIComponent(location.href));return false;" title="Share this site with your facebook friends"/><img src="//www.burnerbooks.com/images/facebook.gif" style="padding-bottom:1px;" alt="facebook on burnerbooks"/>
    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

 

 

Similar Threads

  1. HCL (Help Center Live) - Page contains both secure and nonsecure items
    By Ruthless in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 5 Mar 2009, 07:41 AM
  2. Replies: 3
    Last Post: 8 Oct 2008, 01:53 AM
  3. Help with "page contains both secure and nonsecure items"
    By bpais in forum General Questions
    Replies: 4
    Last Post: 21 Jan 2008, 03:32 AM
  4. Replies: 10
    Last Post: 18 Apr 2007, 10:29 AM
  5. This page contains both secure and nonsecure items
    By superprg in forum General Questions
    Replies: 21
    Last Post: 21 Mar 2007, 08:26 PM

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