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

NEW xcart template - xtreme Gear

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #41  
Old 07-17-2013, 08:33 AM
 
albertchui albertchui is offline
 

Senior Member
  
Join Date: Aug 2005
Posts: 163
 

Default Re: NEW xcart template - xtreme Gear

hi, will, i got another problem that the register.php is not under https even i chosed the https option in general setting, the log in page is ok, only register.php, i contact xcart they said it's because my customer skin of some insecure items cause it, can you help, thanks

albert
__________________
X-Cart Gold 4.6
Reply With Quote

The following user thanks albertchui for this useful post:
carpeperdiem (07-17-2013)
  #42  
Old 07-17-2013, 08:41 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: NEW xcart template - xtreme Gear

Quote:
Originally Posted by albertchui
hi, will, i got another problem that the register.php is not under https even i chosed the https option in general setting, the log in page is ok, only register.php, i contact xcart they said it's because my customer skin of some insecure items cause it, can you help, thanks

albert

xTreme has issues with insecure images.
use <img src="{$AltImagesDir}/custom/
(or other secure directory)
for your images.

you can't use the xtreme images directory path as-is
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #43  
Old 07-17-2013, 10:31 AM
 
Will Hayes Will Hayes is offline
 

eXpert
  
Join Date: Apr 2007
Location: Waterford, Ireland
Posts: 206
 

Default Re: NEW xcart template - xtreme Gear

Hi Albert,

Our template does not affect php files - so I can't see exactly how this is a template problem.
Have you setup your https URL in your config file - and do you have your SSL cert installed correctly?
Send your issue through to our support system so we can investigate further.

regards
W.
__________________
The xCart Store.com - Professional x-cart modules and x-cart templates
xMenus, Predictive Search, xBanners2, Busy Kitchen, xtreme Gear, Modern Living, xMobile - Smartphone template & Responsive x-cart template

x-cart 3.x.x
x-cart 4.x.x
Reply With Quote
  #44  
Old 07-17-2013, 10:35 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: NEW xcart template - xtreme Gear

Will, look at Ticket: #TDL-432-88091
That will explain how xTreme is serving insecure images on https pages.
I solved this by not using the xTreme file paths and using {$ImagesDir} or {$AltImagesDir} to serve images that may be used while in https.

J
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote

The following user thanks carpeperdiem for this useful post:
albertchui (07-17-2013)
  #45  
Old 07-17-2013, 11:00 AM
 
albertchui albertchui is offline
 

Senior Member
  
Join Date: Aug 2005
Posts: 163
 

Default Re: NEW xcart template - xtreme Gear

hi, will, i just submitted a ticket #WUW-974-22531, thanks for the help.

albert
__________________
X-Cart Gold 4.6
Reply With Quote
  #46  
Old 07-17-2013, 11:04 AM
 
albertchui albertchui is offline
 

Senior Member
  
Join Date: Aug 2005
Posts: 163
 

Default Re: NEW xcart template - xtreme Gear

Quote:
Originally Posted by Will Hayes
Hi Albert,

Our template does not affect php files - so I can't see exactly how this is a template problem.
Have you setup your https URL in your config file - and do you have your SSL cert installed correctly?
Send your issue through to our support system so we can investigate further.

regards
W.

config file was set up correctly and i ask my server guy to double check the ssl which is set up correctly, so i believe it's the insecure images, thanks

albert
__________________
X-Cart Gold 4.6
Reply With Quote
  #47  
Old 07-17-2013, 05:17 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: NEW xcart template - xtreme Gear

xTreme owners:

If you bought your copy of xTreme after February 2013, you may want to be certain the Feb 2013 security patches are/were applied...

I discovered some discrepancies between xTreme and my old 4.5.4 template -- So I asked TXS support why the difference, and they told me my files were defective (and had bad html)... but I kept digging.

http://forum.x-cart.com/showthread.php?p=361459
http://forum.x-cart.com/showthread.php?t=66153

SO I now have to patch xTreme. Hope it doesn't break related templates.
Great. Backing up now.

Will, please look at ticket: #WDJ-813-41306
(and try not to cringe when you read the part about "commenting" the code - I held my tongue!)

Will, PLEASE for the benefit of the next xTreme customer, add this to your docs:

"Thank you for purchasing our Xtreme Gear template for xcart version 4.5.x -- please note, you will need to ensure the security patches from 2013-02-12 need to be applied┘ you can download the patch from your xcart file area."

4.5.5 default xcart distribution has this patch (4.5.4 and earlier need it) - but xTreme 4.5.x does not...

ALWAYS backup first!
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote

The following user thanks carpeperdiem for this useful post:
DavyMac (07-18-2013)
  #48  
Old 07-17-2013, 06:53 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: NEW xcart template - xtreme Gear

After all that...

One file needs to be patched in xTreme Gear:

/skin/xtreme_gear/customer/main/register.tpl
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #49  
Old 07-18-2013, 08:21 AM
 
albertchui albertchui is offline
 

Senior Member
  
Join Date: Aug 2005
Posts: 163
 

Default Re: NEW xcart template - xtreme Gear

Quote:
Originally Posted by carpeperdiem
After all that...

One file needs to be patched in xTreme Gear:

/skin/xtreme_gear/customer/main/register.tpl


hi, i modified the file of register:

<form action="{$register_script_name}?{$php_url.query_st ring|escape}"


but the register.php still no lockpad, any idea why, thanks

albert
__________________
X-Cart Gold 4.6
Reply With Quote
  #50  
Old 07-18-2013, 08:35 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: NEW xcart template - xtreme Gear

Quote:
Originally Posted by albertchui
so i believe it's the insecure images

Albert,
Use firebug.
Identify the insecure images.
Most likely, they are xtreme placed images in /images/directory.
Don't use these images.
Instead, hard code the images to a path, such as:

<img src="{$AltImagesDir}/custom/

This is not a tutorial in how to hard code an image --
The point of this is to explain that xTreme's images if placed using the interface, will not be secure at https.
So simply hard code image paths to a skin images dir, such as $ImagesDir or $AltImagesDir

Got it?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote

The following user thanks carpeperdiem for this useful post:
albertchui (07-18-2013)
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



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 03:16 PM.

   

 
X-Cart forums © 2001-2020