Roundcube Community Forum

 

Error http 500

Started by animetal, October 23, 2009, 06:07:09 PM

Previous topic - Next topic

animetal

Hi, I have just installed roundcube 0.3 and everything looks just fine until i try to open an email and give me the http 500 error.

checking my errors logs I have the following:

[23-Oct-2009 19:58:57] PHP Warning:  include(DOMDocument.php) [<a href='function.include'>function.include</a>]: failed to open stream: in /var/www/html/roundcube/program/include/iniset.php on line 104

[23-Oct-2009 19:58:57] PHP Warning:  include() [<a href='function.include'>function.include</a>]: Failed opening 'DOMDocument.php' for inclusion (include_path='/var/www/html/roundcube/:/var/www/html/roundcube/program:/var/www/html/roundcube/program/lib:/var/www/html/roundcube/program/include:.:/usr/share/pear:/usr/share/php') in /var/www/html/roundcube/program/include/iniset.php on line 104

[23-Oct-2009 19:58:57] PHP Fatal error:  Class 'DOMDocument' not found in /var/www/html/roundcube/program/lib/washtml.php on line 247


Centos 5
Php 5.2.11
Roundcube 0.3
MySQL 5.0.77

Thanks in advance

SKaero

Try deleting the .htaccess file in the root directory.

animetal

Quote from: skaero;22484Try deleting the .htaccess file in the root directory.
I have an .htaccess configured for my joomla website and it have the following lines:

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]


Wich one I should modify?

SKaero

It depends on your server so there is no easy way to tell. Simple things first does RoundCube work if you remove it? There should also be a .htaccess in RC root folder try deleting that one and see if it works.

animetal

Thanks for your help, it was the php-xml wasnt installed on the server