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 4.6 released (https://forum.x-cart.com/showthread.php?t=67012)

random 06-09-2013 09:41 PM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by carpeperdiem
Disabling modules in 4.6.0 admin frequently "crash". 4.6.0 automatically (ajax?) changes status if checkbox is ticked or unticked -- and this "feature" seems to only work some of the time. Like not too frequently, without a page refresh.

/admin/modules.php

Virgin 4.6.0 goldplus.

Has anyone else seen this issue?


Could you record a video of this issue?
Please note that it is not possible to enable/disable more than one module simultaneously. Also some modules just do page reload on enable/disable due to their functionality requirements.

carpeperdiem 06-09-2013 11:08 PM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by random
Could you record a video of this issue?


PM sent with video link. Thank you.

aim 06-10-2013 01:20 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by PhilJ
Next / Previous products feature bug reported...
https://bugtracker.qtmsoft.com/view.php?id=42867


Fixed.


sql_error_next_prev_feature.diff
blank_page_forPHP5.2.x.ver2.diff

patches have been attached to the ticket
https://bugtracker.qtmsoft.com/view.php?id=42867

Thank you

carpeperdiem 06-10-2013 10:10 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by carpeperdiem
Disabling modules in 4.6.0 admin frequently "crash". 4.6.0 automatically (ajax?) changes status if checkbox is ticked or unticked -- and this "feature" seems to only work some of the time. Like not too frequently, without a page refresh.

/admin/modules.php

Virgin 4.6.0 goldplus.

Has anyone else seen this issue?


Vladimir solved this -- looks like var directory needs to be chmod 777, but the installation instructions tell us:

Quote:

Before you start using X-Cart, please restore secure permissions as advised below:
chmod 755 var

If the script tells me to chmod 755 var, I will. SO to anyone installing 4.6.0, please note the new module manager requires chmod 777 var

Just sharing. Hope this helps someone.
J

Rato 06-10-2013 10:52 AM

Re: X-Cart 4.6 released
 
Installed 4.6.0 from scratch using Books & Magazine skin. Added product to lower category. When viewing from the store side each time a product is added, the newly added product shows up in New Arrival on both parent category and the subject category. However, it does not necessary show up in the subject category each time.

After adding more products to the subject category, sometime the new product will show up but as more product is added, sometime the newly added product again does not show up.

Sometime this can be resolve by clicking one of the sort by parameter but not necessary every time.

cflsystems 06-10-2013 12:13 PM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by carpeperdiem
Vladimir solved this -- looks like var directory needs to be chmod 777, but the installation instructions tell us:



If the script tells me to chmod 755 var, I will. SO to anyone installing 4.6.0, please note the new module manager requires chmod 777 var

Just sharing. Hope this helps someone.
J


Not all server configs allow for 777 permissions. So how is this solved on such servers...?

Marc Washburn 06-10-2013 04:37 PM

Re: X-Cart 4.6 released
 
I am about to give up on getting PayPal Payments Advanced to work in 4.6.

Already spent three hours on the phone with PayPal 2nd tier shopping cart support and they claim the settings should work. But am still getting the error message:

'Some required information is missing or incorrect. Please correct the fields below and try again.

Error: Token is missing. Please return to the website from were you started your purchase and try again.'

PayPal claims that we are authenticating correctly but are not passing all of the required information. Is this broken in 4.6?

Please advise if I should open a trouble ticket/bug report.

thanks,

Ksenia 06-10-2013 11:41 PM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by Rato
Installed 4.6.0 from scratch using Books & Magazine skin. Added product to lower category. When viewing from the store side each time a product is added, the newly added product shows up in New Arrival on both parent category and the subject category. However, it does not necessary show up in the subject category each time.

After adding more products to the subject category, sometime the new product will show up but as more product is added, sometime the newly added product again does not show up.

Sometime this can be resolve by clicking one of the sort by parameter but not necessary every time.


Tony, thank you for your question. Yes, you faced an issue which is a price for win in speed. Let me explain further.

This issue appears only when products are being switched from NOT available to available ( enabled, returned to stock etc), and never vice versa (if the product gets out of stock/disabled/removed, it disappears right away).

This is what we call 'product publishing time'. By default this time does not exceed 1 hour - till cache expires.

Possible solutions:

1) the easiest is to wait - no more than 1 hour (unless you modified cache ttl in config)

2) Clear cache by executing cleanup.php. Note that to execute this script you need auth code now, so the URL should look like this:

yourdomain.com/cleanup.php?auth_code=AUTH_CODE_GOES_HERE

Important: this script will clear all the caches (modules functions, Smarty) and your store will temporary slow down as the caches will need to be rebuilt.

3) You may play with cache TTL value in include/data_cache.php

Code:

 
'getRangeProductIds' => array(
        'func' => 'getRangeProductIds',
        'class' => 'XCRangeProductIds',
        'ttl' => 3600, // 60 minutes to invalidate cache bt:#0132187
        'use_func_cache_logic' => TRUE,
        'dir' => 'search_cache',
        'hashedDirectoryLevel' => 1,



But if you set it to too small value, and your store will need to rebuild cache too often, you will hardly enjoy the win in speed.

4) the most accurate solution ( if you want to speed up the product appearing but not affect the speed in general) is to clear not all the caches, but search cache only:

