VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: leftyd on September 12, 2018, 17:13:43 PM

Title: Plugin - Currency Converter
Post by: leftyd on September 12, 2018, 17:13:43 PM
Joomla Version 3.8.12
VM - 3.2.14
PHP - 5.6.30-12

RE:  Repeated Warnings

Example:

Warning  DOMDocument  loadXML()  Opening and ending tag mismatch  hr line 5 and body in Entity, line  6 in /vol/joomla-sites/powerengineering.org/public_html/administrator/components/com_virtuemart/plugins/currency_converter/convertECB.php
on line 144

Warning  DOMDocument  loadXML()  Opening and ending tag mismatch  body line
3 and html in Entity, line  7 in
/vol/joomla-sites/powerengineering.org/public_html/administrator/components/com_virtuemart/plugins/currency_converter/convertECB.php
on line 144

Warning  DOMDocument  loadXML()  Premature end of data in tag html line 1 in Entity, line  8 in /vol/joomla-sites/powerengineering.org/public_html/administrator/components/com_virtuemart/plugins/currency_converter/convertECB.php
on line 144
--------------------------------------------------------------------------------------------------------


I have had to have our host server fix the issue a couple of times.  Please see comments below.

Here is a little more information about the reported issue

Plugin for VirtueMart -> ECB Currency converter periodically cannot download the xml file from the site of currencies http //www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
This is most likely due to a network problem.
As a result, the functionality of this plug-in breaks and it can not convert currencies

Plugin description
name  ECB Currency Converter
author: Sören Eberhardt-Biermann
creation date 28. January 2008
author url http //joomlacode.org/gf/project/jmart/
version 1.0
description  Currency Converter Plugin, based on Rates from the European Central Bank
Title: Re: Plugin - Currency Converter
Post by: jenkinhill on September 12, 2018, 17:23:17 PM
Forum search??  See http://forum.virtuemart.net/index.php?topic=140909
Title: Re: Plugin - Currency Converter
Post by: Croc on September 18, 2018, 09:47:05 AM
Check here
http://forum.virtuemart.net/index.php?topic=140909.msg496068#msg496068
Title: Re: Plugin - Currency Converter
Post by: leftyd on September 24, 2018, 17:50:41 PM
Joomla Version 3.8.12
VM - 3.4.0
PHP - 5.6.30-12

The replies to the thread helped thank you.

Now I am trying to fix another issue with the state/province drop down menu not working for some customers.  This issue is very random but the following message occurs:

(Reason: CORS header 'Access-Control-Allow-Origin' missing)  See attached for full message.
Title: Re: Plugin - Currency Converter
Post by: kishoreonwork on September 24, 2018, 18:50:10 PM
The one reason for (CORS header 'Access-Control-Allow-Origin' missing) may be  your website can be accessed by two url one with www and other with non-www
see
https://powerengineering.org/
https://www.powerengineering.org/

Make sure it is accessed from only one url else their are always problem in HTTPS .

Thanks
Kishore