RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > News and Announcements > General Discussion

For more information about the ads and why they're here, please see the FAQ

Reply
  #1  
Old 01-02-2009, 09:52 PM
Registered User
 
Join Date: Jan 2009
Posts: 3
Default Please Help! "Website cannot display the page-HTTP 500 error" when click on the msg

Hi Guys,

I am new to RoundCube and just installed it on a WAMP server (based on Windows Server 2003R2). I also installed hMailServer on the same machine as well. Everything was fine during the installation. Sysytem requirements were all detected and OK.

However, after I login to the rouncube (i tried from another networked WinXP PC using IE6 or from the localhost using IE6), I can see the new test msg I sent to the account, but when I click on the messge, it keep loading and show error page that is
" The website cannot display the page, HTTP 500
Most likely causes:
The website is under maintenance.
The website has a programming error. "

I don't know what cause that. I tried install thunderbird to test the hMailServer. It is perfect. I can see the mail and the body.

Is there anyone or someone from the RoundCube Development Team can explain what the problem is? I actually need this to work. Please HELP!!!!

Thank in advanced

PHP version is above 5.2.
MySql is up-to-date.

Legionofsword
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 01-03-2009, 10:55 AM
Super Moderator
 
Join Date: May 2007
Posts: 835
Default

check the error log in logs/ that should have some informaiton about what went wrong.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 01-04-2009, 03:55 AM
Registered User
 
Join Date: Jan 2009
Posts: 3
Default

Thanks John.

I check the log file under log\. it showed me that

[02-Jan-2009 17:46:14] PHP Warning: domdocument::domdocument() expects parameter 2 to be long, string given in C:\wamp\www\roundcubemail\program\lib\washtml.php on line 235

[03-Jan-2009 09:19:03] PHP Warning: domdocument::domdocument() expects parameter 2 to be long, string given in C:\wamp\www\roundcubemail\program\lib\washtml.php on line 235

And I checked iti n the washtml.php file, on line 235 it is
$node = new DOMDocument('1.0', $this->config['charset']);

The whole block from 231 to 239 is below:

/* Main function, give it untrusted HTML, tell it if you allow loading
* remote images and give it a map to convert "cid:" urls. */
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;
@$node->loadHTML($html);
return $this->dumpHtml($node);
}

Would you have any idea about this (what was wrong)?

Thank you in advance

LegionofSword
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 01-04-2009, 10:05 AM
Super Moderator
 
Join Date: May 2007
Posts: 835
Default

Hi,

I had a quick search around for that error and it looks like there could be a mistake in your php.ini file....

"I used to work with WAMP, and I remember I got the same problem.

I had commented extension=php_domxml.dll, but i had to do it in the php.ini file that was in the apache directory."

If there is a line "extension=php_domxml.dll" in your php.ini then comment it out. PHP5 supports the DOMXML by default and so you dont need to extension.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 01-05-2009, 06:52 AM
Registered User
 
Join Date: Jan 2009
Posts: 3
Default

WOW! Thank you John, mate. After I followed what you said, it works. Excellent! Thanks a lot



Legionofsword
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
cannot read message, http 500 error, page cannot displayed


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2006-2008 RoundCube Webmail Community