VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: DJWezzz on September 10, 2018, 00:34:58 AM

Title: [SOLVED] 301 Moved Permanently / Currency Converter XML
Post by: DJWezzz on September 10, 2018, 00:34:58 AM
Hello, can somebody help me?
I get sometimes when i go to the backend the follow error:

Failed to parse the Currency Converter XML document.

The content: <html>

<head><title>301 Moved Permanently</title></head>

<body bgcolor="white">

<center><h1>301 Moved Permanently</h1></center>

<hr><center>Myra</center>

</body>

</html>


VirtueMart 3.2.14
Joomla! 3.8.12 Stable
Title: Re: 301 Moved Permanently / Currency Converter XML
Post by: Jörgen on September 10, 2018, 07:54:28 AM
What is Your problem ?

regards

Jörgen @ Kreativ Fotografi
Title: Re: 301 Moved Permanently / Currency Converter XML
Post by: GJC Web Design on September 10, 2018, 10:26:34 AM
Have seen the error as well in admin

follow these instructions -> http://forum.virtuemart.net/index.php?topic=140888.0 to fix and is fixed in the next update
Title: Re: 301 Moved Permanently / Currency Converter XML
Post by: Milbo on September 10, 2018, 18:42:15 PM
Or just use the new core http://dev.virtuemart.net/attachments/download/1127/com_virtuemart.3.2.15.9925_package_or_extract.zip
Title: Re: [SOLVED] 301 Moved Permanently / Currency Converter XML
Post by: DJWezzz on September 15, 2018, 23:32:53 PM
I have followed Jörgen, thats works correctly. Thanks Milbo for the update. I try it too.
Title: Re: [SOLVED] 301 Moved Permanently / Currency Converter XML
Post by: Jörgen on September 15, 2018, 23:52:59 PM
Quote from: DJWezzz on September 15, 2018, 23:32:53 PM
I have followed Jörgen, thats works correctly.

What was the issue with the broken 301 page output ?

regards

Jörgen @ Kreativ Fotografi
Title: Re: [SOLVED] 301 Moved Permanently / Currency Converter XML
Post by: roman5527 on August 23, 2019, 20:07:56 PM
Hi, i have this proplem too . i have in daily.xml this content :

Quote
<html>

<head><title>301 Moved Permanently</title></head>

<body bgcolor="white">

<center><h1>301 Moved Permanently</h1></center>

<hr><center>Myra</center>

</body>

</html>

can you help me fix it ? i have Virtuemart 3.4.2

Thanks
Title: Re: [SOLVED] 301 Moved Permanently / Currency Converter XML
Post by: Jörgen on August 23, 2019, 20:30:55 PM
Quote from: Jörgen on September 10, 2018, 07:54:28 AM
What is Your problem ?

  • Not finding the xml document ?
    Server issue ?
    maybe ? http://forum.virtuemart.net/index.php?topic=140888.0 (http://forum.virtuemart.net/index.php?topic=140888.0)
  • The unstyled output from the 301 page ?
    Check the template override for the 301 page, it might be in the wrong format.

regards

Jörgen @ Kreativ Fotografi

Title: Re: [SOLVED] 301 Moved Permanently / Currency Converter XML
Post by: roman5527 on August 23, 2019, 20:46:03 PM
Hi, i can try this manual : http://forum.virtuemart.net/index.php?topic=140888.0

i delete daily.xml . but now when i refresh web , ftp and i change currency on web i dont have daily.xml on ftp .

ANd i dont have convertECB folder in cache folder and administrator/cache and media folder .

Can you any solution ?

thanks
Title: Re: [SOLVED] 301 Moved Permanently / Currency Converter XML
Post by: Jörgen on August 23, 2019, 21:14:17 PM
QuoteHowever, 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';

Have You done this, this should not be neccessary with new version of VM.

Jörgen @ Kreativ Fotografi