Code:

rm -r var/cache/search_cache/


Also, X-Cart architects will keep working on making X-Cart caching 'smarter'.

Ksenia 06-10-2013 11:43 PM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by Marc Washburn
I am about to give up on getting PayPal Payments Advanced to work in 4.6.

Already spent three hours on the phone with PayPal 2nd tier shopping cart support and they claim the settings should work. But am still getting the error message:

'Some required information is missing or incorrect. Please correct the fields below and try again.

Error: Token is missing. Please return to the website from were you started your purchase and try again.'

PayPal claims that we are authenticating correctly but are not passing all of the required information. Is this broken in 4.6?

Please advise if I should open a trouble ticket/bug report.

thanks,


Marc, I'm sorry, but unfortunately we can not troubleshoot the problem without investigation. Thus, yes, submitting a new ticket in HelpDesk ( and do not forget about FTP/SSH access info posted via special secure form) will be the most optimal solution.

Ksenia 06-10-2013 11:47 PM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by cflsystems
Not all server configs allow for 777 permissions. So how is this solved on such servers...?


Steve, thank you for attentive approach.
We assume that this very issue appears only on those servers where 755 are not sufficient, and such servers should allow 777.

So the potential problem you're asking about seems to exist in theory only.

But should it really appear, the architects will offer a solution or at least a workaround.

cflsystems 06-11-2013 07:32 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by Ksenia
Steve, thank you for attentive approach.
We assume that this very issue appears only on those servers where 755 are not sufficient, and such servers should allow 777.

So the potential problem you're asking about seems to exist in theory only.

But should it really appear, the architects will offer a solution or at least a workaround.

Thank you but that means you are aware of the problem but will not do anything unless someone reports they are having problems with this... which means their store will be partially or non- functional in this area....

cflsystems 06-11-2013 07:35 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by Ksenia
Tony, thank you for your question. Yes, you faced an issue which is a price for win in speed. Let me explain further.

This issue appears only when products are being switched from NOT available to available ( enabled, returned to stock etc), and never vice versa (if the product gets out of stock/disabled/removed, it disappears right away).

This is what we call 'product publishing time'. By default this time does not exceed 1 hour - till cache expires.

Possible solutions:

1) the easiest is to wait - no more than 1 hour (unless you modified cache ttl in config)

2) Clear cache by executing cleanup.php. Note that to execute this script you need auth code now, so the URL should look like this:

yourdomain.com/cleanup.php?auth_code=AUTH_CODE_GOES_HERE

Important: this script will clear all the caches (modules functions, Smarty) and your store will temporary slow down as the caches will need to be rebuilt.

3) You may play with cache TTL value in include/data_cache.php

Code:

 
'getRangeProductIds' => array(
        'func' => 'getRangeProductIds',
        'class' => 'XCRangeProductIds',
        'ttl' => 3600, // 60 minutes to invalidate cache bt:#0132187
        'use_func_cache_logic' => TRUE,
        'dir' => 'search_cache',
        'hashedDirectoryLevel' => 1,



But if you set it to too small value, and your store will need to rebuild cache too often, you will hardly enjoy the win in speed.

4) the most accurate solution ( if you want to speed up the product appearing but not affect the speed in general) is to clear not all the caches, but search cache only:

Code:

rm -r var/cache/search_cache/


Also, X-Cart architects will keep working on making X-Cart caching 'smarter'.

Does this means that the speed XC gained with the new version is due to caching? So the dynamic portion is becoming partially static?
Was anything done to sql statements to improve the way they are build and ran as this has always been one of the slow sections of XC, use of indexing, etc....?

elmirage001 06-11-2013 09:21 AM

Re: X-Cart 4.6 released
 
My Hot Products module (4.5.5) would not install on 4.6.0 and I do not see a 4.6.0 zip in my files area. Is the 4.5.5 version supposed to work on 4.6.0? Thank you.

anil420 06-11-2013 10:19 PM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by kevinrm
Has anyone successfully upgraded from 4.5.5. to 4.6.0? How did it go?


I tried it on http://www.tinycontrols.com, and quickly reverd back to 4.5.5 because of modrewrite issues. By the way after that I installed fresh 4.6.0 as well and got the same problem.
The issue is with clean urls, product pages gives error while all other urls work fine (category urls, static page urls work fine).

I was not able to do much testing as I was dumb enough to do it on production site and was panic to revert back as soon as possible.

Sembroidery 06-12-2013 01:06 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by anil420
... The issue is with clean urls, product pages gives error while all other urls work fine (category urls, static page urls work fine).
...


Similar problem here. Update from 4.5.5 to 4.6.0 went smoothly with no errors whatsoever.

However any attempt to open a product page from category product list or "Featured products" section results in

Quote:

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.



No matter if clean URLs are used or not.

The same product pages would open without a problem from the Sitemap page or from "Upselling products" section.

