Hi everybody,
roundcube this morning started to not open some email. In this moment 4 differents users have the same problem.
I found this in the log file:
QuotePHP Fatal error: Class 'DOMDocument' not found in /srv/www/roundcubemail-0.9.5/program/lib/Roundcube/rcube_washtml.php on line 364
This is the part of the interested code:
public function wash($html)
{
// Charset seems to be ignored (probably if defined in the HTML document)
$node = new DOMDocument('1.0', $this->config['charset']);
$this->extlinks = false;
$html = $this->cleanup($html);
// Find base URL for images
if (preg_match('/<base\s+href=[\'"]*([^\'"]+)/is', $html, $matches)) {
$this->config['base_url'] = $matches[1];
}
else {
$this->config['base_url'] = '';
}
// Detect max nesting level (for dumpHTML) (#1489110)
$this->max_nesting_level = (int) @ini_get('xdebug.max_nesting_level');
@$node->loadHTML($html);
return $this->dumpHtml($node);
}
Unfortunately I don't know php language. Can you help me?
Thank you very much.
Emanuele
That error means that your server is missing the Dom extension for PHP - http://www.php.net/manual/en/book.dom.php. The extension is a requirement of Roundcube so you need to install it if you want Roundcube to work.
BTW 0.9.5 is very old, you should consider updating.