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?

cflsystems 05-31-2011 07:36 PM

Re: X-Cart v4.4.3 released
 
If you have 4.3.2 rwady to launch you don;t need to upgrade. The only version to upgrade will be 4.4.3 and you will have to re-build from scratch the whole store front as this upgrade will upgrade only database.

costanza 06-01-2011 01:28 PM

Re: X-Cart v4.4.3 released
 
Thanks for your response Steve, but I should explain myself better.

I've been working on adding all of our products and on the static pages on V4.3.2, but have done very little to the skin.

I will need a custom skin built and would like to have it built on 4.4. I have been reluctant to upgrade because of the bugs with all the 4.4 versions and keep hoping the next version will be relatively bug free.

So I need to upgrade. Are you saying I couldn't choose to go to 4.4.2 if I thought it was more stable?

cflsystems 06-01-2011 07:55 PM

Re: X-Cart v4.4.3 released
 
You can choose any version you want - the license is for XC copy not particular version. In your case then there is no reason to go to 4.4.2, just start with 4.4.3. be aware though there is a problem with some 3rd party mods and 4.4.3, make sure you ask the vendors first

cflsystems 06-04-2011 02:19 PM

Re: X-Cart v4.4.3 released
 
http://www.cflsystems.com/public/everyone/admin-shipping-methods.png


http://www.cflsystems.com/public/everyone/checkout-page.png


http://www.cflsystems.com/public/everyone/cart-page.png

cflsystems 06-04-2011 02:28 PM

Re: X-Cart v4.4.3 released
 
Well I lost the post. Here it is - the above screenshots are from the QT demo site - as you can see shipping methods are together without the ridiculous dropdown selector. There are user-defined and UPS real time methods. So this is how the demo site works. That's great but... of course - my 4.4.3 dev site doesn't do that. It still shows the dropdown. So it's there some setting I'm missing or ...?

cherie 06-05-2011 12:22 PM

Re: X-Cart v4.4.3 released
 
I can't speak for the demo, but check customer/main/checkout_shipping_methods.tpl. It seems if you are only using one carrier and defined shipping methods that may not trigger the carrier selector:
Code:

$is_ups_carrier_empty ne "Y" and $is_other_carriers_empty ne "Y"
That line also has this flag:
Code:

and $show_carriers_selector eq "Y"
This is set in func.shipping.php. Maybe that provides some clues?

cflsystems 06-05-2011 12:38 PM

Re: X-Cart v4.4.3 released
 
The $show_carrier_selector if set to N will not show the dropdown but it won't combine all available shipping methods together. I had this all working in 4.4.2 but the 4.4.3 broke it. And here is how it looks in my dev 4.4.3

http://www.cflsystems.com/public/everyone/shipping_together.png

cflsystems 06-09-2011 07:43 AM

Re: X-Cart v4.4.3 released
 
This bug in 4.4.2 reported in the bugtracker months before the 4.4.3 released is still not fixed in 4.4.3

http://forum.x-cart.com/showpost.php?p=311056&postcount=183

albertchui 06-10-2011 04:58 PM

Re: X-Cart v4.4.3 released
 
i just upgrade from v4.4.2 to v4.4.3, but home page go blank, pls help, my site is pictureframesale.com

thanks

Ajay 06-12-2011 07:17 PM

Re: X-Cart v4.4.3 released
 
Since upgrade I am noticing blank shipping charges on the checkout page, but if you still go ahead and pay it is calculating correctly and also shows on final page. But customers won't proceed to pay if they see multiple methods with blank shipping charges.
Opened a defect here with screenshot
https://bugtracker.qtmsoft.com/view.php?id=39848

seyfin 06-14-2011 09:54 PM

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).


We have released an updated version of upgrade packs to 4.4.3.

Now, when upgrading to version 4.4.3, the old module initialization routine is NOT removed, but it adds the new module initialization routine and a new option, "Use new module initialization routine" (disabled by default), which enables/disables the new feature. The new option will be added to v.4.4.4 as well.

Users who use regular 4.4.3 install, or the old version of upgrade packs to upgrade their install to 4.4.3, need to apply special patches, which:

- Restore the old module initialization routine, as an alternative to the new one;
- Add a new option "Use new module initialization routine" to the admin area, which enables/disables the new module initialization routine; the option is disabled by default.

For more information please refer to:
http://help.qtmsoft.com/index.php?title=X-Cart:New_module_initialization_routine

Thank you.

cflsystems 06-15-2011 05:31 AM

Re: X-Cart v4.4.3 released
 
Sergey in this new upgrade pack version did you also take care of the files permissions bug? Also was the regular 4.4.3 install updated as well to include this?

cherie 06-15-2011 06:50 AM

Re: X-Cart v4.4.3 released
 
I'm hoping the 4.4.4 upgrade recognizes both "versions" of 4.4.3.

It may have been better to roll this out as 4.4.4.

seyfin 06-16-2011 03:38 AM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by cflsystems
Sergey in this new upgrade pack version did you also take care of the files permissions bug?


No, it did not, unfortunately. This issue is still under consideration. I think our maintenance team will work out a separate solution for this problem.

Quote:

Originally Posted by cflsystems
Also was the regular 4.4.3 install updated as well to include this?


I have adjusted the article to answer your question:

* http://help.qtmsoft.com/index.php?title=X-Cart:New_module_initialization_routine#Attention_u sers_who_use...0_June.2C_2011

If anything is still unclear, let me know, I will be glad to help further.

Thank you.

seyfin 06-16-2011 04:01 AM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by cherie
I'm hoping the 4.4.4 upgrade recognizes both "versions" of 4.4.3.