Any clues?!?


P.S. Same issue as above also when upgrading with fresh 4.6.0 files + database updated from 4.5.5 to 4.6.0

anil420 06-12-2013 01:45 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by Sembroidery
Any attempt to open a product page from category product list or "Featured products" section results in

No matter if clean URLs are used or not.


I confirm that the issue is there no matter clean urls used or not.

cflsystems 06-12-2013 05:24 PM

Re: X-Cart 4.6 released
 
So I finally got some spare time to install and play a little bit with this new version. Newly downloaded copy. Some observations

1. No problem with the installation itself - installed as evaluation copy to get rid of the new built-in security so it is not in the way.
2. It still installs with default account "master" even though I have mentioned this before (way before 4.6.0 was released) and XC said they will change it... not changed
3. Tried to changed admin password to "master" - received an error - this is good.
4. Had no problems enable/disable modules.
5. Advanced Statistics module is still ENABLED by default - this needs to be OFF, we all know it. So Bestsellers module still depends on it.
6. Disabling Advanced Statistics module does not disable Bestsellers module - or dependency is not implemented yet?
7. No problem with Next/Prev products.
8. No errors on front end with or without clean urls on.
9. This version creates a lot of cached files in /var/cache directory so anyone should expect /var directory to get huge in size.

Questions on this here to XC - is this some sort of similar html catalog pages? How often are they regenerated? I did not see anything in admin settings about cache but I may have missed it.

10. OPC - the new way of having payment section before shipping section and also payment section being active even if no customer info is available makes me dislike XC OPC even more. Now we have a really weird mix of active / non-active sections on the checkout page. Can't you guys make it straight forward - either all sections on the page are active and ajax or non-active sections are hidden and accessible only when previous section has been activated....
11. Another inconsistence continues to exist on checkout page - billing/shipping addresses are separated by "create account" section. Create account section is labeled "create account for this username" (when email as login is not in use) and the section is closed by default - so which username? The question is there without the fields being visible so there is no username at this point....
12. Still same ugly system messages at the top right corner of the screen...
13. Minimum order amount still works the same way - customer has to click on checkout just to find out the are being redirected to a page that tells them the cart total is less than order minimum - while a simple if statement will just hide the checkout button with a message when customer goes to cart (same for minicart)
14. Same address book - no changes there - so adding company shows at the end of the fields and actually before "email" field to make it even more weird
15. PayPal has built-in "enable bill me later promotion" which is good but I did not see it in action. Also be aware there are 2 update buttons on the paypal payment method page in admin - each one work for different things
16. Even though I set images to "file system" on the installation screen the Affiliate images were still set to database after installation
17. Create Order in admin - works without specifying customer and items to purchase. Just click on "create new order" and an order is created - exit it and that order stays with ordered and no items to purchase, $0 total. It shouldn't be like this...
18. From the above - anonymous customer was created which found its way to customers table which is good - so finally anonymous customers are once again treated as customers...

Ksenia 06-13-2013 03:03 AM

Re: X-Cart 4.6 released
 
Thank you for your new comments.

Quote:

Originally Posted by cflsystems
Thank you but that means you are aware of the problem but will not do anything unless someone reports they are having problems with this... which means their store will be partially or non- functional in this area....


I'm afraid we can not agree. We don't leave the store partially or non-functional unless someone reports the problem, we just consider that there will be no such problem.

There are only 2 possible cases from our point of view (Of course I'm speaking not about all the servers/permissions etc in general, I mean the particular issue reported by Jeremy):

1)755 is sufficient on the first group of servers. No need to change permissions.

2)755 is not sufficient on the second group of servers due to specific configuration, 777 is required, and 777 is allowed on such servers.

Third case (755 is not sufficient and 777 is not possible) exists only in your assumption so far. So we prefer to concentrate on more 'real' issues, at least now.

Quote:

Originally Posted by cflsystems
Does this means that the speed XC gained with the new version is due to caching? So the dynamic portion is becoming partially static?
Was anything done to sql statements to improve the way they are build and ran as this has always been one of the slow sections of XC, use of indexing, etc....?



The IDs of products from categories, as well as product IDs for search queries are being cached now, and during the repeated view of the category X-Cart uses the ids from cache.

But unlike to HTML-catalog , it's product IDs only, which is being cached. All the other product info ( price, description, quantity in stock) is taken from DB each time.

Compared to v 4.5.5, v 4.6 uses the ids cache as an additional condition of the search queries executed in v 4.5.5. Additionally, product IDs cache is used for 'Next-Previous' feature ( that's why this feature doesn't slow the product page down).

At the same time, this is not the only optimization, there were lots of others, say, func_search_products function ( used for New Arrivals, Recommended Products, Bestsellers and other lists) was optimized without using caches at all.

Quote:

HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

Without access to the store the problem can not be defined for sure. But we suppose that directory 'var' lacks permissions ( it should be writable), which is one of differences between v.4.5.5 and v.4.6.

The 'var' directory should have the following permissions:
http://help.x-cart.com/index.php?title=X-Cart:Setting_up_file_permissions#Temporary_and_ser vice_directories:_Directory_var


