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

X-Cart 4.0.19 released

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #11  
Old 08-12-2006, 09:58 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default

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.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #12  
Old 08-13-2006, 07:47 AM
 
geckoday geckoday is offline
 

X-Wizard
  
Join Date: Aug 2005
Posts: 1,073
 

Default

Quote:
Originally Posted by carpeperdiem
You know what else this little bit of code does? It inverts the order of your product option variants...
Ho ho ho. I was wondering whether any of that wierdness in func_get_default_options would spill over into the actual display. Betcha if different variants have different prices the lowest price ones will display first.
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]

UGG Boots and other fine sheepskin products
http://www.snowriver.com
Reply With Quote
  #13  
Old 08-13-2006, 09:45 AM
 
geckoday geckoday is offline
 

X-Wizard
  
Join Date: Aug 2005
Posts: 1,073
 

Default

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.
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]

UGG Boots and other fine sheepskin products
http://www.snowriver.com
Reply With Quote
  #14  
Old 08-14-2006, 07:35 PM
 
alru111 alru111 is offline
 

eXpert
  
Join Date: Dec 2005
Posts: 244
 

Default

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"); $top_message["type"] = "E"; func_header_location($action_script.(!empty($dir) ? "?dir=$dir".$opener_str_end : $opener_str_begin));
...

in reality
Code:
$top_message["content"] = func_get_langvar_by_name("msg_err_file_wrong"); $top_message["type"] = "E";
...

Reply With Quote
  #15  
Old 08-14-2006, 08:18 PM
 
geckoday geckoday is offline
 

X-Wizard
  
Join Date: Aug 2005
Posts: 1,073
 

Default

Quote:
Originally Posted by alru111
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"); $top_message["type"] = "E"; func_header_location($action_script.(!empty($dir) ? "?dir=$dir".$opener_str_end : $opener_str_begin));
...

in reality
Code:
$top_message["content"] = func_get_langvar_by_name("msg_err_file_wrong"); $top_message["type"] = "E";
...


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.
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]

UGG Boots and other fine sheepskin products
http://www.snowriver.com
Reply With Quote
  #16  
Old 08-15-2006, 04:54 AM
 
alru111 alru111 is offline
 

eXpert
  
Join Date: Dec 2005
Posts: 244
 

Default

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?
Reply With Quote
  #17  
Old 08-15-2006, 05:02 AM
 
alru111 alru111 is offline
 

eXpert
  
Join Date: Dec 2005
Posts: 244
 

Default

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 : SQL QUERY FAILURE: SELECT COUNT(*), MIN(xcart_pricing.price) as price , xcart_products_lng.product as product_lng, xcart_products_lng.descr as descr_lng, xcart_products_lng.full_descr as fulldescr_lng FROM xcart_products, xcart_pricing , xcart_categories, xcart_products_categories LEFT JOIN xcart_products_lng ON xcart_products_lng.productid = xcart_products.productid AND xcart_products_lng.code = 'US' WHERE xcart_pricing.productid=xcart_products.productid AND xcart_pricing.quantity=1 AND (xcart_pricing.membership='' OR xcart_pricing.membership='') AND xcart_pricing.variantid = 0 AND MATCH (xcart_products.product) AGAINST ('SEARCH_STRING') AND xcart_products_categories.productid=xcart_products.productid AND xcart_products_categories.categoryid = xcart_categories.categoryid AND (xcart_products.productcode LIKE '%SEARCH_SKU%' OR xcart_products.productid IN ()) AND xcart_products.forsale='Y' GROUP BY xcart_products.productid


Don't know if it's cause of 4.19 update, but I didn't notice it before.
Anyone have it?
Reply With Quote
  #18  
Old 08-15-2006, 08:28 AM
 
nevets1219 nevets1219 is offline
 

eXpert
  
Join Date: Jun 2006
Posts: 351
 

Default

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.
__________________
4.1.8
Reply With Quote
  #19  
Old 08-30-2006, 05:02 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default 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...
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #20  
Old 08-31-2006, 06:29 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default 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
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
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 01:22 PM.

   

 
X-Cart forums © 2001-2020