X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   News and Announcements (https://forum.x-cart.com/forumdisplay.php?f=28)
-   -   Attention users of X-Cart vv.4.0.x - 4.7.1 (https://forum.x-cart.com/showthread.php?t=71920)

jazzmang 04-28-2015 01:11 PM

Re: Attention users of X-Cart vv.4.0.x - 4.7.1
 
For what it is worth, this is what I've found so far with testing with applying the 4.5.5 patches to 4.5.0.

I get a white blank screen of death in their related functions if I upload any of these files:

func/func.backoffice.php
func/func.cart.php
func/func.core.php
func/func.user.php
include/register.php

Also this files doesn't exist in 4.5.0:

include/func.perms.php
provider/register.php

The Smarty update is pretty straight forward and I don't see that causing an issue. Same pretty much goes with the skin .tpl files.

The real question comes down to those 4 above and the 2 that don't exist in 4.5.0.

My next move will be to try applying the diffs with patch but I won't get around until that tomorrow.

One thing I'm not sure about is pconf.diff - do I need that?

My understanding from one of the previous posts here is that I don't need to do anything with patch.sql as it just marks that it was updated.

FYI earlier this week the x-cart site was being hammered by various probes from Isreal. They were probing the review portions in the catalog. Could be they were already looking for active explores or not. Mainly just a small load factor on the server. Far as I can tell, nothing was done and WAF OWSAP rules blocked anything bad.

RichieRich 04-28-2015 02:07 PM

Re: Attention users of X-Cart vv.4.0.x - 4.7.1
 
I can't see the 4.5.4 patch either

peggyr 04-28-2015 03:37 PM

Re: Attention users of X-Cart vv.4.0.x - 4.7.1
 
I just applied the security update to my 4.6.6 test server after making backups of DB, and files, as well as the 3 individual files and the 2 SQL DBs that were affected in my case.

I applied the Patch.sql - and the 3 diff files and all applied successfully.

I tested an order from start to finish, and had no problems.

Then I repeated on my production server, and again all applied fine for me.

Thanks for the quick patch for the problem.

Jon 04-28-2015 04:08 PM

Re: Attention users of X-Cart vv.4.0.x - 4.7.1
 
The patches for 4.5.5 won't work for previous 4.5.x versions as there are major differences. There will need to be separate patches for those branches.

cherie 04-28-2015 05:31 PM

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

Originally Posted by Jon
The patches for 4.5.5 won't work for previous 4.5.x versions as there are major differences. There will need to be separate patches for those branches.

Hopefully at least for 4.5.4 which might be applicable to older versions. Or maybe a separate one for 4.5.2. 4.5.3 and 4.5.5 had some pretty significant changes in them.

BBM_ 04-28-2015 06:04 PM

Re: Attention users of X-Cart vv.4.0.x - 4.7.1
 
Patch (4.4.5) applied to a 4.4.4 store successfully.

However there is no provider/register.php in 4.4.4 (both my version and the version in the file area)

Is this a 4.4.5 file only?

bjt 04-28-2015 06:21 PM

Re: Attention users of X-Cart vv.4.0.x - 4.7.1
 
After applying the patch for 4.3.2 all of the user information disappears in the backend. The data is still in the database but just not displaying.
I restored the original func.user.php and the functionality returns.

Here are the new lines of code (starting at line 201):

$need_password = (bool)$need_password;
$need_cc = (bool)$need_cc;
$user = abs(intval($user));
$usertype = addslashes($usertype);

Does anyone have a suggestion as to how to get the new file to work without disrupting the store?

Thanks very much.

BBM_ 04-28-2015 09:02 PM

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

Originally Posted by BBM_
Patch (4.4.5) applied to a 4.4.4 store successfully.


There appears to be a small bug where the default payment method on the checkout now defaults to the last method, not the first?

aim 04-28-2015 09:06 PM

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

Originally Posted by bjt
After applying the patch for 4.3.2 all of the user information disappears in the backend. The data is still in the database but just not displaying.
I restored the original func.user.php and the functionality returns.

Here are the new lines of code (starting at line 201):

$need_password = (bool)$need_password;
$need_cc = (bool)$need_cc;
$user = abs(intval($user));
$usertype = addslashes($usertype);

Does anyone have a suggestion as to how to get the new file to work without disrupting the store?

Thanks very much.


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.

cap 04-28-2015 10:01 PM

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


All times are GMT -8. The time now is 09:03 AM.

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