If changing the permissions would not help, please try visiting this page for additional information about the origin of the error:
http://help.x-cart.com/index.php?title=X-Cart:500_Internal_server_error

Or report the problem into the HelpDesk and the support engineers will help.

Ksenia 06-13-2013 03:34 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by elmirage001
My Hot Products module (4.5.5) would not install on 4.6.0 and I do not see a 4.6.0 zip in my files area. Is the 4.5.5 version supposed to work on 4.6.0? Thank you.


Thank you for letting us know about the problem.

No, the module developed for v 4.5.5 is not supposed to work with v 4.6. There's a special archive (x-hot-products-4.6.0.zip/x-hot-products-4.6.0.tgz). Because of technical problem it was uploaded to the FileArea incorrectly. Now the problem is fixed and the package is there. Additionally, I've sent the archive to you via HelpDesk (Message id: 1075106617).

We're also making sure if the other modules are uploaded and available.

Carzilla 06-13-2013 04:49 AM

Re: X-Cart 4.6 released
 
Hello guys,

A question: after upgrading to 4.6.0, I keep getting an empty dialog box on every page. Any idea what causes this?

shawny 06-13-2013 07:20 AM

Re: X-Cart 4.6 released
 
Quote:

Quote:
Originally Posted by anil420
... The issue is with clean urls, product pages gives error while all other urls work fine (category urls, static page urls work fine).
...

Similar problem here. Update from 4.5.5 to 4.6.0 went smoothly with no errors whatsoever.

However any attempt to open a product page from category product list or "Featured products" section results in

Quote:
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.


No matter if clean URLs are used or not.

The same product pages would open without a problem from the Sitemap page or from "Upselling products" section.

Any clues?!?

I've got exactly the same issue.

When I get the '500' internal server error this line appears in var \ log \ x-errors_php-130614.php:

[14-Jun-2013 00:48:14] PHP Fatal error: Cannot call method self::arg1PlusArg2() or method does not exist in /var/www/vhosts/usedtravelbooks.com.au/httpdocs/include/func/func.product.php on line 663

**EDIT** - I fixed this bug by disabling the previous/next feature ('Display links to next/previous products on product details page' under Settings > Display)

cflsystems 06-13-2013 07:51 AM

Re: X-Cart 4.6 released
 
@Ksenia

/var permissions - from the Jeremy's post - it implies the permissions must be 777 so that's why I asked about the servers this is not allowed....
------------------------------------
Vladimir solved this -- looks like var directory needs to be chmod 777, but the installation instructions tell us:
-----------------------------------

Yes 755 does work on my server


The cache - I see hundreds of files like this
Quote:

263
a:4:{s:8:"template";a:4:{s:25:"customer/main/buy_now.tpl";b:1;s:27:"customer/buttons/button.tpl";b:1;s:28:"customer/buttons/buy_now.tpl";b:1;s:33:"modules/Socialize/buttons_row.tpl";b:1;}s:9:"timestamp";i:1371137786 ;s:7:"expires";i:-1;s:13:"cache_serials";a:0:{}}<div class="buy-now">
<script type="text/javascript">
//<![CDATA[
products_data[20465].quantity = 1000;
products_data[20465].min_quantity = 1;
//]]>
</script>

<form name="orderform_20465_1276560000_" method="post" action="cart.php" onsubmit="javascript: return check_quantity(20465, '') &amp;&amp; !ajax.widgets.add2cart(this);">
<input type="hidden" name="mode" value="add" />
<input type="hidden" name="productid" value="20465" />
<input type="hidden" name="cat" value="" />
<input type="hidden" name="page" value="5" />
<input type="hidden" name="is_featured_product" value="" />

<div class="quantity"><img class="left_crns_qty" src="/skin/ideal_comfort/images/custom/left_corners.gif" alt=""/><img class="right_crns_qty" src="/skin/ideal_comfort/images/custom/right_corners.gif" alt=""/>
<span class="quantity-title">Qty</span>
<select name="amount">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</div>
<div class="button-row">
<button class="button main-button add-to-cart-button" type="submit" title="Buy Now">
<span class="button-right"><span class="button-left"><img src="/skin/ideal_comfort/images/custom/add_to_cart.gif" alt="Buy Now"/></span></span>
</button>
</div>
<div class="button-row last">
<a title="Add to wish list" onclick="javascript: submitForm(document.orderform_20465_1276560000_, 'add2wl'); return false;" href="javascript: void(0);">
<img src="/skin/ideal_comfort/images/custom/add_to_wl.png" alt="Add to wish list"/>
</a>
</div>
</form>
<div class="list-soc-buttons">
</div>

</div>

so looks like not only productids are being cached....

carpeperdiem 06-13-2013 08:06 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by cflsystems
@Ksenia

/var permissions - from the Jeremy's post - it implies the permissions must be 777 so that's why I asked about the servers this is not allowed....
------------------------------------
Vladimir solved this -- looks like var directory needs to be chmod 777, but the installation instructions tell us:
-----------------------------------


