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)
-   -   4.1.9 changelog (https://forum.x-cart.com/showthread.php?t=34477)

photo 10-29-2007 03:54 AM

Re: 4.1.9 changelog
 
Quote:

Originally Posted by timbrrr
Whether this has any impact or not, I thought I would at least share it in case it would help.
I noted in an earlier post in this thread that the speed of the 4.1.9 version seemed slower. After upgrading and installing in test directories, I noticed there was a warning about not having MCRYPT installed. I had never been prompted for that before during the upgrades, but got the error while testing a virgin install of the 4.1.9 branch. I have a dedicated server, but was reluctant to install this, but figured I might as well try it. Whether it was coincidental or not, the speed picked up dramatically.
I would like to hear some input back from someone who knows servers well enough to comment whether this is something that people with a noticeable slowdown should ask their hosts/ or install on their servers, or not.


I would be very interested in hearing Qualiteams take on this.

Duramax 6.6L 10-31-2007 05:12 PM

Re: 4.1.9 changelog
 
HAs anyone noticed the the web master mode has changed also.

smv 11-01-2007 07:56 AM

Re: 4.1.9 changelog
 
Okay, I'm officially terrified of applying this upgrade. Should I wait for a while or what? I'm still new to X-Cart and am still reeeeally new and am trying to learn, but if this creates a bunch of problems it's gonna be a huge issue because I'm not sure how everything works and how one would go about fixing them.

Light Speed 11-01-2007 12:44 PM

Re: 4.1.9 changelog
 
Quote:

Originally Posted by smv
Okay, I'm officially terrified of applying this upgrade. Should I wait for a while or what? I'm still new to X-Cart and am still reeeeally new and am trying to learn, but if this creates a bunch of problems it's gonna be a huge issue because I'm not sure how everything works and how one would go about fixing them.

If the update doesn't have something you have to have then wait until the next update.

exsecror 11-01-2007 01:43 PM

Re: 4.1.9 changelog
 
Quote:

Originally Posted by Light Speed
If the update doesn't have something you have to have then wait until the next update.


That's pretty much what I did, I went through the diffs and backported only what we needed absolutely, the rest was insignificant as it wasn't used. Besides with how heavily we have ours modded a clean upgrade or even a clean install is not possible.

ambal 11-02-2007 05:04 AM

Re: 4.1.9 changelog
 
A good source of information about how to upgrade smoothly can be found at http://forum.x-cart.com/showthread.php?t=35125

I think you should have a look at it.

Acquamarina 11-02-2007 06:26 AM

Re: 4.1.9 changelog
 
SMV,

If it was me I would wait. Our version was 4.1.3 and it needed the upgrade. I wanted 4.1.8 because it was stable. Well, by the time we got to it, 4.1.8 was no longer available. It took 4 days of countless hours back and forth with my webmaster, qteam and the hosting company to figure out why we had some serious error messages coming from the server relating to memory for the install of the upgrade. After we figured that out, 1 day to upload. There were so many errors we had to close the store, it looked terrible. Wait for qteam response, it takes 6 days and almost 400 manually updated files to complete the job, and there are still issues. I have been waiting for 4 days to hear back from qteam.

In the meantime we lost our page rank of 4 and all our links on Google.

Wait until they fix this one or at least until after the holidays. I wish I could have waited but we were concerned about security issues, so we took the leap.

Best wishes,

smv 11-03-2007 06:52 AM

Re: 4.1.9 changelog
 
Quote:

Originally Posted by Acquamarina
SMV,

If it was me I would wait. Our version was 4.1.3 and it needed the upgrade. I wanted 4.1.8 because it was stable. Well, by the time we got to it, 4.1.8 was no longer available. It took 4 days of countless hours back and forth with my webmaster, qteam and the hosting company to figure out why we had some serious error messages coming from the server relating to memory for the install of the upgrade. After we figured that out, 1 day to upload. There were so many errors we had to close the store, it looked terrible. Wait for qteam response, it takes 6 days and almost 400 manually updated files to complete the job, and there are still issues. I have been waiting for 4 days to hear back from qteam.

In the meantime we lost our page rank of 4 and all our links on Google.

Wait until they fix this one or at least until after the holidays. I wish I could have waited but we were concerned about security issues, so we took the leap.

Best wishes,


I'm sorry to hear all that :(

We'll def. hold out then!

shan 11-05-2007 05:55 AM

Re: 4.1.9 changelog
 
anyone curious about mcrypt its something that is used to encrypt the order details etc. If its installed it encrypts things faster and if its not xcart uses its own logic to do it which is much much slower. I ran into problems with a site where it was not installed.

check with your host if its not installed and they will sort it

TL408 11-05-2007 08:14 AM

Re: 4.1.9 changelog
 
Quote:

Originally Posted by shan
anyone curious about mcrypt its something that is used to encrypt the order details etc. If its installed it encrypts things faster and if its not xcart uses its own logic to do it which is much much slower. I ran into problems with a site where it was not installed.

check with your host if its not installed and they will sort it


Thanks Shan!

For people running their own box, check the "php.ini" configuration file. It is loaded as an extension "extension=php_mcrypt.dll". (As of PHP version 5.2.3)

X-cart Team: Can you please verifiy why some people are getting the "MCRYPT" prompt, while others do not? On my box, I do not have "MCRYPT" enabled and were not prompted.

Thanks
-Tuan

photo 11-05-2007 11:56 AM

Re: 4.1.9 changelog
 
I am now a MCRYPT server enabled user! Speed diff? Hmm well perhaps a wee bit better.

TL408 11-05-2007 12:03 PM

Re: 4.1.9 changelog
 
Quote:

Originally Posted by photo
I am now a MCRYPT server enabled user! Speed diff? Hmm well perhaps a wee bit better.

As far as the speed difference, are you referring to the store front or back-end admin area? Maybe both?

I am curious though, why would there be any speed difference for the store front, between with MCRYPT and without it? It shouldn't be encrypting anything on the store front, correct? It thought it would only impact the back-end because of the encryption on customer data and order details....Hmmmmm...

Hopefully the X-cart team will jump in and clear up this entire issue.

Thanks
-Tuan

photo 11-05-2007 12:10 PM

Re: 4.1.9 changelog
 
Quote:

Originally Posted by TL408
As far as the speed difference, are you referring to the store front or back-end admin area? Maybe both?

I am curious though, why would there be any speed difference for the store front, between with MCRYPT and without it? It shouldn't be encrypting anything on the store front, correct? It thought it would only impact the back-end because of the encryption on customer data and order details....Hmmmmm...

Hopefully the X-cart team will jump in and clear up this entire issue.

Thanks
-Tuan


Its a secret, only divulged to ancient Xcart users who have been able to grab the pebble from the carts hand! :-$

zaa 11-05-2007 09:20 PM

Re: 4.1.9 changelog
 
Quote:

Originally Posted by TL408
Thanks Shan!

For people running their own box, check the "php.ini" configuration file. It is loaded as an extension "extension=php_mcrypt.dll". (As of PHP version 5.2.3)

X-cart Team: Can you please verifiy why some people are getting the "MCRYPT" prompt, while others do not? On my box, I do not have "MCRYPT" enabled and were not prompted.

Thanks
-Tuan


Certain PHP versions have known defects in processing of bitwise operations that are used during generation of encrypted data using Blowfish encryption method.
X-Cart utilizes bitwise operators emulation on these PHP versions, but this leads to slow generation of encrypted data and can have negative impact on X-Cart performance.

The message is shown only if x-cart installation procedure detected that PHP version installed on a client's hosting server has such bugs with bitwise operations processing. In order to overcome the issue the customer needs to install the latest stable PHP version or install the mcrypt php extension.

matt2005 11-09-2007 04:21 PM

Re: 4.1.9 changelog
 
my install horror story! I ran the upgrade script after manually modding about 10 files.. Script processed then I hit continue.. The server kept trying to redirect somewhere.. I blew the .htaccess file out and got SQL errors about the session table not being there and access denied..

went to my backup, and am back on 4.1.8

Duramax 6.6L 11-09-2007 04:27 PM

Re: 4.1.9 changelog
 
you have to run the patch.sql file though phpmyadmin or command line and then there will not be any problems.

matt2005 11-09-2007 04:31 PM

Re: 4.1.9 changelog
 
Quote:

Originally Posted by Duramax 6.6L
you have to run the patch.sql file though phpmyadmin or command line and then there will not be any problems.



damn.. ok I will try that later..

ambal 11-12-2007 03:24 AM

Re: 4.1.9 changelog
 
Hi everyone,

We conducted research on "why upgrade to 4.1.9 is so hard".

First of all upgrade to 4.1.9 is *not defective* and it is applied properly if it is applied on standard X-Cart and if it is applied according to upgrade instructions.
I advise you to read discussion on this at http://forum.x-cart.com/showthread.php?t=35125).

Also, X-Cart v4.1.9 is a working version which we recommend to use especially if you are concerned about social engineering hacking methods. At the same time you do not have to upgrade to 4.1.9 at all, especially if you feel confident that you will not be swindled and if you are satisfied by how your current X-Cart version works. In this case we recommend you to apply security patch #2007-10-29 (I advise you to monitor discussion at http://forum.x-cart.com/showthread.php?p=192813#post192813 as we are going to release improved version of the patch soon).


:arrow: why upgrade to 4.1.9 is so hard?

In July 2007 we sent a newsletter about potential security issue in X-Cart which contained the following information:
Quote:

Recently we have found a moderate security issue that renders X-Cart-based stores and other similar Web applications requiring user authorization (shopping carts, CMS solutions, etc) potentially vulnerable to attackers wishing to gain access to the application back-end and sensitive information stored in the user profiles. The issue is not limited to X-Cart, but is typical for the majority of Web applications. The issue is based on the assumption that an attacker might use a "phishing" technique to lure the store administrator into opening a specially crafted Web link and performing a sequence of steps that might allow him to gain full access to the store back end.

In connection with this issue, we would like to remind you of the necessity to exercise extreme caution in opening Web links from unknown or unverified sources. We strongly advise that you do not follow any links from people you do not know. Even if someone asks you to open a link leading to your own store, open this link using a separate browser session (not the session you are using to work on your store - the session where you log in to the store back-end and enter sensitive data). If you have accidentally opened such a link in the same session and are now viewing what seems to be a page of your own store, do not do anything on this page (most important - do not log in or provide any sensitive information!) Close the browser window, then open the browser again and type in a trusted web address for you store website into the address bar of your browser to bypass the link provided in the suspected phishing message. Following these recommendations will fully protect you from attacks of this type.

We have already devised a solution to minimize the risk imposed by this issue and will implement it in one of the future releases of X-Cart software.


The difference in this upgrade is that 4.1.9 contains that solution, i.e. besides usual number of various bug-fixes and minor changes in "every-day" features core of X-Cart v4.1.9 contains a good deal of completely new code which implements multiple protection schemes against the aforementioned and some other phishing ways to hack your online shop using social engineering methods.

The new code in X-Cart v4.1.9 core affected significant number of X-Cart PHP files in different places thus made upgrade to 4.1.9 harder than usual upgrade between minor versions. E.g. upgrade 4.1.8->4.1.9 affects 708 files and 50757 lines of code while upgrade 4.1.7->4.1.8 affects 391 files and 21313 lines of code and those changes between 4.1.8 and 4.1.9 are not just bug-fixes but portions of new code.

If you want to upgrade your store to v4.1.9 I recommend you to read http://forum.x-cart.com/showthread.php?t=35125 before you start.

carpeperdiem 11-12-2007 04:30 AM

Re: 4.1.9 changelog
 
Alexander,

Can you please comment on the new sql serialized array and how we should convert a 4.1.8 database to 4.1.9 (as this is hanging many people up and cauding upgrade errors). ?

Can we expect a pacth to toe sql update to correct this at some point?

Can we get an engineer to discuss why the change, and how we can modify our old code to become comptible.

Since there appears to be a data structure change, do you feel this upgrade would qualify for more than a single increment? Shouldnd't 4.1.9 have become 4.2?

I agree that for the most part, a 4.1.9 upgrade can be applied effortlessly in less than a few minutes -- IF the 4.1.8 store doesn't have many changes -- but if the changes are data fleds, there will be issues. Forget template edits -- let's talk real-world... 4.1.9 is great, agreed - but we need to get our 4.1.8 and earlier stores to 4.1.9 --- the database needs to be patched too. How can we do this?

Thanks,

Jeremy

matt2005 11-12-2007 07:50 AM

Re: 4.1.9 changelog
 
I got mine to work.. what I did was apply the patch.sql to the database before updating the rest of the files.. cleared out the template cache and bam! everything worked great..

I only had to manually modify 10-12 files.. nothing too bad.. the only one that took more than a couple minutes was the meta.tpl.. just had to figure out the right spot to put the javascript below my custom code in there.. I use some of the cdseo mods..

Acquamarina 11-19-2007 08:24 AM

Re: 4.1.9 changelog
 
Hi!

Were there any changes to the froogle.php file? Mine was working after the upgrade, now it isn't. I have a copy of the one provided to me by x-desk right before the upgrade. Just wondering if it is the same, since my Hot Rush x-desk ticket assigned tech has the day off and won't be in till tomorrow to help me. Cyber Monday in less than a week and my feed is not working (again). Opened the ticket about 10 days ago...

Thanks,

kustomrides 02-02-2008 09:31 AM

Re: 4.1.9 changelog
 
I was finally able to do the upgrade from 4.1.8 to 4.1.9

The issue was the many mods I had. And it didn't help by manually patching, either.

So the solution was to upload the unmodified 4.1.8 files, then upload the upgrade, then run it. That did the upgrade fine. Then went through and applied each mod, upload & test, until all were finished. And in the process fixed a couple of mod bugs :-)

kustomrides 02-02-2008 04:32 PM

Re: 4.1.9 changelog
 
Quote:

Originally Posted by timbrrr
... After upgrading, the Web Tools User ID cleared out. (under General>Shipping options )
I tried this upgrade 3 times in a test directory with the same result, so you might want to make sure that if you use USPS for shipping, you have your ID to put back in there. My shop came up with no available shipping methods without this. ...


Just noticed this problem after my upgrade. With help from x-cart technical (Sergey Tokarev) discovered that without the ID, USPS won't work.

Well I didn't have the ID written down. But I DID do a backup before upgrading. Opened the SQL backup in Textedit, searched for the password (which is not wiped) and right before it was the Web Tools ID. You can also just search for 'USPS username' and following that is the ID.

Whew!


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

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