VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: SamF on March 14, 2012, 05:41:24 AM

Title: Fatal error: Class 'DomDocument' not found in convertECB.php
Post by: SamF on March 14, 2012, 05:41:24 AM
Hello,

Reporting the bug:

Fatal error: Class 'DomDocument' not found in .../administrator/components/com_virtuemart/plugins/currency_converter/convertECB.php on line 159

Joomla 2.5.2 + VM 2.0.2 + AIO 2.0.2

URL: http://"mysite.my"/administrator/index.php?option=com_virtuemart&view=product

The same thing in the front end (&view=product).

Any solution? Thank you.

Title: Re: Fatal error: Class 'DomDocument' not found in convertECB.php
Post by: Gruz on March 15, 2012, 15:31:56 PM
Your php installtions lack this function. Ask your hoster to install php xml support.

Here is a tip: http://blog.namran.net/2009/03/10/php-fatal-error-class-domdocument-not-found-in-blabla/ (http://blog.namran.net/2009/03/10/php-fatal-error-class-domdocument-not-found-in-blabla/)
Title: Re: Fatal error: Class 'DomDocument' not found in convertECB.php
Post by: SamF on March 15, 2012, 16:22:47 PM
Thank you for your hint, I switched xmlread/xmlwrite on at client's host.

The strange thing is, that the "Fatal Error" already disappeared, as soon as I set up the shop currency.
Title: Re: Fatal error: Class 'DomDocument' not found in convertECB.php
Post by: Gruz on March 15, 2012, 16:37:13 PM
Maybe because it doesn't use the convertor with your settings.