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)

FiberGuy 05-12-2011 01:54 AM

Re: X-Cart v4.4.3 released
 
I see upgrade packs in my file area. WOO-HOO!

=)

chamberinternet 05-12-2011 02:09 AM

Re: X-Cart v4.4.3 released
 
Quote:

Originally Posted by FiberGuy
I see upgrade packs in my file area. WOO-HOO


Brill!

seyfin 05-12-2011 04:24 AM

Re: X-Cart v4.4.3 released
 
The upgrade packs for X-Cart from 4.4.0-4.4.2 to v4.4.3 have been released and available for downloading in the "My licenses" section in your personal Helpdesk:

http://help.qtmsoft.com/index.php?title=Using_your_Qualiteam_Account#My_li censes

hyena 05-12-2011 07:57 AM

Re: X-Cart v4.4.3 released
 
Ok, I unpacked the update, and ftp the whole thing to my xcart directory. But in the admin upgrade page it says No patches available. What do I need to do to make this work? Oh wait, I uploaded the containing folder, do I upload only the contents, not the main folder?

<edited to add>

good news, I got the update working, all went well. One hickup, the Patch.sql failed, I asume because I had previously used the USPS rates patch. My question now, is will this be a problem with the database, or is all good because it was already fixed with the shipping update?

cflsystems 05-12-2011 09:25 AM

Re: X-Cart v4.4.3 released
 
http://help.qtmsoft.com/index.php?title=X-Cart:Upgrading

cflsystems 05-12-2011 03:49 PM

Re: X-Cart v4.4.3 released
 
Ok this may be something totaly wrong with me but will post anyway, just so everybody be more cautious.
So I tried the 4.4.2-4.4.3 upgrade today. All ok, I had to manually patch/check like 5 files due to patches applied earlier. After the upgrade though some areas of the site became inoperational. For example orders.php in admin, cart.php, adding product to cart as a customer returns error. Each of this scripts ends with a screen "500 internal server error". My guess is the upgrade changed some permissions. I had to revert back to 4.4.2 from a backup and all works just fine. I will give it another try but in the meantime - anybody done 4.4.2-4.4.3 upgrade yet? Any problems?

cflsystems 05-12-2011 03:51 PM

Re: X-Cart v4.4.3 released
 
Ok next - let's start with the bugs - 4.4.3

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

Reported on March 10 and here we are 2 months later this is not fixed. I am still to check with fake order if the userid=0 is fixed or not but looking at the code seems it's not fixed. Then the second part about the Advanced Statistics / Recommended Products is carried to 4.4.3 again. Am I reading this wrong or QT just ignores some reports?

This is how the upgrade "fixes" these bugs

Code:


-            'userid'            => $userinfo['id'] ? $userinfo['id'] : 0,
-            'membershipid'      => $userinfo['membershipid'],
-            'membership'        => addslashes($userinfo['membership']),
+            'userid'            => !empty($userinfo['id']) ? $userinfo['id'] : 0,
+            'membershipid'      => @$userinfo['membershipid'],
+            'membership'        => addslashes(@$userinfo['membership']),


Again I think the 0 userid will still happen.

Code:


-                if (!empty($active_modules['Recommended_Products'])) {
+                if (
+                    !empty($active_modules['Recommended_Products'])
+                    && !empty($userinfo["id"])
+                ) {


Again - why "Recommended Products"? Are they pulled off of the stats table?

So QT - does this fixes the bugs or not? Do I need to again report in the bugtracker? Or these are not bugs?

cflsystems 05-12-2011 04:58 PM

Re: X-Cart v4.4.3 released
 
An answer to my previous post #38 above:

A warning to everyone doing an upgrade to 4.4.3 - the upgrade script (at least 4.4.2-4.4.3 one) will set permissions on all php files modified by the script to 600 (read/write owner of the file only) which on some systems may result in non-working stores. Make sure to check and setup permissions to all php files to 644 after the upgrade

QT is there a reason for this?

BCSE 05-12-2011 07:28 PM

Re: X-Cart v4.4.3 released
 
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

seyfin 05-12-2011 09:25 PM

Re: X-Cart v4.4.3 released
 
1 Attachment(s)
Quote:

Originally Posted by BCSE
we're finding that 4.4.3 is breaking most 3rd party modules out there.


The module initialization routine has been changed and optimized in 4.4.3. Here are the patch which describes the main changes: DIFF_55111.patch.txt

Basically, to initialize your module in X-Cart 4.4.3, you should modify your module's configuration file, for example:

modules/Your_Addon_Module/config.php

and add the following code:

Quote:

$_module_dir = $xcart_dir . XC_DS . 'modules' . XC_DS . 'Your_Addon_Module';
/*
Load module functions
*/
if (!empty($include_func))
require_once $_module_dir . XC_DS . 'func.php';

/*
Module initialization
*/
if (!empty($include_init))
include $_module_dir . XC_DS . 'init.php';


before this line:

Quote:

?>



All times are GMT -8. The time now is 06:32 AM.

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