FYI, my server is a Hands-on VPS, provisioned by Hands-on with their "standard" x-cart security provisioning. I didn't ask for anything "special". cPanel.

Conor, could you please comment if my VPS is provisioned out of the norm for your VPS customers?

albertchui 06-13-2013 03:21 PM

Re: X-Cart 4.6 released
 
there is bug that when i enable Advance Statics the site go blank, back to normal after disable it. also there is no items show in bestseller even enable it.

albertchui 06-13-2013 03:23 PM

Re: X-Cart 4.6 released
 
another bug that the brain tree payment mod does not work after upgrade to 4.6, it was running smooth of 4.5.5 and the brain tree mod still 4.5.5 version, any idea why, thanks

kevinrm 06-13-2013 08:13 PM

Re: X-Cart 4.6 released
 
Anyone successfully upgrade from 4.5.5 who is also using XMultiCurrency mod? There were 4 files from that which I could not patch even after using latest version of them. Except for those for mod files, when I attempted upgrade everything went "OK" but after upgrade I get blank page. 4.6 version of this mod also not in my file area. No success in upgrading for me at all, thankfully I did it on a copied version in a subdirectory.

Ksenia 06-14-2013 03:55 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by Carzilla
Hello guys,
A question: after upgrading to 4.6.0, I keep getting an empty dialog box on every page. Any idea what causes this?


Sorry for keeping you waiting. I'm afraid this issue is specific for your store, so it requires more thorough investigation.

Please contact our engineers via HelpDesk, as the engineer will need to study the var/log folder and/or temporary enable 'Development mode' and 'debugging mode' for debugging.

Ksenia 06-14-2013 03:59 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by shawny
I've got exactly the same issue.

When I get the '500' internal server error this line appears in var \ log \ x-errors_php-130614.php:

[14-Jun-2013 00:48:14] PHP Fatal error: Cannot call method self::arg1PlusArg2() or method does not exist in /var/www/vhosts/usedtravelbooks.com.au/httpdocs/include/func/func.product.php on line 663

**EDIT** - I fixed this bug by disabling the previous/next feature ('Display links to next/previous products on product details page' under Settings > Display)


Thank you for sharing your problem ( as well as some kind of solution) with us. I guess you have not fixed the bug but rather found a workaround. It's great that you found an alternative way, but now you may want to fix the bug indeed.

You need to apply patch
blank_page_forPHP5.2.x.ver2.diff

provided by Ildar Amankulov in
http://forum.x-cart.com/showpost.php?p=359396&postcount=43

Thank you

Ksenia 06-14-2013 04:03 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by cflsystems

The cache - I see hundreds of files like this<...>
so looks like not only productids are being cached....


Hello, Steve. This is the caching of template buy_now.tpl which was implemented in version 4.4.2.


Quote:

Originally Posted by cflsystems
2. It still installs with default account "master" even though I have mentioned this before (way before 4.6.0 was released) and XC said they will change it... not changed
3. Tried to changed admin password to "master" - received an error - this is good.

Yes, right now, if you install the store with 'use email as username' disabled, the admin's account username is set to 'master'. We don't think there's much risk as the unique password is generated in each store.

Quote:

Originally Posted by cflsystems
5. Advanced Statistics module is still ENABLED by default - this needs to be OFF, we all know it. So Bestsellers module still depends on it.
6. Disabling Advanced Statistics module does not disable Bestsellers module - or dependency is not implemented yet?


fCommercGo and Bestsellers still depend on Advanced statistics. The improvement which will allow to change 'bestsellers' and Facebook application so that they could do without this module are queued so far.

Quote:

Originally Posted by cflsystems
OPC - the new way of having payment section before shipping section

It was done for the sake of correct displaying Iframe ( X-Payments Lite interface) on checkout.

Quote:

Originally Posted by cflsystems
9. This version creates a lot of cached files in /var/cache directory so anyone should expect /var directory to get huge in size.]

10. and also payment section being active even if no customer info is available makes me dislike XC OPC even more. Now we have a really weird mix of active / non-active sections on the checkout page. Can't you guys make it straight forward - either all sections on the page are active and ajax or non-active sections are hidden and accessible only when previous section has been activated....

The problem with active payment method section was registered in internal bug-tracker.

Quote:

Originally Posted by cflsystems
14. Same address book - no changes there - so adding company shows at the end of the fields and actually before "email" field to make it even more weird

Since you state that 'there are no changes', it seems you have already reported the problem. Could you please provide me with the id of that bug report? I'm sorry I haven't found any, but I would like to avoid creating new and new tickets with the same issue .

Quote:

Originally Posted by cflsystems
11. Another inconsistence continues to exist on checkout page - billing/shipping addresses are separated by "create account" section. Create account section is labeled "create account for this username" (when email as login is not in use) and the section is closed by default - so which username? The question is there without the fields being visible so there is no username at this point....
12. Still same ugly system messages at the top right corner of the screen...
13. Minimum order amount still works the same way - customer has to click on checkout just to find out the are being redirected to a page that tells them the cart total is less than order minimum - while a simple if statement will just hide the checkout button with a message when customer goes to cart (same for minicart)
16. Even though I set images to "file system" on the installation screen the Affiliate images were still set to database after installation

