kevin-xw / rock-php

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

Vist rockmongo index page fail #174

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.unzip rockmongo at /var/www/rockmongo directory
2.vist http://localhost/rockmongo/index.php

What is the expected output? What do you see instead?

expected: login page
in fact: Server Error

    服务器错误
    网站在检索 http://localhost/rockmongo/index.php 时遇到错误。 该网站可能关闭进行维护或配置不正确。
    以下是一些建议:
    请稍后重新加载此网页。
    HTTP 错误 500(Internal Server Error):服务器尝试执行请求时遇到了意外情况。

RockMongo Version (1.1.0)
Operation System (Ubuntu 11.10)
PHP Version (5.3.6)
php_mongo Version (mongodb-mongo-php-driver-1.2.6)
MongoDB version (2.0.2)

Please provide any additional information below.

Apache Error Log: 
[Fri Dec 30 11:57:47 2011] [error] [client 127.0.0.1] PHP Warning:  
require(/var/www/rockmongo/app/lib/core/RPlugin.php): failed to open stream: 
Permission denied in /var/www/rockmongo/rock.php on line 387, referer: 
http://code.google.com/p/rock-php/wiki/rock_mongo#Quick_Install
[Fri Dec 30 11:57:47 2011] [error] [client 127.0.0.1] PHP Fatal error:  
require(): Failed opening required 
'/var/www/rockmongo/app/lib/core/RPlugin.php' 
(include_path='.:/usr/share/php:/usr/share/pear') in 
/var/www/rockmongo/rock.php on line 387, referer: 
http://code.google.com/p/rock-php/wiki/rock_mongo#Quick_Install

Original issue reported on code.google.com by hurongha...@gmail.com on 30 Dec 2011 at 4:06

GoogleCodeExporter commented 9 years ago
Hi,

看起来文件权限不对,请将所有文件都加上可执行权限。

Please apply executable(+x) to all your files. 

Original comment by iwind....@gmail.com on 21 Feb 2012 at 8:24