News:

Support the VirtueMart project and become a member

Main Menu

Invisible characters in cart module

Started by sandomatyas, May 15, 2023, 11:09:46 AM

Previous topic - Next topic

sandomatyas

Hi
I found some invisible characters at the beginning of the cart module:
https://snipboard.io/wh7mFl.jpg
I tried two different templates with the same result.
When I check mod_virtuemart_cart.php and removes $data = $cart->prepareAjaxData(); it disappears
Any guess where it comes from?

Joomla 4.3.1, VM 4.0.21

Margriet

Unable to reproduce, so I assume it is not a bug, but related to your template(s).
VM 4.0.21???

sandomatyas

hm, I tested with a clean install, it doesn't appears. But it's not the template, I checked with 3 different one, it must be some extension which is triggered during the cart process. I'll check it later.

Yes, I got VM 4.0.21 from Milbo :)

sirius

Hi,
this char is just a "Zero Width No-Break Space."
Also known as B.O.M (Byte Order Mark) to identify unicode files.
So you probably have a file save with B.O.M, so you should save (once found) with Unicode without BOM
It's also present several time in the tiny_mce.js and tinymce.min.js files
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.0.11095

sandomatyas

Yep thanks, I found in a 3rd party vmshipment plugin.