+ Reply to Thread
Results 1 to 5 of 5

Thread: Secure and unsecure problem

  1. #1
    Client Tommr1's Avatar
    Join Date
    Jan 2006
    Location
    Northen NY State
    Posts
    79
    Squirrelcart version
    v3.1.3

    Secure and unsecure problem

    I am getting an error at http://www.theweddingdept.com/store/store.php
    When I use Firefox to place an order all seems to go fine.
    IE throws an error message
    Chrome shows lock with red X and line through https
    I think I am calling all my links through https except for validation links and godaddy security seal.
    I tried removing them both and I still get the errors.
    One flaming hoop at a time.

  2. #2
    Client Tommr1's Avatar
    Join Date
    Jan 2006
    Location
    Northen NY State
    Posts
    79
    Squirrelcart version
    v3.1.3

    I think I found it.

    It looked like my share script was the culprit.
    When I took it out the errors seemed to go away.


    This was in the head:
    <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher:'10541958-871e-4901-96b7-d8ef40add4d1'});</script>

    and this was in the body:
    <!-- AddThis Button BEGIN -->
    <span class="st_email"></span><span class="st_facebook"></span><span class="st_twitter"></span><span class="st_sharethis" displayText="Share"></span>
    <!-- AddThis Button END -->
    One flaming hoop at a time.

  3. #3
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    7,880
    Squirrelcart version
    v3.5.0
    Change this:
    PHP Code:
    <script type="text/javascript"  src="http://w.sharethis.com/button/buttons.js"></script><script   type="text/javascript">stLight.options({publisher:'10541958-871e-4901-96b7-d8ef40add4d1'});</script> 
    To this:
    PHP Code:
    <?php if (!strstr(SC_STORE_PAGE_DYN,'https')):?>
         <script type="text/javascript"  src="http://w.sharethis.com/button/buttons.js"></script><script   type="text/javascript">stLight.options({publisher:'10541958-871e-4901-96b7-d8ef40add4d1'});</script>
    <?php endif; ?>

  4. #4
    Client Tommr1's Avatar
    Join Date
    Jan 2006
    Location
    Northen NY State
    Posts
    79
    Squirrelcart version
    v3.1.3

    Thank you !

    Thanks for taking the time to read my post and offer the solution.
    This is exactly why I never hesitate to recommend your script!

    I only wish I had found the problem earlier.
    It pays to take the time to make sure everything is working correctly.
    God knows how many orders I may have missed but thank goodness it is fixed!

    you guys are the best!
    One flaming hoop at a time.

  5. #5
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    7,880
    Squirrelcart version
    v3.5.0
    You're welcome! Glad it worked. I happened to run across that before for another customer. Anything you don't want to put on a secure page can be surrounded with an if statement like that.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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