Roundcube Community Forum
Release Support => Pending Issues => Topic started by: xion on March 16, 2009, 06:09:40 PM
-
Ubuntu 8.10 Server with ISPConifg 2.2.29 and Roundcubemail 0.2.1 RC package.
I installed Roundcube through ISPConig admin interface using the pkg installer.
When I receive html based emails I get a http 500 error in the reading plane. If I send the email plain text it works fine.
Here is a copy of the error in the log file.
[16-Mar-2009 17:03:01] PHP Warning: include(DOMDocument.php) [function.include]: failed to open stream: No such file or directory in /home/admispconfig/ispconfig/web/roundcubemail/program/include/iniset.php on line 98
[16-Mar-2009 17:03:01] PHP Warning: include() [function.include]: Failed opening 'DOMDocument.php' for inclusion (include_path='/home/admispconfig/ispconfig/web/roundcubemail/:/home/admispconfig/ispconfig/web/roundcubemail/program:/home/admispconfig/ispconfig/web/roundcubemail/program/lib:/home/admispconfig/ispconfig/web/roundcubemail/program/include:.:') in /home/admispconfig/ispconfig/web/roundcubemail/program/include/iniset.php on line 98
[16-Mar-2009 17:03:01] PHP Fatal error: Class 'DOMDocument' not found in /home/admispconfig/ispconfig/web/roundcubemail/program/lib/washtml.php on line 235
-
I too have this problem. And have spent all day (on and off) trying to find the solution...
If you turn of the "display html" box in the personal settings tab then it displays the message MINUS any html content.
While its a work around....its not a good fix.
Anyone?
-
Yep.
I agree really not a good fix.
Thx
-
did you run the installer? sounds like may be you dont have the PHP DOM module installed PHP: Introduction - Manual (http://www.php.net/manual/en/intro.dom.php). If you ran the installer this should have shown up in the requirements check.
-
did you run the installer? sounds like may be you dont have the PHP DOM module installed PHP: Introduction - Manual (http://www.php.net/manual/en/intro.dom.php). If you ran the installer this should have shown up in the requirements check.
I am using ubuntu 8.10 server and have not been able to find a package called "php-xml".
on ubuntu's website there is a package "php-xml-htmlsax3" that is supposed to be better.
I am going to try installing it, restarting apache and I will report back here.
Regards
EDIT: (10 minutes later)
Nope didn't fix it.
hurumph.
-
Ok Here is a bit more on the error. THe last entry is the same as the OP's but the first two are different...i believe
[17-Mar-2009 14:33:38] PHP Warning: include_once(DOMDocument.php) [function.include-once]: failed to open stream: No such file or directory in /home/admispconfig/ispconfig/web/roundcubemail/program/include/iniset.php on line 93
[17-Mar-2009 14:33:38] PHP Warning: include_once() [function.include]: Failed opening 'DOMDocument.php' for inclusion (include_path='/home/admispconfig/ispconfig/web/roundcubemail/:/home/admispconfig/ispconfig/web/roundcubemail/program:/home/admispconfig/ispconfig/web/roundcubemail/program/lib:/home/admispconfig/ispconfig/web/roundcubemail/program/include:.:') in /home/admispconfig/ispconfig/web/roundcubemail/program/include/iniset.php on line 93
[17-Mar-2009 14:33:38] PHP Fatal error: Class 'DOMDocument' not found in /home/admispconfig/ispconfig/web/roundcubemail/program/lib/washtml.php on line 235
-
Anyone got any ideas?
-
if you make a phpinfo() file in your roundcube directory do you see dom listed? something like this....
dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.32
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
-
if you make a phpinfo() file in your roundcube directory do you see dom listed? something like this....
dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.32
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
I've exact the same error (gentoo):
my phpinfo output says:
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.7.3
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
and using:
dev-lang/php-5.2.8-r2 USE="apache2 berkdb bzip2 cli crypt ctype curl gd gdbm iconv imap mysql ncurses nls pcre readline reflection session spl ssl unicode xml zlib -adabas -bcmath -birdstep -calendar -cdb -cgi -cjk -concurrentmodphp -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd-external -gmp -hash -inifile -interbase -iodbc -ipv6 (-java-external) -json -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -posix -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -sockets -solid -spell -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -truetype -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -yaz -zip -zip-external" 0 kB
... apache restarted after recompiling php with xml enabled...
.. and the mentioned "Failed opening 'DOMDocument.php' for inclusion " above is also coming on my box. slocate fails to find a DOMDocument.php on my server... so missing
SOLUTION for ME:
recompiled php once more
restared apache again
and errors were gone, ascii + html mails are now displayed and logfile is empty.
regards,
Georg
-
How would I go about doing this in Ubuntu?