VirtueMart Forum

VirtueMart 2 + 3 => Virtuemart Development and bug reports => Topic started by: DavidZ on September 07, 2018, 22:35:13 pm

Title: Virtuemart convertECB does not work
Post 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:
Code: [Select]
    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)

Title: Re: Virtuemart convertECB does not work
Post by: wirecreative on September 08, 2018, 02:01:06 am
Thanks for the fix. That did it.
Title: Re: Virtuemart convertECB does not work
Post by: Milbo on September 08, 2018, 10:25:05 am
Thank you, is changed.
Title: Re: Virtuemart convertECB does not work
Post by: loppan on September 10, 2018, 14:29:22 pm
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
Title: Re: Virtuemart convertECB does not work
Post by: Milbo on September 10, 2018, 18:42:44 pm
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
Title: Re: Virtuemart convertECB does not work
Post by: HamishAhern on October 23, 2018, 12:15:49 pm
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.
Title: Re: Virtuemart convertECB does not work
Post by: GJC Web Design on October 23, 2018, 12:48:17 pm
is fixed in VM3.4.2 which is the latest stable
Title: Re: Virtuemart convertECB does not work
Post by: barbara on June 06, 2020, 20:49:08 pm
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
Title: Re: Virtuemart convertECB does not work
Post by: Jörgen on June 06, 2020, 21:41:30 pm
Have You updated the VMAIO ?

Jörgen @ Kreativ Fotografi