We will take this issue into consideration, surely, when releasing the 4.4.4 upgrade.

seyfin 06-16-2011 10:07 PM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by cflsystems
Sergey in this new upgrade pack version did you also take care of the files permissions bug?


If you do not want the upgrade script to change permissions on the files being patched, modify "include/patch.php" as follows:

- find this function definition:

function func_pch_write($filename, $data)

- then find this line below the function definition:

func_chmod_file($filename);

- and change it to:

// Do not change perm for patched files
#func_chmod_file($filename);

zenpig 07-16-2011 06:18 PM

Re: X-Cart v4.4.3 released
 
In the current gold releases for 4.4.3(zip and tgz), haven't checked pro, the xcart/address_book.php appears to be missing "include $xcart_dir . '/include/address_book.php';" resulting in a blank page for users registering after submitting their username/pass and the same in their account when attempting to use the address tab. I'm assuming it is supposed to be there for when added it fixed that issue.

N00dles 07-17-2011 04:29 AM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by zenpig
In the current gold releases for 4.4.3(zip and tgz), haven't checked pro, the xcart/address_book.php appears to be missing "include $xcart_dir . '/include/address_book.php';" resulting in a blank page for users registering after submitting their username/pass and the same in their account when attempting to use the address tab. I'm assuming it is supposed to be there for when added it fixed that issue.


Its in my version 4.4.3 maybe yours did not get uploaded.

zenpig 07-17-2011 09:51 AM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by N00dles
Its in my version 4.4.3 maybe yours did not get uploaded.


thanks...it's actually not a matter of uploading the file. dl'ed both yesterday and unzipped them...both show that line missing in xcart/address_book.php locally. had previously dl'ed 4.4.3 last week and was the same. I know they repackage them occasionally...when was your dl of the file?

N00dles 07-17-2011 10:05 AM

Re: X-Cart v4.4.3 released
 
Was a week or so ago but the file in the download section has a date some where around 5-5-2011 so wasn't that when it was last done ?
x-cart-4.4.3gold May 05 11 10:34:04.
x-cart-4.4.3gold May 05 11 10:34:04

zenpig 07-17-2011 10:26 AM

Re: X-Cart v4.4.3 released
 
yeah, still shows the same date on the dl area. no idea..for kicks just dl'ed it again and viewed the file directly in crimson editor before decompressing the whole thing and still shows the same missing line for me. Trying to wrap my head around this one. thanks for the replies, though...maybe I'm losing it ;)

N00dles 07-17-2011 10:34 AM

Re: X-Cart v4.4.3 released
 
Weird i just downloaded the gold.tgz and the files are there.

zenpig 07-17-2011 11:39 AM

Re: X-Cart v4.4.3 released
 
the files are there...do you see a line "include $xcart_dir . '/include/address_book.php'" in xcart/address_book.php near the top of that one file, though?

N00dles 07-17-2011 11:49 AM

Re: X-Cart v4.4.3 released
 
Sorry I see what you mean now the actutal include code is missing from the script yes your right its missing.
Just a blank space where it should go.

cflsystems 07-19-2011 10:50 AM

Re: X-Cart v4.4.3 released
 
This bug exists in all 4.4.x versions.
On general settings page / default customer options for default country / state is a text field instead of dropdown with states list for selected country. To fix run this sql query either on upgrade/patch page in admin or phpmyadmin

UPDATE `xcart_config` SET `type` = 'state' WHERE `xcart_config`.`name` = 'default_state';

seyfin 07-25-2011 12:08 AM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by zenpig
In the current gold releases for 4.4.3(zip and tgz), haven't checked pro, the xcart/address_book.php appears to be missing "include $xcart_dir . '/include/address_book.php';" resulting in a blank page for users registering after submitting their username/pass and the same in their account when attempting to use the address tab. I'm assuming it is supposed to be there for when added it fixed that issue.


For 4.4.3, the <xcart_dir>/include/address_book.php is not included in <xcart_dir>/address_book.php anymore; it is only included in <xcart_dir>/include/register.php.

However, to fix the blank page issue, use this fix:

- modify <xcart_dir>/address_book.php, add this line:

x_load('user');

- right after this line:

include $xcart_dir . '/include/common.php';

seyfin 07-25-2011 12:10 AM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by cflsystems
This bug exists in all 4.4.x versions.
On general settings page / default customer options for default country / state is a text field instead of dropdown with states list for selected country. To fix run this sql query either on upgrade/patch page in admin or phpmyadmin

UPDATE `xcart_config` SET `type` = 'state' WHERE `xcart_config`.`name` = 'default_state';


This has been fixed for 4.4.4:
http://bugtracker.qtmsoft.com/view.php?id=40061

cflsystems 07-25-2011 06:53 PM

Re: X-Cart v4.4.3 released
 
Bug with Gift Certificate - reported in bugtracker

1. make sure GC module is off
2. add GC as payment method
3. add to cart, go to checkout - use OPC
4. GC shows as payment payment

WHAT IS THE EXPECTED RESULT? GC should not show as payment method if the module is off no matter what

WHAT HAPPENS INSTEAD? GS shows as payment method even if module is off

ADDISON 08-17-2011 11:33 AM

Re: X-Cart v4.4.3 released
 
QT when do you plan to release maybe the last updated version in 4.4 branch? September - October?

cflsystems 08-17-2011 07:12 PM

Re: X-Cart v4.4.3 released
 
last post was for Sept 15


All times are GMT -8. The time now is 05:35 PM.

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