Please upgrade here. These earlier versions are no longer being updated and have security issues.

[Solved] Fatal error: Class 'DOMDocument' not found in /var/www/html/community/answers/...

netigatenetigate New
edited August 2013 in Vanilla 2.0 - 2.8

Hi,

i am using the newest vanilla and wordpress version and managed to embed the forum into wordpress, but i cant get the comment integration working. check any pages or posts at http://community.netigate.net/pagetest/

it just shows the error message:

Fatal error: Class 'DOMDocument' not found in /var/www/html/community/answers/library/core/functions.general.php on line 751

in the html output comes this:

<div id="vanilla-comments"></div>
<script type="text/javascript"> 
var vanilla_forum_url = 'http://community.netigate.net/answers/'; 
// Required: the full http url & path to your vanilla forum var vanilla_identifier = '31'; 
// Required: your unique identifier for the content being commented on var vanilla_url = 'http://community.netigate.net/pagetest/'; 
// Current page's url var vanilla_category_id = '9'; 
// Embed comments in this category (function() { var vanilla = document.createElement('script'); vanilla.type = 'text/javascript';
 var timestamp = new Date().getTime(); vanilla.src = vanilla_forum_url + '/js/embed.js';

(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(vanilla); })();

<noscript>Please enable JavaScript to view the <a href="http://vanillaforums.com/?ref_noscript">comments powered by Vanilla.</a></noscript>

vanilla is located at http://www.community.netigate.net/answers

do you guys have experience with this kind of error?

Tagged:

Comments

  • wow. we got this also fixed. our host "Evry" helped us out here again and did the following:

    However, DOMDocument is XML, so I have now installed php-xml which includes the following:

    /usr/lib64/php/modules/dom.so
    /usr/lib64/php/modules/wddx.so
    /usr/lib64/php/modules/xmlreader.so
    /usr/lib64/php/modules/xmlwriter.so
    /usr/lib64/php/modules/xsl.so

    I’ve reloaded httpd after installing php-xml.

    now everything is working like a charm.

    close

Sign In or Register to comment.