News:

Support the VirtueMart project and become a member

Main Menu

module search virtuemart apostrophe error

Started by fulvius20, January 11, 2020, 09:44:26 AM

Previous topic - Next topic

fulvius20

Good morning,
in the search module of virtuemart version 3.4.2.9966, typing a word that contains an apostrophe does not produce the result. While without apostrophe displays the product.
Someone solved it

Thank you
Fulvius20

jenkinhill

Try with the current release ( http://dev.virtuemart.net/projects/virtuemart/files ). There have been a lot of upgrades & bug fixes since 2018 when your version was released. Test on a copy of the live site, of course.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

woodhouse

Hi there,
as of today the apostrophe problem still exists.
I'm running several VM sites in Italian languange and the problem is serious.
I wonder if someone found a solution.
Even a hint on were to look to try to solve the problem is welcome
Thanks

woodhouse

More than 2 months and no response and no solution in sight.
For now I solved it by hacking administrator/components/com_virtuemart/helpers/vmmodel.php
I replace ''' with the apostrophe in $whereString and everything seems to work.
I know I will have to repeat the change with each update.
I would just like to know from the experts if this replacement could affect other parts of the VM
Thanks