X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   NEW xcart template - xtreme Gear (https://forum.x-cart.com/showthread.php?t=60312)

albertchui 07-17-2013 08:33 AM

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

carpeperdiem 07-17-2013 08:41 AM

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

Will Hayes 07-17-2013 10:31 AM

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.

carpeperdiem 07-17-2013 10:35 AM

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

albertchui 07-17-2013 11:00 AM

Re: NEW xcart template - xtreme Gear
 
hi, will, i just submitted a ticket #WUW-974-22531, thanks for the help.

albert

albertchui 07-17-2013 11:04 AM

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

carpeperdiem 07-17-2013 05:17 PM

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!

carpeperdiem 07-17-2013 06:53 PM

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

albertchui 07-18-2013 08:21 AM

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

carpeperdiem 07-18-2013 08:35 AM

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?


All times are GMT -8. The time now is 12:22 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.