Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Security: Page displays secure & non-secure

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-26-2007, 01:33 PM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default Security: Page displays secure & non-secure

It was receintly brought to my attention that my page has secure and non-secure items when in https. I use FF and this warning doesnt pop up in my browser so I never knew but it does in IE.

I know what the problem is... All of my product images and thumbnails are not in the {ImagesDir} but are referenced in an image folder (http://www.systemskins.com/images). I had done this long before I had X-cart and figured why should I move them if when creating a product it asks me for the url anyways. These same images are linked to in all of my eBay auctions as well.

Is there a quick fix to this? or am I going to have to move all the images into the /skin1/images/ folder and edit all 500+ products and change the paths of the image and thumbnail?


Doug
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
Reply With Quote
  #2  
Old 12-26-2007, 03:08 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Security: Page displays secure & non-secure

If you have the http harcoded into your pages, I think IE will give you that error on an https page. Have you tried calling the images without using the full url? In other words: <img src="images/myimage.gif" alt=""> as opposed to <img src="http://www.systemskins.com/images/myimage.gif" alt="">
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #3  
Old 12-26-2007, 04:41 PM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default Re: Security: Page displays secure & non-secure

no no... When I created all my 500+ products, the 2 spots where you add a product image and the product thumbnail. Theres a button that allows you to browse to a url for the images. I inputted the url of my images that I already had stored on my server for my eBay images. http://www.systemskins.com/images/image.gif and http://www.systemskins.com/images/thumbnails/image.gif etc.

However, now when you view the product page when you are in https:// you will get a warning of, "this page has secure and insecure items, do you wish to proceed" or something of that nature.

Understand now?

Is there a way to fix this without having to change the link (in the add/search products admin area) in every product that I have? Like somehow taking my www.systemskins.com/images folder and making it secure or something?
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
Reply With Quote
  #4  
Old 12-26-2007, 06:05 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Security: Page displays secure & non-secure

Oh - sorry. I assumed you had modified your checkout page to include images - those are the ones that have https.

I am not sure that you need to have https on a product page. Is that something you require?
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #5  
Old 12-26-2007, 07:13 PM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default Re: Security: Page displays secure & non-secure

No it's not... but if someone goes into checkout mode and then continues to shop you are in https mode because I have it checked in admin that you cant go back and forth from http to https.

But regardless... I'm not sure your catching my drift... anyone know a way to fix this?
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
Reply With Quote
  #6  
Old 12-26-2007, 07:30 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Security: Page displays secure & non-secure

It does not have to stay in https unless you want it to.

You can unselect Do not redirect customers from HTTPS to HTTP in
in general settings->security options

If you want to stay in https - you could try to change the hard links in the database. I'll stop trying to help you now.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #7  
Old 12-26-2007, 07:38 PM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default Re: Security: Page displays secure & non-secure

I only have that option selected because it was part of the security checklist on these forums to have it checked. I don't know why... Security hole maybe? If doesn't hurt anything then I can uncheck it... Why is this recommended to leave checked?

You don't need to stop helping me, not trying to offend you or anything. Just wasn't sure you were understanding what I meant.
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
Reply With Quote
  #8  
Old 12-26-2007, 07:52 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Security: Page displays secure & non-secure

I think I understand - but I am not set up this way, so I can't verify my suggestions. Maybe you do need someone else to help.

Also read in these forums that running in https causes loading on the server, so we both need somone else to explain why it may be a security issue to stop using https when you come back to using http after https access.

My other suggestion - don't know if it will work - was to try changing the hard http links in the images_T and images_P tables in the db to remove the http://. If you are lucky, then the generated html won't have it either, and IE may be okay with it. You could try it on one item, if it works, then you could use a sql query to update all of them at once.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:59 AM.

   

 
X-Cart forums © 2001-2020