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

X-Cart v4.1.11 released

 
Reply
   X-Cart forums > News and Announcements
 
Thread Tools
  #11  
Old 09-04-2008, 09:07 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: X-Cart v4.1.10 released

Quote:
Originally Posted by intel352
Funny how the email from Qualiteam minimized the size of this upgrade, yet it's still a pretty sizable changelog. Regardless, gj Qualiteam

Looking at the DIFF files, a lot of them do nothing but "update" the version number and date of the file.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #12  
Old 09-04-2008, 11:25 AM
 
tobychapman tobychapman is offline
 

Senior Member
  
Join Date: Sep 2005
Location: France
Posts: 112
 

Default Re: X-Cart v4.1.11 released

I traced the little black squares problem to a php file that hadn't saved properly.

As to the HTML entities, the handling of   has changed since I last worked on a template. " €" is converted to " €" in a template. Why is   changed and not €? Is ths a security issue?

In fact are all instances of " " changed to " " before being saved in the database? Is this what is meant by variables? Or is it just some sections of the database?

Does variables refer to language variables? Unix servers have never been very friendly to accented characters and non english alphabets. What is now the best practice for saving accented characters in the database?
__________________
XCart Gold 4.0.18
Fedora 6 - Apache 2.2.4 - PHP 5.1.6 - MySQL 5.0.27
www.goose.fr
Reply With Quote
  #13  
Old 09-05-2008, 04:09 AM
 
intel352 intel352 is offline
 

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

Default Re: X-Cart v4.1.10 released

Quote:
Originally Posted by JWait
Looking at the DIFF files, a lot of them do nothing but "update" the version number and date of the file.

lmfao, I've seen that happen in other updates as well. Quite annoying if you ask me, if you're having to manually patch files and keep running across DIFFs like that.
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #14  
Old 09-05-2008, 07:23 AM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,966
 

Default Re: X-Cart v4.1.11 released

Hi Jon or Anyone!

Edit--> Worked through the blank page and now live on 4.1.11 - Info on the link below

Any clues why during the upgrade after step 1 is all ok that in step 2 the page goes to a blank x-cart/admin/patch.php?mode=result page?

This has happened to 2 of us now. More details in the upgrading section http://forum.x-cart.com/showthread.php?t=42176

Thank you,

Paul
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
  #15  
Old 09-05-2008, 09:15 PM
 
georgewf georgewf is offline
 

Advanced Member
  
Join Date: Feb 2004
Posts: 79
 

Default Re: X-Cart v4.1.11 released

