Print Page | Close Window

How to find source of unsecured file

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=3847
Printed Date: 03-March-2025 at 5:24pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to find source of unsecured file
Posted By: cs
Subject: How to find source of unsecured file
Date Posted: 13-July-2010 at 12:42pm
When my customers check out, the "Lock" icon indicating a secure transaction is red flagged.  I figured that it was a pic file that I forgot to put the "s" in the URL and I was right, there was one picture that did not have the httpS.  It was the alternate image for the background in the website's theme.    It is located in the header.asp of my website theme.  I went there and fixed it and uploaded it.

I thought that change would fix the problem with the security issue, but it didn't.  I feel pretty sure that this file is the security problem, so I must need to change it somewhere besides the website template.  I thought that it might be in the header and footer files where I integrated the cart into the website theme.   I looked in the header and footer files and did not see this particular pic.  Where else might it be?  I know that product cart draws information from a lot of different files and I don't know where to start looking.

If you want to see what I am talking about go to www.creationsensation.com.  Put a product in the cart and click checkout.  When the cart goes secure, the only thing that is not secure is the dinosaur picture in the header. 

If you have suggestions on how to fix this, I would appreciate it.



Replies:
Posted By: Greg Dinger
Date Posted: 13-July-2010 at 12:54pm
without looking beyond this one, the following image is hard-coded to HTTP://
 
<img alt="image"
 src=" http://www.creationsensation.com/flash/image27-xml.jpg - http://www.creationsensation.com/flash/image27-xml.jpg "
 style="width: 750px; height: 100px;"><br>
You cannot hard code http:// references to images, CSS, JS, etc. without getting that warning.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: cs
Date Posted: 13-July-2010 at 1:31pm
Where?  Where is it hard coded?


Posted By: Hamish
Date Posted: 13-July-2010 at 1:35pm
In your header file - pc/header.asp :-)


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: Greg Dinger
Date Posted: 13-July-2010 at 1:38pm

It appears to be in your header.  Do a view source and look for this:

          <tr>
            <td class="picturebar" style="text-align: right;"
 background="../../picts/home-background2.jpg"><img alt="image"
 src=" http://www.creationsensation.com/flash/image27-xml.jpg - http://www.creationsensation.com/flash/image27-xml.jpg "
 style="width: 750px; height: 100px;"><br>
            </td>
          </tr>


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: cs
Date Posted: 13-July-2010 at 1:45pm
Thank you so much!  I added the "s" to the http and that solved the whole problem.  



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net