![]() |
X-Cart 4.0.19 released
Changelog for 4.0.19...please post any issues in this thread and hopefully X-Cart will address them.
Quote:
|
Thanks for the update and fixes...
My initial reaction: S-L-O-W Everything feels slower. Significantly. I upgraded from 4.0.18 I do NOT have fancy categories. Advanced Stats are disabled. My site in .18 is relatively fast -- but it tends to lose its punch in .19 is it just me? Thanks, Jeremy |
New installation of v4.0.19 felt pretty fast (with whatever default settings), I couldn't notice anything in particular. By slow, what did you mean?
Still going through the process of updating files that couldn't be updated. EDIT: How are you quantifying the difference in speed? The new installation with one skin loaded up pretty much instantly for me. Maybe clear templates_c? EDIT: woohoo, got one of my wishes granted by X-Cart, they upgraded USPS to V2 :D |
Not to double post or anything but this deserves it's own post.
I was wondering about the order in which I should apply the patch. Currently I use one of the X-Cart's skin and now the upgrade kit, the new, and old skin installation define products.tpl. I took me like the past half-hour or so to figure that out because ... it's been a long day. So now that I'm not caught in that loop, I was wondering what I should do? What I've done so far was just extrac that upgrade kit and applied it. I was in the process of manually upgrading the files until that particular problem popped up and stumped me. So should I just ignore it and apply the new skin or what should I do? |
For a few months now I have thought that the 4.0.x branch was no longer going to see further point upgrades. Surprise surprise!! :D :D
Thanks X-Cart team!! Lots of things in this one. |
Upgrade from 018 to 019
Now not work Search statistics. |
Quote:
|
Quote:
Thanks for the insight and the tip Ralph!! |
Quote:
Wow, Ralph -- that is some find there! I just happen to be moving to a new server, and I am benchmarking all kinds of things -- true apples for apples testing... and I am testing virgin installs now -- I have put my store on the shelf until I sort some core stuff out... Commenting out the "upgraded" 4.0.19 code in /modules/Product_Options/customer_options.php makes a HUGE difference in page load times for pages with options or variants. HUGE. Dramatic difference. Wow. This is how the code looks in 4.0.18: Code:
$product_options = func_get_product_classes($productid); This is what it looks like in 4.0.19: Code:
$product_options = func_get_product_classes($productid); So, to the PHP experts: what exactly is this function doing? Code:
if (empty($options)) { Is it looking for a situation where there is no option selected, and then setting a default option? I went through the changelog for .19 and there are a few references to "product options" -- but I think this code is the long way around to solve a very special problem... please correct me if I'm wrong... Quote:
I wonder how many sub-routines there are that are the long way around, simply to solve a rare problem, but for 99% of the users, there is no need to do this... and B-L-O-A-T starts creeping in... and the codebase needs a rewrite -- oh, they did this in 4.1 Man, how I wish 4.1 was ready for prime time. I am using too many cool mods though... so 4.0.x is going to be it for the time being... I have commented out this code from .19 -- if someone can think of a reason why I might want to keep it live, PLEASE, PLEASE speak up. Thanks Ralph!!!! Jeremy |
Quote:
Quote:
Quote:
Quote:
|
You know what else this little bit of code does? It inverts the order of your product option variants... for example, if you had a list, such as:
Light Light Medium Medium Medium Dark Dark With the new code, your product variants list as: Dark Medium Dark Medium Light Medium Light If I comment out the new and improved code, the order of variants is restored. Now that's simply absurd... variants should display in the order listed -- I have commented out the code and I am testing. So far, so good. I'll test more tomorrow. Bed time. |
Quote:
|
OK, found where $options get set. Its when displaying the popup to edit the options in the cart or the wishlist. Makes sense for preselecting the current options for the item in the cart or wishlist. But I still can't figure out what func_get_default_options is all about. It looks like it will get called before adding a product to the cart or the wishlist. But its another of those where it depends on something not being set and I can't find out where it would ever be set.
|
I beleive there is an error in one of the diffs
include/file_operations.php diff is looking for Code:
$top_message["content"] = func_get_langvar_by_name("msg_err_file_wrong"); in reality Code:
$top_message["content"] = func_get_langvar_by_name("msg_err_file_wrong"); |
Quote:
I think you're looking at the wrong location in the file. The diff refers to line 495 which looks just fine. You may be looking at line 461. |
after update when looking at individual user info (search for users from admin panel) I have referrer disappeared and screen somewhat corrupted.
Does anyone have that too? |
One more thing - I get an sql error when searching for product by sku and by search word (at the same time) from admin panel.
Code:
INVALID SQL: 0 : Don't know if it's cause of 4.19 update, but I didn't notice it before. Anyone have it? |
There is an issue regarding where X-Cart re-directs you. If say you are logged into the admin's side under one of the sections that's in the provider directory (Products and Inventory). Then you log in on the customer's side (say to test a feature). Then you get logged out of admin's side (I know that is suppose to happen) and the login form you get redirected to is for Providers so if you type in your admin password, you can't login.
This issue exists in both v4.0.18 and v4.0.19. |
Re: X-Cart 4.0.19 released
Does qualiteam have any intention of making the 4.0.x line MySQL 5 compatible? There are broken queries in my installation of 4.0.19, which is just wonderful...
|
Re: X-Cart 4.0.19 released
X-Cart 4.0.19 to MySQL 5 diffs
Here is a set of unified DIFFs, making X-Cart 4.0.19 compliant with MySQL 5. I did a complete structure search for the term "join" and applied parentheses wherever it seemed needed. There is no warranty or guarantee that this will work for your installation. Please back up all files before applying these patches. These diffs worked fine for me, I was able to apply the diffs using X-Cart patch administration |
Re: X-Cart 4.0.19 released
Quote:
Yes, I agree. func_get_default_options does some stuff to sort options by price it seems, which has 'undesired' behaviour when the prices are the same. It seems like this was a hasty addition that wasn't properly thought through... :( |
Re: X-Cart 4.0.19 released
Does anyone now why the SQL patch does this;
ALTER TABLE xcart_customers DROP KEY login; ? There are a lot of queries that use a 'WHERE login' clause, so removing this key seems madness?! |
Re: X-Cart 4.0.19 released
Finally got around to updating one of my test carts to 4.0.19, and speed is significantly slower, even after removing the new option code as noted above. Don't have the time to deal with finding the cause, but 4.0.18 works fine, so I'm sticking with it :)
|
Re: X-Cart 4.0.19 released
The fix for cc_fuse.php caused the file not to connect to Payfuse. When I changed back to 443 from 11500, everything worked beautifully.
|
Re: X-Cart 4.0.19 released
I'd like to upgrade from 3.5.3 to 4.0.18, but the only version that I see in the file area is 4.0.19. How can I get 4.0.18?
|
Re: X-Cart 4.0.19 released
Quote:
|
All times are GMT -8. The time now is 01:47 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.