News:

Support the VirtueMart project and become a member

Main Menu

Virtuemart convertECB does not work

Started by DavidZ, September 07, 2018, 22:35:13 PM

Previous topic - Next topic

DavidZ

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)


wirecreative


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/

loppan

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

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/

HamishAhern

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.

GJC Web Design

is fixed in VM3.4.2 which is the latest stable
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

barbara

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

Jörgen

Have You updated the VMAIO ?

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.