VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: datalab on January 27, 2015, 20:34:49 PM

Title: Special Charachters on VirtueMart 2.6.6 do not work.
Post by: datalab on January 27, 2015, 20:34:49 PM
Hi i have installed VirtueMart 2.6.6 and i have products inside that the description has special charachters, for example 26" wheel. When i search with the word 26" i get no results back. how can i fix this? (Joomla 2.5.28)
Title: Re: Special Charachters on VirtueMart 2.6.6 do not work.
Post by: GJC Web Design on January 27, 2015, 20:53:39 PM
Quotei have installed VirtueMart 2.6.6

2.6.14 is the latest
Title: Re: Special Charachters on VirtueMart 2.6.6 do not work.
Post by: datalab on January 27, 2015, 21:16:49 PM
I know that this is the latest but i have no reason to upgrade if the latest does not support this function either! So, Any help?
Title: Re: Special Charachters on VirtueMart 2.6.6 do not work.
Post by: GJC Web Design on January 27, 2015, 21:39:25 PM
huh

1. do u know it hasn't been fixed in 2.6.14?

2. http://virtuemart.net/news/latest-news/462-security-release-of-vm2-6-10-and-vm2-9-9b - excuse me while I register as a SuperAdmin
Title: Re: Special Charachters on VirtueMart 2.6.6 do not work.
Post by: datalab on January 29, 2015, 05:22:00 AM
I created the backup installation in other directory under new database and updated to V 2.6.14 and YES the issue remains!
Title: Re: Special Charachters on VirtueMart 2.6.6 do not work.
Post by: GJC Web Design on January 29, 2015, 10:20:11 AM
so - progress.. you can now report this as a confirmed bug in the latest release of VM2.6.xx

it is the problem of " being replaced with the html entity 34... I remember fixing this on a site somewhere  but can't find ..

from memory it is because the " are urlencoded with the post (as they should be.. )

think you need to do something like $this->keyword = str_replace("&34","\"\",$this->keyword);
once it gets to the search routine in model/products.php but pretty sure more than that needed