News:

Support the VirtueMart project and become a member

Main Menu

VirtueMart order search not work with Greek characters

Started by ttanidis, September 12, 2022, 11:49:30 AM

Previous topic - Next topic

ttanidis

Hello,


Website ver.:
Joomla: 3.10.11
Virtuemart: 4.0.6 10690
PHP: 7.4.30


I have a problem in VirtueMart > Orders. When I try to find an order by name with Greek characters, the search result is "No records found". When I try to find an order by name with English characters the search shows the order.



Does anyone know how to help me?
Thank you very much.

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ttanidis

Thanks for your reply. In the link you suggested there is no relevant solution.

GJC Web Design

From Max....

QuoteThe search is imho the last problem.

What a foo. Long time ago, I wrote it so, that vm encoded the strings to html entities. I removed that 1-2 years ago, because some people had trouble with imports.

now joomla changed the db handler (and it looks like for j3 also) that any query gets encoded. So they adapted my "stubborn" way for which I got so much negative response. But yes it is just a lot more secure.

should be in the latest test release  https://dev.virtuemart.net/projects/virtuemart/files
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

Quote from: GJC Web Design on September 14, 2022, 19:17:25 PM
From Max....

QuoteThe search is imho the last problem.

What a foo. Long time ago, I wrote it so, that vm encoded the strings to html entities. I removed that 1-2 years ago, because some people had trouble with imports.

now joomla changed the db handler (and it looks like for j3 also) that any query gets encoded. So they adapted my "stubborn" way for which I got so much negative response. But yes it is just a lot more secure.

should be in the latest test release  https://dev.virtuemart.net/projects/virtuemart/files

oha, I need to fix this entry. It was actually the adjustment to php8 and it was my fault.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/