Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

X-Cart Classic v. 4.6.2 released

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #31  
Old 02-17-2014, 01:12 AM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: X-Cart Classic v. 4.6.2 released

Quote:
Originally Posted by cflsystems
4.6.2 bug
/skin/common_files/customer/main/ui_tabs.tpl
PHP Code:
if (
    
isLocalStorageSupported()
    && 
default_tab == '-1last_used_tab'
  
) { 

replace with

PHP Code:
if (
    
isLocalStorageSupported()
    && 
default_tab == 'last_used_tab'
  
) { 

This exists in stock 4.6.2 installation pack and in upgrade packs


'-1last_used_tab' is the correct value

I have added '-1' prefix to avoid a problem with PHP type casting
http://ru2.php.net/manual/en/language.types.integer.php#language.types.integer. casting

Code:
[/www/xcart_4_6_x]$ php -r "var_dump(intval('-1last_used_tab'));" int(-1) [/www/xcart_4_6_x]$ php -r "var_dump(intval('last_used_tab'));" int(0) [/www/xcart_4_6_x]$

The valid variants for the 'Product tab that must be opened by default on the product details page' selector are


<option value="-1last_used_tab" selected="selected">tab that was used last while viewing the previous product</option>
<option value="0">1st tab</option>
<option value="1">2nd tab</option>
<option value="2">3rd tab</option>
<option value="3">4th tab</option>
<option value="4">5th tab</option>
<option value="5">6th tab</option>
<option value="6">7th tab</option>
<option value="7">8th tab</option>
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote
  #32  
Old 02-17-2014, 09:24 AM
  kustomrides's Avatar 
kustomrides kustomrides is offline
 

eXpert
  
Join Date: Apr 2005
Location: Southern California
Posts: 212
 

Default Re: X-Cart Classic v. 4.6.2 released

About ready to go live with 4.6.2. Found this gem when testing order/checkout (I have not enabled Xcart's Antifraud module):

"Antifraud Check Report
Antifraud Check Disabled Enable"

This was at the bottom of the email sent to the CUSTOMER, with "Disabled" in red and "Enable" as a link!

All kinds of wrong here, including the link to the store's backend to enable the module. And you don't ever want to have a message to your customers questioning the security of your store.

Crikey. OK, the quick way to disable this is to erase the contents of these language entries: lbl_anti_fraud_module_data , msg_adm_err_anti_fraud_order_wasnt_checked

Don't know where the coding is for this. Probably in orders.php
__________________
x-cart Gold 4.7.4
RedHat Linux 7.2; Pearl 5.20.2; PHP 5.5.26; MySQL 5.6.27, server 5.1.54;
Ruby 2.1.5p273; Python 3.4.2;

Several mods in menu and skin, BSCE shipping-per-product, CDSEO Pro
Reply With Quote
  #33  
Old 02-17-2014, 10:29 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,197
 

Default Re: X-Cart Classic v. 4.6.2 released

Quote:
Originally Posted by aim
'-1last_used_tab' is the correct value

I have added '-1' prefix to avoid a problem with PHP type casting
http://ru2.php.net/manual/en/language.types.integer.php#language.types.integer. casting

Code:
[/www/xcart_4_6_x]$ php -r "var_dump(intval('-1last_used_tab'));" int(-1) [/www/xcart_4_6_x]$ php -r "var_dump(intval('last_used_tab'));" int(0) [/www/xcart_4_6_x]$

The valid variants for the 'Product tab that must be opened by default on the product details page' selector are


<option value="-1last_used_tab" selected="selected">tab that was used last while viewing the previous product</option>
<option value="0">1st tab</option>
<option value="1">2nd tab</option>
<option value="2">3rd tab</option>
<option value="3">4th tab</option>
<option value="4">5th tab</option>
<option value="5">6th tab</option>
<option value="6">7th tab</option>
<option value="7">8th tab</option>

When I had this after the upgrade the tabs in admin payment methods and modules where not showing and tabs content were showing one under another instead of being next to each other...
After making this change everything immediately worked as it should.

And yes I did clear cache. So that's why I posted this.

Now I reverted back and cleared cache and is showing properly... so not sure if the way it is coded originally is a problem or not, but if it happens again will post here
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
aim (02-17-2014)
  #34  
Old 02-18-2014, 01:34 AM
 
Holiday Holiday is offline
 

Member
  
Join Date: Oct 2009
Posts: 30
 

Default Re: X-Cart Classic v. 4.6.2 released

Can anyone confirm if the debugging console is working fine for 4.6.2 platinum or gold?

1) I don't see the corresponding templates on the site whilst hovering the links on the debugging console.

2) When I click on any of the template link on the debugging console the edit template does not open up.

The template link is not correct on the debugging console.

It used to work fine with 4.6.1 platinum
__________________
x-cart 4.7.4 platinum
handsonwebhosting.com
Reply With Quote
  #35  
Old 02-22-2014, 11:28 PM
  kustomrides's Avatar 
kustomrides kustomrides is offline
 

eXpert
  
Join Date: Apr 2005
Location: Southern California
Posts: 212
 

Default Re: X-Cart Classic v. 4.6.2 released

In /modules/Amazon_Checkout/func.php this coding is missing in 4.6.2, though present in prior versions:

Quote:
require_once ($xcart_dir . '/modules/Google_Checkout/func.php');

It belongs at line 47 below

Quote:
if ( !defined('XCART_SESSION_START') ) { header("Location: ../../"); die("Access denied"); }

Without it Amazon Checkout won't work and you'll get php errors every time someone checks out.
__________________
x-cart Gold 4.7.4
RedHat Linux 7.2; Pearl 5.20.2; PHP 5.5.26; MySQL 5.6.27, server 5.1.54;
Ruby 2.1.5p273; Python 3.4.2;

Several mods in menu and skin, BSCE shipping-per-product, CDSEO Pro
Reply With Quote
  #36  
Old 02-23-2014, 10:44 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,197
 

Default Re: X-Cart Classic v. 4.6.2 released

Google Checkout was completely taken out in 4.6.2. Apparently Amazon Checkout was coded in the first place to use code from Google Checkout? Even if you add that line if the file doesn't exist (it does not exists in stock 4.6.2) the error will still exist. You should file this in the bug tracker
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #37  
Old 02-23-2014, 06:38 PM
  kustomrides's Avatar 
kustomrides kustomrides is offline
 

eXpert
  
Join Date: Apr 2005
Location: Southern California
Posts: 212
 

Default Re: X-Cart Classic v. 4.6.2 released

Quote:
Originally Posted by cflsystems
Google Checkout was completely taken out in 4.6.2. Apparently Amazon Checkout was coded in the first place to use code from Google Checkout? Even if you add that line if the file doesn't exist (it does not exists in stock 4.6.2) the error will still exist. You should file this in the bug tracker

Yeah, I wondered why the Amazon checkout code called from the Goog file. Still, once I re-inserted the missing line, Amazon Checkout works (? ... err, I suppose I could test it ... never liked Amazon Checkout anyway). But if not, then the func.php code is wrong.

p.s. I upgraded from a new install of 4.6.1 ... so the latent Goog files were still there to receive the call.
__________________
x-cart Gold 4.7.4
RedHat Linux 7.2; Pearl 5.20.2; PHP 5.5.26; MySQL 5.6.27, server 5.1.54;
Ruby 2.1.5p273; Python 3.4.2;

Several mods in menu and skin, BSCE shipping-per-product, CDSEO Pro
Reply With Quote
  #38  
Old 02-24-2014, 04:34 AM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: X-Cart Classic v. 4.6.2 released

Quote:
Originally Posted by kustomrides
Yeah, I wondered why the Amazon checkout code called from the Goog file. Still, once I re-inserted the missing line, Amazon Checkout works (? ... err, I suppose I could test it ... never liked Amazon Checkout anyway). But if not, then the func.php code is wrong.

p.s. I upgraded from a new install of 4.6.1 ... so the latent Goog files were still there to receive the call.

Patch attached
Attached Files
File Type: diff broken_amazon.diff (2.9 KB, 10 views)
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote
  #39  
Old 02-25-2014, 03:10 AM
 
designguru designguru is offline
 

X-Adept
  
Join Date: Dec 2010
Posts: 418
 

Default Re: X-Cart Classic v. 4.6.2 released

It seems to be very hard to find out these questions:


1. What is the difference of 4.6.1 PRO and 4.6.1 Platinum? I know that PRO will not be supported any longer. Same with 4.6.2 PRO and 4.6.2 Platinum. What is the real difference within the code? If there is any.


2. Why are there no fresh installs for a new PRO version? I mean if I want to do a fresh install it makes no sense to not have a new install.


If Pro and Platinum are the same I basically pay the $500 upgrade fee for a fresh installation file. Otherwise I pay $500 to get an upgrade performed.



Edit: Just got an answer from QT that Platinum includes more features. I guess these are additional features to the same PRO code.

I'm asking all this because of the compatibility of 4.6.2 themes.
__________________
X-Cart Pro 4.6.2 with many modules
X-CART Pro 4.4.1
Reply With Quote
  #40  
Old 02-25-2014, 10:48 PM
 
Kirill Kirill is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Nov 2013
Posts: 105
 

Default Re: X-Cart Classic v. 4.6.2 released

Hi!

As I've already answered you in the Help Desk ticket there is no option to upgrade to X-Cart Pro 4.6.2 as there is no upgrade pack for this version.

The latest installation for X-Cart Pro is 4.5.2 because we've stopped the development of this package with the release of 4.5.3 Sep 25 2012 http://blog.x-cart.com/new-product-line-and-4.5.3-released.html

However we kept supporting it for one more year, creating security patches and upgrade packs for new releases. The release of 4.6.1 was before Sep 25 2013 that is why there is an upgrade pack for this version and there is not for 4.6.2.

As for the features, X-Cart Platinum has all the modules included in the single-vendor Gold Plus package as compared to X-Cart Gold one.

If you are concerned about the templates, if they are compatible with 4.6.2 the most likely will work with the whole 4.6.x branch.

Quote:
Originally Posted by sixfigure
It seems to be very hard to find out these questions:


1. What is the difference of 4.6.1 PRO and 4.6.1 Platinum? I know that PRO will not be supported any longer. Same with 4.6.2 PRO and 4.6.2 Platinum. What is the real difference within the code? If there is any.


2. Why are there no fresh installs for a new PRO version? I mean if I want to do a fresh install it makes no sense to not have a new install.


If Pro and Platinum are the same I basically pay the $500 upgrade fee for a fresh installation file. Otherwise I pay $500 to get an upgrade performed.



Edit: Just got an answer from QT that Platinum includes more features. I guess these are additional features to the same PRO code.

I'm asking all this because of the compatibility of 4.6.2 themes.
__________________
X-Cart team

Last edited by qualiteam : 02-25-2014 at 11:39 PM.
Reply With Quote
Reply
   X-Cart forums > News and Announcements



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:30 PM.

   

 
X-Cart forums © 2001-2020