Minor disaster doing this upgrade, but I am getting through it. Big problems with some include/func/*.php upgrades, and then some new security mechanism locked me out of my store because the SQL patch had not been applied. So I applied the patch through phpmyadmin.

Noted a discrepancy in

include/templater/plugins/modifier.escape.php ...already patched

In fact the gold version I downloaded for reference does not match the patch version.

include\templater\plugins\modifier.escape.php

case 'htmlall':
$string = func_unhtmlentities($string);

is not the same in the gold version. So should I take it out of the patched version or should Qualiteam add it to the gold version?

George
__________________
xcart 4.7.12
Reply With Quote
  #16  
Old 09-05-2008, 10:23 PM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,966
 

Default Re: X-Cart v4.1.11 released

Quote:
Originally Posted by georgewf
Minor disaster doing this upgrade, but I am getting through it. Big problems with some include/func/*.php upgrades, and then some new security mechanism locked me out of my store because the SQL patch had not been applied. So I applied the patch through phpmyadmin.

Noted a discrepancy in

include/templater/plugins/modifier.escape.php ...already patched

In fact the gold version I downloaded for reference does not match the patch version.

include\templater\plugins\modifier.escape.php

case 'htmlall':
$string = func_unhtmlentities($string);

is not the same in the gold version. So should I take it out of the patched version or should Qualiteam add it to the gold version?

George

Hi George,

My include/templater/plugins/modifier.escape.php from 4.1.10 was "could not patch" with the differences shown below

Code in 4.1.10 after both security patches <--edited
Quote:
case 'htmlall':
$string = func_unhtmlentities($string);
if (phpversion() >= '4.1.0')
return htmlentities($string, ENT_QUOTES, $char_set);
else
return htmlentities($string, ENT_QUOTES);

Code in 4.1.11
Quote:
case 'htmlall':
if (phpversion() >= '4.1.0')
return htmlentities($string, ENT_QUOTES, $char_set);
else
return htmlentities($string, ENT_QUOTES);

Hope this helps,

Paul
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
  #17  
Old 09-06-2008, 09:49 AM
 
georgewf georgewf is offline
 

Advanced Member
  
Join Date: Feb 2004
Posts: 79
 

Default Re: X-Cart v4.1.11 released

I found the cause of the discrepancy - there was a security patch dated 7-31 which I applied

+++ include/templater/plugins/modifier.escape.php 2008-07-31 16:23:54.000000000 +0400
@@ -50,12 +50,14 @@

switch ($esc_type) {
case 'html':
+ $string = func_unhtmlentities($string);
if (phpversion() >= '4.1.0')
return htmlspecialchars($string, ENT_QUOTES, $char_set);
else
return htmlspecialchars($string, ENT_QUOTES);

case 'htmlall':
+ $string = func_unhtmlentities($string);
if (phpversion() >= '4.1.0')
return htmlentities($string, ENT_QUOTES, $char_set);
else


But the line after htmlall is not in the gold version distributive nor in the new patch. No idea if this is important or not. Could be nothing, or could be the cause of future subtle bugs impossible to track down.
__________________
xcart 4.7.12
Reply With Quote
  #18  
Old 09-06-2008, 09:53 AM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Re: X-Cart v4.1.11 released

How important is this update? For instance, we use linkpoint, and linkpoint is pointed out in the docs. DOES this mean my current version is messed up with this processor?

Just trying to figure out if this truly needs to be done for that alone and other levels?

Thanks
__________________
Regards, Dan
X-Cart Gold Version 4.1.10

1 - One page checkout
2 - Image Generator
3 - CSDEO Pro
4 - Shop By Price
5 - Next - Previous
6 - On Sale
7 - Shop By Price

8 - Froogle & Google Base Feed
9 - Buy Together
10 - Customer Loyalty Points
11 - Customer Reward Points
Customer Reward Points Referral Add-on
12 - Product Reviews
13 - Other Custom Modifications
----------------------
http://www.townsqjewelry.com/
http://www.eroticnights4u.com/ <---- Adult Oriented - Toys
Reply With Quote
  #19  
Old 09-06-2008, 10:05 AM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,966
 

Default Re: X-Cart v4.1.11 released

Quote:
Originally Posted by georgewf
I found the cause of the discrepancy - there was a security patch dated 7-31 which I applied

+++ include/templater/plugins/modifier.escape.php 2008-07-31 16:23:54.000000000 +0400
@@ -50,12 +50,14 @@

switch ($esc_type) {
case 'html':
+ $string = func_unhtmlentities($string);
if (phpversion() >= '4.1.0')
return htmlspecialchars($string, ENT_QUOTES, $char_set);
else
return htmlspecialchars($string, ENT_QUOTES);

case 'htmlall':
+ $string = func_unhtmlentities($string);
if (phpversion() >= '4.1.0')
return htmlentities($string, ENT_QUOTES, $char_set);
else


But the line after htmlall is not in the gold version distributive nor in the new patch. No idea if this is important or not. Could be nothing, or could be the cause of future subtle bugs impossible to track down.

You make an excellent point! Did QT mean to remove this line in 4.1.11 or did they forget to add it in from the second security patch???
Edited 9/8 --> Vyacheslav from Qualiteam was nice enough to reply that in 4.1.11 this line is not needed due to changes in other files.
Quote:
case 'htmlall':
$string = func_unhtmlentities($string);
if (phpversion() >= '4.1.0')
return htmlentities($string, ENT_QUOTES, $char_set);
else
return htmlentities($string, ENT_QUOTES);
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best
Reply With Quote
  #20  
Old 09-07-2008, 03:59 PM
 
georgewf georgewf is offline
 

Advanced Member
  
Join Date: Feb 2004
Posts: 79
 

Default Re: X-Cart v4.1.11 released

re: html entities

I have most of my database encoded using html entities like &eacute. These still display correctly and I can create descriptions using them, however I cannot edit these items without losing most of the codes.

Try some of these for yourself:

&acute; U+00B4
&AElig; U+00C6
&aelig; U+00E6
&Agrave; U+00C0
&agrave; U+00E0
&alefsym; U+2135
&Alpha; U+0391
&alpha; U+03B1
&amp; U+0026

It seems like all the entities which are less than hex x00FF value cannot be edited in xcart.

Can Qualiteam please confirm if this is expected behaviour now? The message in the changelog about entities is very vague.

Thanks
__________________
xcart 4.7.12
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 02:52 PM.

   

 
X-Cart forums © 2001-2020