VirtueMart Forum
VirtueMart 2 + 3 => Virtuemart Development and bug reports => Topic started by: DavidZ on September 07, 2018, 22:35:13 pm
-
Any site which is using convertECB currency convertor is now working bad - the prices are not converted! It's very important issue and it should be fixed very quickly.
The reason is that the URL:
http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
is not available any more and it must be:
https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
The bug is at version <= 3.2.14.9808
However, you can do it yourself - it's quite easy. All the changes should be done on the filesystem (usually through FTP).
1) open file:
/administrator/components/com_virtuemart/plugins/currency_converter/convertECB.php
and replace line no 26 with:
var $document_address = 'https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml';
2) open directory /cache/
delete file daily.xml there (if exists)
delete whole folder convertECB (if exists)
3) open directory /media/
delete file daily.xml there (if exists)
delete whole folder convertECB (if exists)
-
Thanks for the fix. That did it.
-
Thank you, is changed.
-
Thank you DavidZ! My customers was complaining today about ridiculous prices in other currencies than my base currency. Your fix did the trick, thanks for sharing the solution!
Cheers
Peter
-
Here is the new core with a fix for that http://dev.virtuemart.net/attachments/download/1127/com_virtuemart.3.2.15.9925_package_or_extract.zip
-
thanks. I just hit this hard and fast problem in the last hour, as a customer just complained. same symptoms. and i just needed to add an s to the http job done.
-
is fixed in VM3.4.2 which is the latest stable
-
I thought this was fixed?!
I just installed vm 3.8.2 into joomla 3.9 and am getting the error
Warning: DOMDocument::loadXML(): Opening and ending tag mismatch: hr line 5 and body in Entity, line: 6 in .../administrator/components/com_virtuemart/plugins/currency_converter/convertECB.php on line 142
-
Have You updated the VMAIO ?
Jörgen @ Kreativ Fotografi