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

Attention users of X-Cart vv.4.0.x - 4.7.1

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #21  
Old 04-28-2015, 10:22 PM
 
cap cap is offline
    
Join Date: Jun 2007
Posts: 2
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Hello,

I have X-Cart 4.1.10 and would like to apply the most recent security patches. However I am not seeing the archive in the "Updates and patches". Will this be added soon?

Thank you,
Greg
__________________
4.0
Reply With Quote
  #22  
Old 04-29-2015, 02:12 AM
 
DanUK DanUK is offline
 

X-Adept
  
Join Date: Dec 2003
Location: UK
Posts: 800
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

I have a 4.4.2 branch but there are no relevant files in my File Area..what should I use to patch?

Thanks

Dan
__________________
4.4.2

and

4.6.1
Reply With Quote
  #23  
Old 04-29-2015, 03:13 AM
 
herber@wirehub.nl herber@wirehub.nl is offline
 

eXpert
  
Join Date: Nov 2002
Posts: 305
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by aim
I have reuploaded the
security-patch-2015-04-28_4.0.19.tgz
security-patch-2015-04-28_4.1.12.tgz
security-patch-2015-04-28_4.2.3.tgz
security-patch-2015-04-28_4.3.2.tgz

security patches.

I have removed the line
$user = abs(intval($user));
from these patches.

Sorry for that.
Hi Aim,

- Why is in the 4.6.6 > 4.7.2 upgrade, the addons.lst ignored when upgrading? All the files listed in there, are not being patched
- If I add all lines from addons.lst to file.lst, the files are patched, but it seems the modules are not upgraded very good, see my screenshot from my previous post.

Please do help since I want to upgrade our stores, these are very serious XSS bugs.
__________________
X-Cart 4.7.12
Reply With Quote
  #24  
Old 04-29-2015, 05:11 AM
  moonslice's Avatar 
moonslice moonslice is offline
 

Senior Member
  
Join Date: May 2004
Posts: 128
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by pogodog
I tried the patch for version 4.4.5. The first failure was that I have no provider/register.php file. I removed that diff section. The 2nd failure was that the include/lib/smarty/Smarty_Compiler.class.php patch failed. The 3rd failure was that the include/lib/smarty/Smarty.class.php patch failed. Still looking into it.

I'm having this exact same problem applying 4.4.5 patch to my 4.4.5 site when I try to do it in admin using the diff file.

I'm afraid to just upload the actual files through ftp that overwrite completely, as the diff method seems to think there are problems, and won't let me continue.
__________________
Jim - X-cart Gold 4.4.5
Reply With Quote
  #25  
Old 04-29-2015, 05:23 AM
 
jazzmang jazzmang is offline
 

Member
  
Join Date: Mar 2012
Posts: 12
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

I've manged to successfully manually apply the DIFF changes for the 4.5.5 to 4.5.0 now.

There are a couple of DIFFS that don't exist and don't need to be done (mentioned in my previous post in this thread.)

You do have to apply these changes by hand as the DIFF files line references are all off. Simple search will get you where you need to be however.

The only one that is a bit tricky is "include_register.php.diff".
You have to add additional "(" on a new line before:

$config['Security']['use_complex_pwd'] == 'Y'

And then add an additional ")" on an new line after the new line is added:

|| in_array($usertype, array('A', 'P'))

Beyond that, my testing shows things are still working.
__________________
Version 4.5.0 with Ability Template v1.052 (modified)
LAWP - PHP 5.3.29 (patched) - MySQL - 5.0.96 Community - suPHP
Reply With Quote

The following user thanks jazzmang for this useful post:
bullfrog (04-29-2015)
  #26  
Old 04-29-2015, 05:26 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by DanUK
I have a 4.4.2 branch but there are no relevant files in my File Area..what should I use to patch?

Thanks

Dan

It's usually the case that they only provide patches for the last version only in the older branches.
I've been using 4.4.5 patches on 4.4.2 sites - but patching the files manually.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #27  
Old 04-29-2015, 05:26 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by moonslice
I'm having this exact same problem applying 4.4.5 patch to my 4.4.5 site when I try to do it in admin using the diff file.

I'm afraid to just upload the actual files through ftp that overwrite completely, as the diff method seems to think there are problems, and won't let me continue.

Best thing is to just patch each file manually.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #28  
Old 04-29-2015, 05:35 AM
  moonslice's Avatar 
moonslice moonslice is offline
 

Senior Member
  
Join Date: May 2004
Posts: 128
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Thanks for your help.

1) What does that mean to patch each file manually? If the diff doesn't work (the safe way if there are customization) do you mean to upload through ftp? But that doesn't seem safe as I could be overwriting custom files.

2) It seems like it's not working the way it should. Is there a way to notify x-cart this needs to be fixed?

Thanks!
__________________
Jim - X-cart Gold 4.4.5
Reply With Quote
  #29  
Old 04-29-2015, 05:41 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Quote:
Originally Posted by moonslice
Thanks for your help.

1) What does that mean to patch each file manually? If the diff doesn't work (the safe way if there are customization) do you mean to upload through ftp? But that doesn't seem safe as I could be overwriting custom files.

2) It seems like it's not working the way it should. Is there a way to notify x-cart this needs to be fixed?

Thanks!

1) Download the files locally - then use a text editor or html editor to edit each file and make the changes in the diff file where it tells you to.

It's quite normal to have to patch files by hand, especially if you have a customised shop.
For example, if you have Altered Cart's One Page checkout installed, most of the files that need patching in the /func directory will have been altered, so will need patching manually.

2) If you are sure there's a problem - use your helpdesk to talk to them.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #30  
Old 04-29-2015, 05:44 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Attention users of X-Cart vv.4.0.x - 4.7.1

Do not copy files. Manual patch means making the changes to files yourself not using the script - http://help.x-cart.com/index.php?title=X-Cart:To_apply_a_patch_manually
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > News and Announcements



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

   

 
X-Cart forums © 2001-2020