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)
-   -   X-Cart v4.4.3 released (https://forum.x-cart.com/showthread.php?t=59213)

kustomrides 05-22-2011 08:14 PM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by cflsystems
In relation to the upgrade and previous posts in here about 4.4.3 upgrade script changing permissions QT admits it's a bug. Their response

Quote:

We're analyzing the code of the patch/upgrade procedure, and it seems that there is some issue in it which behaviour differs from the expected. We will make proper research and inform you about the results when they are ready


Oh, I have an idea about the upgrade/patch procedure. Instead of the process failing because the code-to-be-replaced isn't on the expected line, why not do a search-and-replace? It's an easy code to do in whatever language. Currently almost every modified file will fail an upgrade because added/deleted code moves the location of everything below it. Sure, you'll get fewer tickets from people asking you to do the upgrade, but still. And it would be easy. Just write a program to convert your diff files. I'd write one myself but I forgot my schooling.

seyfin 05-25-2011 02:06 AM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by alinush
I would sure appreciate a solution for the problem Carrie is explaining above.

Even after including the func and init files in the config file, the modules are still not initializing.

This version is breaking a lot of modules!


Could you please provide us with any module's distribution that works with prior versions 4.4.0-4.4.2 and does not work with the new version 4.4.3?

I will ask our maintenance team to address this issue and find a possible solution.

You can upload the distribution into your personal Helpdesk's File Area >> My Files section.

Thank you.

seyfin 05-25-2011 02:21 AM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by minfinger
Because I have a perfectly good running client on 4.4.2 right now.

But when I install 4.4.3 Gold and Pro for testing, I'm running into all kinds of weird issues.

For one, discounts on payments are not being applied correctly. I have CC setup with a 2% discount and Check with a $25 discount. If I choose check the CC discount is removed, but the Check discount is not applied. If I remove the payment option for Check, then that leaves CC as the only option. Well then the 2% discount is not applied at all.

I created a ticket on this issue, but it really sucks!

I'm going to go download a 4.4.2 PRO today and see if it has the same issues.

That is why I'm waiting until 4.4.4 to upgrade my 4.4.2 site. 4.4.3 is not stable as far as I'm concerned.


The bug has been fixed for version 4.4.4, the bug-fix (patch) is provided in the Issue Tracker:

http://bugtracker.qtmsoft.com/view.php?id=39686

Quote:

Originally Posted by minfinger
I also just got off the phone with who ever it is that answers at the 800 # and she said that there's no ETA on the 4.4.4 release. BOO!


ETA on the 4.4.4 release is August 1st 2011 approx.

seyfin 05-25-2011 02:48 AM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by kustomrides
Oh, I have an idea about the upgrade/patch procedure. Instead of the process failing because the code-to-be-replaced isn't on the expected line, why not do a search-and-replace? It's an easy code to do in whatever language. Currently almost every modified file will fail an upgrade because added/deleted code moves the location of everything below it. Sure, you'll get fewer tickets from people asking you to do the upgrade, but still. And it would be easy. Just write a program to convert your diff files. I'd write one myself but I forgot my schooling.


Actually, the patch/upgrade utility has been improved in the latest versions of X-Cart (as far as I remember, since 4.3.0).

Specifically, it searches for the code to be replaced around (above and below) the expected line. If found, it changes it to the new code.

For example:

Quote:

Index: include/func/func.category.php
@@ -942,8 +940,7 @@
'c.rpos'
);

- $search_condition =
- $join_tbl = array();
+ $search_condition = $join_tbl = array();

if ($current_area == 'A' || $current_area == 'P') {


The patch/upgrade utility searches for the following 8 lines of code around the line 942 in include/func/func.category.php:

Quote:

line 942: 'c.rpos'
line 943: );
line 944:
line 945: $search_condition =
line 946: $join_tbl = array();
line 947:
line 948: if ($current_area == 'A' || $current_area == 'P') {
line 949:


If found, the exiting code is changed to the following 7 lines of code:

Quote:

line 940: 'c.rpos'
line 941: );
line 942:
line 943: $search_condition = $join_tbl = array();
line 944:
line 945: if ($current_area == 'A' || $current_area == 'P') {
line 946:


It is basically the same procedure when applying patches manually:
http://help.qtmsoft.com/index.php?title=X-Cart:To_apply_a_patch_manually

Joona 05-27-2011 11:06 AM

Re: X-Cart v4.4.3 released
 
Anyone else have this after upgrade?
When customers tries to log in he gets error:
----
An error occurred while processing a request. Please refresh the page.

If the problem still persists after refreshing the page please contact us on the matter.
----

TL408 05-27-2011 09:48 PM

Re: X-Cart v4.4.3 released
 
Hi Carrie. Just curious if "Product Importer" module happened to be on that list as well? Thanks!

Quote:

Originally Posted by BCSE
I think I counted up around 20 or so modules we are having to put time in to fix because of this basic changed on a 'bug fix' release. We have a prioritized list and are also doing them as reports are sent in. If you're referring to one of our modules, just drop us an email and we'll bump it up in the list.

Thanks,
Carrie


BCSE 05-28-2011 10:19 AM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by TL408
Hi Carrie. Just curious if "Product Importer" module happened to be on that list as well? Thanks!


I don't think that one is expected to have any issues. So you should be fine.

Thanks,

Carrie

cflsystems 05-29-2011 10:44 AM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by BCSE
Just so everyone's aware, we're finding that 4.4.3 is breaking most 3rd party modules out there. So be ready to get some help/support if you have 3rd party modules (i.e. don't upgrade on the fly on the weekend when there's less support).

Thanks,

Carrie


Just so everyone's aware - 4.4.3 upgrade from 4.4.x breaks not only 3rd party modules but some QT modules as well. Just had a client to upgrade 4.4.2-4.4.3 and QT's Janrain integration module which QT installed for them on 4.4.2 broke after the upgrade. Client sent me the Janrain installation they had for 4.4.3 and it was different from what was installed on 4.4.2 cart. And after replacing the files still not everything works there. 4.4.2->4.4.3 is supposed to be bug fixing release, apparently not

cherie 05-31-2011 11:57 AM

Re: X-Cart v4.4.3 released
 
Here's a possible solution for modules that no longer load correctly in 4.4.3. In init.php find this:
PHP Code:

if (is_readable($_config_file)) {
     include 
$_config_file;


After that add this:
PHP Code:

$modulesToFix = array(
    
"MY_Cool_Mod"
);
if (
in_array($active_module,$modulesToFix)) {
        
$_func_file   $_module_dir XC_DS 'func.php';
        if (
            
file_exists($_func_file)
            && 
is_readable($_func_file)
        ) {
            include 
$_func_file;
        }


Just add a suspect module to the array. After a quick test that seemed to do the trick. This is not thoroughly tested.

costanza 05-31-2011 12:46 PM

Re: X-Cart v4.4.3 released
 
Should I upgrade?

Looking for advice please. New to X-cart and re-built my site with V4.3.2 Gold (not live yet) and have been waiting for a stable version to upgrade and then launch.

Don't plan on running mods, except CDSEO and maybe a 1 page check-out. Eventually will need PCI compliance.

So should I upgrade now and if so, to which version?


All times are GMT -8. The time now is 11:08 PM.

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