Author Topic: Error http 500  (Read 5162 times)

Offline animetal

  • Newbie
  • *
  • Posts: 5
Error http 500
« on: October 23, 2009, 06:07:09 PM »
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:

Code: [Select]
[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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Error http 500
« Reply #1 on: October 23, 2009, 11:22:29 PM »
Try deleting the .htaccess file in the root directory.

Offline animetal

  • Newbie
  • *
  • Posts: 5
Error http 500
« Reply #2 on: October 24, 2009, 09:55:11 AM »
Quote from: skaero;22484
Try deleting the .htaccess file in the root directory.
I have an .htaccess configured for my joomla website and it have the following lines:

Code: [Select]
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?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Error http 500
« Reply #3 on: October 24, 2009, 07:38:19 PM »
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.

Offline animetal

  • Newbie
  • *
  • Posts: 5
Error http 500
« Reply #4 on: October 26, 2009, 03:20:53 PM »
Thanks for your help, it was the php-xml wasnt installed on the server