kevin-xw / rock-php

Automatically exported from code.google.com/p/rock-php
0 stars 0 forks source link

apache/php throws 500 - internal server error #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Windows, Apache/2.2.11, php 5.2.10

Set-up incorrect port number
try to login
apache/php throws 500 - internal server error

logs:
[18-May-2011 09:41:15] PHP Fatal error:  Uncaught exception 
'MongoConnectionException' with message 'Unknown error' in 
Z:\www\rockmongo\app\models\MServer.php:230
Stack trace:
#0 Z:\www\rockmongo\app\models\MServer.php(230): 
Mongo->__construct('10.10.0.7:7107')
#1 Z:\www\rockmongo\app\controllers\login.php(39): MServer->auth('', '', '')
#2 Z:\www\rockmongo\rock.php(202): LoginController->doIndex()
#3 Z:\www\rockmongo\rock.php(81): RController->exec()
#4 Z:\www\rockmongo\index.php(34): Rock::start()
#5 {main}
  thrown in Z:\www\rockmongo\app\models\MServer.php on line 230

Blank page

Original issue reported on code.google.com by roza...@gmail.com on 18 May 2011 at 8:48

GoogleCodeExporter commented 9 years ago
Does this issue only occur with an incorrect port number?

Original comment by anton.ze...@gmail.com on 8 Aug 2011 at 3:25

GoogleCodeExporter commented 9 years ago
Yes, I spotted it only when the port is incorrect

Original comment by roza...@gmail.com on 8 Aug 2011 at 3:28

GoogleCodeExporter commented 9 years ago
We will prompt the exception more friendly.

Original comment by iwind....@gmail.com on 21 Feb 2012 at 9:07