Author Topic: [SOLVED] 301 Moved Permanently / Currency Converter XML  (Read 1845 times)

DJWezzz

  • Beginner
  • *
  • Posts: 11
  • A beginner
[SOLVED] 301 Moved Permanently / Currency Converter XML
« 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

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2318
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: 301 Moved Permanently / Currency Converter XML
« Reply #1 on: September 10, 2018, 07:54:28 am »
What is Your problem ?

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9037
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: 301 Moved Permanently / Currency Converter XML
« Reply #2 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9918
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

DJWezzz

  • Beginner
  • *
  • Posts: 11
  • A beginner
Re: [SOLVED] 301 Moved Permanently / Currency Converter XML
« Reply #4 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.

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2318
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: [SOLVED] 301 Moved Permanently / Currency Converter XML
« Reply #5 on: September 15, 2018, 23:52:59 pm »
I have followed Jörgen, thats works correctly.

What was the issue with the broken 301 page output ?

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

roman5527

  • Jr. Member
  • **
  • Posts: 155
Re: [SOLVED] 301 Moved Permanently / Currency Converter XML
« Reply #6 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

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2318
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: [SOLVED] 301 Moved Permanently / Currency Converter XML
« Reply #7 on: August 23, 2019, 20:30:55 pm »
What is Your problem ?

regards

Jörgen @ Kreativ Fotografi

Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

roman5527

  • Jr. Member
  • **
  • Posts: 155
Re: [SOLVED] 301 Moved Permanently / Currency Converter XML
« Reply #8 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

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2318
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: [SOLVED] 301 Moved Permanently / Currency Converter XML
« Reply #9 on: August 23, 2019, 21:14:17 pm »
Quote
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';

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

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)