These issues have been reported into BugTracker. Not all of them were confirmed to be bugs, so one can hardly expect all of them to be fixed right away, but they're at least registered and queued for processing.


Quote:

Originally Posted by cflsystems
15. PayPal has built-in "enable bill me later promotion" which is good but I did not see it in action. Also be aware there are 2 update buttons on the paypal payment method page in admin - each one work for different things

Vladimir Petrov responsible for this integration is currently on vacation. It's rather difficult to get in touch with him, at least now, so let's please postpone this question.

Quote:

Originally Posted by cflsystems
18. From the above - anonymous customer was created which found its way to customers table which is good - so finally anonymous customers are once again treated as customers...


Starting from v.4.4.0, the anonymous users data is stored in session. And after order is placed, the info about this customer is saved into order details. Record in xcart_customers is NOT being created. Will you please check again, or probably I've understood your statement incorrectly?

Thank you for your help, Steve.

Ksenia 06-14-2013 04:05 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by albertchui
there is bug that when i enable Advance Statics the site go blank, back to normal after disable it. also there is no items show in bestseller even enable it.


Will you please check the error logs? What errors can you see in the var/log/x-errors_php-130* files?

Quote:

Originally Posted by albertchui
another bug that the brain tree payment mod does not work after upgrade to 4.6, it was running smooth of 4.5.5 and the brain tree mod still 4.5.5 version, any idea why, thanks

Generally, the module is 100% compatible only with that very version which is specified in its name. Thus you should install the module of version 4.6. Please allow several business days for me to find out why the module update is not available yet, or to provide you with it if this update already exists.

Please accept our apologies, we're sorry about the mess with the modules. Please be informed, we've taken measures to avoid this problem in future.

*EDIT* the module for v4.6. has been sent to you via Message Board. It's also available in the File Area.

Ksenia 06-14-2013 04:25 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by kevinrm
Anyone successfully upgrade from 4.5.5 who is also using XMultiCurrency mod? There were 4 files from that which I could not patch even after using latest version of them. Except for those for mod files, when I attempted upgrade everything went "OK" but after upgrade I get blank page. 4.6 version of this mod also not in my file area. No success in upgrading for me at all, thankfully I did it on a copied version in a subdirectory.


Trying the upgrade ( as well as any other change , be it module installation or modification) on a test version first -this is a golden rule, I'm so happy to see a person who follows it!

X-Multicurrency module v.4.5.5 is not 100% compatible with X-Cart 4.6, so you should download the distributional package of v.4.6. I've already sent it to you via message board, it's also available in FileArea.

The same about PDF-Invoices and other modules -if you want to use the module on v.4.6, you need this very version of the module. PDF-Invoices v.4.6 is NOT ready so far, but it will be uploaded to FileAreas shortly.

elmirage001 06-14-2013 08:58 AM

Re: X-Cart 4.6 released
 
I've now successfully completed a database upgrade from 4.4.5 --> 4.5.0 and then used the upgrade pack from 4.5.0 --> 4.6.0 This morning I did an upgrade of my dev 4.5.5 site to 4.6.0 and both upgrades processed smoothly except for issues with the Hot Products Module. I have not experienced any of the issues the other posters have described. (patch applied)

The issue with the Hot Products Module involved the SQL which keeps the upgrade from fully completing. My files patched fine and then received the sql patch failed.

The x-hot-products.sql tries to add where they already exist so it fails. To get the SQL patch to finish I had to remove the following. I had used the 4.5.5 x-hot-products_remove but it does not remove them either.
Quote:

ALTER TABLE xcart_products ADD on_sale binary(1) NOT NULL default 'N' AFTER title_tag;
ALTER TABLE xcart_products ADD mark_as_new enum('S','A','N') NOT NULL default 'N' AFTER on_sale;
ALTER TABLE xcart_products ADD show_as_new_from int(11) NOT NULL default '0' AFTER mark_as_new;
ALTER TABLE xcart_products ADD show_as_new_to int(11) NOT NULL default '0' AFTER show_as_new_from;
ALTER TABLE xcart_products ADD key sa (show_as_new_from, add_date);
ALTER TABLE xcart_products ADD key on_sale (on_sale);
ALTER TABLE xcart_categories ADD show_new_arrivals enum('Y','N') NOT NULL default 'Y' AFTER title_tag;

cflsystems 06-14-2013 09:24 AM

Re: X-Cart 4.6 released
 
@Ksenia

Quote:

Originally Posted by Ksenia

Yes, right now, if you install the store with 'use email as username' disabled, the admin's account username is set to 'master'. We don't think there's much risk as the unique password is generated in each store.



It's not only about risk. You are allowing admin to set any email as login but forcing "master" when email is not in use and "master" is well known XC out-of-the-box login. (Which means every one can login to admin even if they don't know the password - I will create a post for this in a minute - huge security whole for XC created by one of the XC modules)


Quote:

Originally Posted by Ksenia
fCommercGo and Bestsellers still depend on Advanced statistics. The improvement which will allow to change 'bestsellers' and Facebook application so that they could do without this module are queued so far.

This module should have been taken out of core XC long time ago. As well as the HTML one as well as the Sales-and-Stats one... Their code is still in the core files while Sales-and-Stats was abandoned years ago....


Quote:

Originally Posted by Ksenia
It was done for the sake of correct displaying Iframe ( X-Payments Lite interface) on checkout.


What was done there is that the OPC was broken so it accommodate another module... Do you think this is the right way to do it? Look at AC OPC - nothing like that....


Quote:

Originally Posted by Ksenia

Since you state that 'there are no changes', it seems you have already reported the problem. Could you please provide me with the id of that bug report? I'm sorry I haven't found any, but I would like to avoid creating new and new tickets with the same issue .

Address book - there is no ticket open for this - at least not recently. There were couple but you guys closed them as overdue or resolved when adding additional fields to address book workaround was introduced. This workaround does not work good since you cannot position fields after adding them - read again - adding company field will add it at the end of the address book which is so wrong and looks weird, also on OPC this field will show after phone/fax and before email field.... Do you think this looks right?


Quote:

Originally Posted by Ksenia
These issues have been reported into BugTracker. Not all of them were confirmed to be bugs, so one can hardly expect all of them to be fixed right away, but they're at least registered and queued for processing.

Actually I do expect bugs to be fixed with next release when they are reported. I do expect bugs to be fixed and not left for 2 years and with every new release... I do expect XC to fix bugs instead of working on new modules all the time... This has been mentioned here on the forum many times and I did mention it to Max and Alex at the meeting in Chicago - you would not release new version until all bugs reported for the previous one are fixed, or most of them... You should not release new version with same old bugs just so to introduce some new feature....



Quote:

Originally Posted by Ksenia

Starting from v.4.4.0, the anonymous users data is stored in session. And after order is placed, the info about this customer is saved into order details. Record in xcart_customers is NOT being created. Will you please check again, or probably I've understood your statement incorrectly?


This happened after I created an order form admin - anonymous customer was saved in the customers table. Perhaps you are misunderstanding what I was saying - I was glad to see the anonymous customer saved in the customers table. What was introduced with 4.4.x - anonymous customers NOT treated as customers and NOT saved in customers table is wrong. Every one who places an order is a customer and their data must be saved in customers table not only in orders table. Orders table is for orders, this is completely separate and it should stay separate, this is table that holds what has happened already. Customers table is where all customers should be saved regardless of their registered status. Imagine a store with 10000 orders out of which 9999 are placed by customers who did not register. According to XC this store has only 1 customer Do you think this is correct? So we have one customer and 9999 orders from phantoms? No way to search for these anonymous customers. Not even a way to create an order for any of them in admin since they do not exist as customers in customers table... This is another piece that has been broken in XC since 4.4.x and if it still is - too bad - it is a bug - it has to be fixed.

cflsystems 06-14-2013 09:43 AM

Re: X-Cart 4.6 released
 
For the first block above - master account - I mentioned security issue - http://forum.x-cart.com/showthread.php?p=359697#post359697

ADDISON 06-14-2013 09:49 AM

Re: X-Cart 4.6 released
 
I agree Steve. All bugs reported should be fixed in the next version. I guess all the other shopping carts are doing the same way. We can talk a lot about ancient issues unsolved, they are many. I will also make my list and I do recommend everyone who reported bug inside Bugtracker or Forum over years to make an effort and check if that issue was solved or not - a top priority!

It is for the first time when I see an XC release without all modules updated for it. What is this 4.6.0 anyway? Some kind of testing software? Why we don't call it Release Candidate? I hate to see many numbers in a branch. I like the idea about security about speed, but let's do the other things professional - and the ball is in Qualiteam area.

Let me tell you just a stupid issue which is still unsolved. Fancy Category modules appears over the layout. Look at the z-index: thousands. This explains why this menu appears like an oasis when I would like to choose a currency, instead of being covered by a gray color too. Please check Bugtracker and Forum, I and Steve reported this annoying issue 3 times. I let you find out when we reported first time. Here are possible answers: 1 year ago, 2 or 3 years ago? But speed and security is a top priority. Good job!

CenturyPerf 06-14-2013 04:18 PM

Re: X-Cart 4.6 released
 
QUESTION:

With the integration of TaxCloud, shouldn't the "TIC" field be included somewhere in import/export? This is a code that can vary by product class and would be a nightmare to manually edit if working with thousands of products.

MISSING:

Where is "Manufacturers" in Import/Export?

We are able to remove manufacturer data from the Tools page, but there is nowhere to import or export manufacturer data within the store tools. That is a lot of data to do by hand in moving from an older version of X-Cart. (clean URL, description, URL, title, META keywords, META description, etc)

Jon 06-14-2013 08:43 PM

Re: X-Cart 4.6 released
 
Very good points brought up in this thread with regard to a need for bug fixes, not new features.

