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

Https and {$ImagesDir} help needed

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-11-2003, 06:58 AM
 
Ceolas Ceolas is offline
 

Member
  
Join Date: Jan 2003
Posts: 15
 

Default Https and {$ImagesDir} help needed

I'm having problems with the 'Do you want to display insecure elements yes/no' alert when switching to https. I have gone through the checkout page about 20 times looking for the http call, and I think I could use a fresh eye.

Anyone see anything insecure? or anything else that would cause this?

All Images should be called via {$ImagesDir}, and everything I see has the ../skin1/images/ inserted.


http://www.scrubsandscraps.com/xcart/

Thanks
Reply With Quote
  #2  
Old 08-11-2003, 07:14 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

set up a test account and ill take al look
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 08-15-2003, 06:49 AM
 
Ceolas Ceolas is offline
 

Member
  
Join Date: Jan 2003
Posts: 15
 

Default

Anyone find anything?

I'm starting to think this is server related, since I can't see anything pulling from http, only from ../. But I've been known to not see something until it bites me sometimes.

Thanks
David
Reply With Quote
  #4  
Old 08-15-2003, 10:46 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

in config.php see if your https setting has www in it

if so just get rid of the www and try that
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 08-19-2003, 10:05 AM
 
Ceolas Ceolas is offline
 

Member
  
Join Date: Jan 2003
Posts: 15
 

Default

$xcart_http_host ="scrubsandscraps.com";
$xcart_https_host ="lx2.mindstate.com/scrubsandscraps.com";
$xcart_web_dir ="/xcart";

I took the www. out of the http just in case, but no change.

Is there an easy way to make the {$ImagesDir} tag be replaced by the full http or https call instead of relative calls to the images?

lx2.mindstate.com/scrubsandscraps.com/ instead of ../images/art/
Reply With Quote
  #6  
Old 08-20-2003, 03:10 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

the whole point of the {$ImagesDir} tag is that it doesnt have hard coded http or https.
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #7  
Old 08-20-2003, 06:06 AM
 
Ceolas Ceolas is offline
 

Member
  
Join Date: Jan 2003
Posts: 15
 

Default

Figured it out...

<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=topflash WIDTH=233 HEIGHT=82>

When including Flash and Director pieces the .cab call causes the security error. Macromedia has an https protocol in place so just change the above code to:

<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=topflash WIDTH=233 HEIGHT=82>
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:26 PM.

   

 
X-Cart forums © 2001-2020