Author Topic: Internal Server Error (500)  (Read 7948 times)

Offline Pwnin O'Brien

  • Newbie
  • *
  • Posts: 5
Internal Server Error (500)
« on: May 26, 2010, 10:17:23 PM »
I did a clean install of Roundcube on my server and I have come across a small problem. When I log in I will get an Internal Server Error - 500. However, when I go back and re-enter the user and pass and re-login, it will go to the inbox. If I click on a new message, I will get another Internal Server Error - 500 in the preview pane, but when I click away and then re-click the message it will load the message perfectly fine. Here are my server details:

Roundcube 0.4
IIS 7.5
MySQL 5.1.47
PHP 5.3.2

Any help is greatly appreciated!

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Internal Server Error (500)
« Reply #1 on: May 26, 2010, 10:19:54 PM »
Whats in your error log?

Offline Pwnin O'Brien

  • Newbie
  • *
  • Posts: 5
Internal Server Error (500)
« Reply #2 on: May 26, 2010, 10:21:51 PM »
[26-May-2010 14:45:02] PHP Fatal error:  Cannot redeclare _pear_call_destructors() in C:\inetpub\mail\program\lib\PEAR.php on line 771
[26-May-2010 22:05:08] PHP Fatal error:  Cannot redeclare _pear_call_destructors() in C:\inetpub\mail\program\lib\PEAR.php on line 771
[26-May-2010 22:11:17] PHP Fatal error:  Cannot redeclare _pear_call_destructors() in C:\inetpub\mail\program\lib\PEAR.php on line 771

Offline Pwnin O'Brien

  • Newbie
  • *
  • Posts: 5
Internal Server Error (500)
« Reply #3 on: May 26, 2010, 10:39:19 PM »
I've searched and searched for the solution to this error (and it seems to be a pretty common error) but I haven't found any definitive answers.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Internal Server Error (500)
« Reply #4 on: May 27, 2010, 01:01:15 AM »
You got a PEAR problem, it can be hard to fix if its configured wrong. Try removing \program\lib\PEAR.php and see if that fixes it.

Offline Pwnin O'Brien

  • Newbie
  • *
  • Posts: 5
Internal Server Error (500)
« Reply #5 on: May 27, 2010, 02:58:25 AM »
Worked like a charm! No more internal server errors! Thanks!

Offline Pwnin O'Brien

  • Newbie
  • *
  • Posts: 5
Internal Server Error (500)
« Reply #6 on: May 27, 2010, 10:22:49 AM »
Looks like I jumped the gun, I am still getting the internal server error. :confused:

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Internal Server Error (500)
« Reply #7 on: May 28, 2010, 06:01:43 AM »
What the error n the error log?