I've done a code comparison on 4.6 and 4.5.5 and compared to other branches there are not a lot of changes other than the new modules and the implementation of caching.

Sales and Stats code was finally removed.

Ksenia 06-17-2013 12:27 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by ADDISON
I agree Steve. All bugs reported should be fixed in the next version. I guess all the other shopping carts are doing the same way. We can talk a lot about ancient issues unsolved, they are many. I will also make my list and I do recommend everyone who reported bug inside Bugtracker or Forum over years to make an effort and check if that issue was solved or not - a top priority!


Quote:

Originally Posted by cflsystems
Actually I do expect bugs to be fixed with next release when they are reported. I do expect bugs to be fixed and not left for 2 years and with every new release... I do expect XC to fix bugs instead of working on new modules all the time... This has been mentioned here on the forum many times and I did mention it to Max and Alex at the meeting in Chicago - you would not release new version until all bugs reported for the previous one are fixed, or most of them... You should not release new version with same old bugs just so to introduce some new feature....


Mr Addison, Steve, thank you for your critisism. There's no irony, we're very thankful, really.

We will concentrate the efforts on the work with rickets reported by the community in external bug-tracking system. Taking into account that some tickets contain improvement suggestions, not bug reports ( e.g. rewriting the Bestsellers module to work independently from Advanced statistics is rather an improvement), we do not promise to mark as 'resolved' all the issues you guys reported, however we will pay special attention to those tickets in our next release.


Quote:

Originally Posted by ADDISON
It is for the first time when I see an XC release without all modules updated for it.


You're definitely right, there was a problem with the modules this time, and we're very sorry about it.

But the problem had been reported and escalated to the HeadStaff already, the solution had also been suggested ( it will be discussed during the next scrum) so it should not repeat in future.

Ksenia 06-17-2013 02:50 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by elmirage001
I've now successfully completed a database upgrade from 4.4.5 --> 4.5.0 and then used the upgrade pack from 4.5.0 --> 4.6.0 This morning I did an upgrade of my dev 4.5.5 site to 4.6.0 and both upgrades processed smoothly except for issues with the Hot Products Module. I have not experienced any of the issues the other posters have described. (patch applied)

The issue with the Hot Products Module involved the SQL which keeps the upgrade from fully completing. My files patched fine and then received the sql patch failed.

The x-hot-products.sql tries to add where they already exist so it fails. To get the SQL patch to finish I had to remove the following. I had used the 4.5.5 x-hot-products_remove but it does not remove them either.


Paul, unfortunately we can not tell for sure how exactly you're upgrading the store, but we assume that
*you have X-Cart Gold ( not GoldPlus where the module is available out of box) so the module is a an add-on.
* you're working with a dev copy ( and thus not afraid to lose any module data/settings).


You may now have 2 options:

OPTION 1

download and unarchive 'x-hot-products.4.6.0.tgz' in the store folder, as usually, run 'install-x-hot-products.php', select 'reinstall'. This procedure will remove the columns you list and recreate them.

OPTION 2
Apply the following SQL patch via 'patch/upgrade center':

Code:

ALTER TABLE xcart_products DROP COLUMN on_sale;
ALTER TABLE xcart_products DROP COLUMN mark_as_new;
ALTER TABLE xcart_products DROP COLUMN show_as_new_from;
ALTER TABLE xcart_products DROP COLUMN show_as_new_to;
ALTER TABLE xcart_products DROP KEY sa;
ALTER TABLE xcart_products DROP KEY on_sale;
ALTER TABLE xcart_categories DROP COLUMN show_new_arrivals;


After that execute 'install-x-hot-products.php'(from v.4.6)

Note that both options will remove the columns and thus data in them. Module will be reinstalled from scratch, previous data may be lost. If you have some data that need to be preserved, you may contact our engineers via HelpDesk account and they'll give detailed instructions on how to patch the store manually AND not affect any module data.

Thank you and have a great day!

Ksenia 06-17-2013 04:09 AM

Re: X-Cart 4.6 released
 
Quote:

Originally Posted by CenturyPerf
QUESTION:
That is a lot of data to do by hand in moving from an older version of X-Cart. (clean URL, description, URL, title, META keywords, META description, etc)


If you move data from an older version to a newer one, we do not recommend using export/import. Not all types of data can be imported ( e.g orders), there can also be some mess with IDs or customers/products/categories.

Instead, you should upgrade the store, as a result you do not need to transfer any data manually at all.

But before taking any steps, please create a dev copy and use it as a sandbox.

*If your store is of version 4.5.0-4.5.5, you can download an upgrade pack and patch both files and database.

*If your store is of version 4.1.x-4.4.x, the most optimal way is to:
- save blowfish key
- upgrade DATABASE to v.4.5.0 by means of SQL upgrade patch ( in upgrade pack).
- assign the upgraded database to fresh 4.5.0, specify the blowfish key.
- upgrade from v4.5.0 to 4.6 by means of upgrade patches.

This is a very general instruction. Should you need a more detailed one, please request help in your HelpDesk account. Our engineers can also upgrade the store for you.
-


All times are GMT -8. The time now is 11:02 AM.

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