在Linux vServer上安装Owncloud时出错

时间:2012-02-10 08:32:14

标签: php mysql owncloud

我正在尝试让owncloud在我的SUSE 11 vServer上运行。 我设法完成了准备工作,但在点击“完成设置”后,他收到错误说

MDB2_Schema错误:架构解析错误:分析程序错误:无法打开文件。 - 未知

当我查看我的php_error_log时,它说出以下内容:

[Fri Feb 10 09:26:14 2012] [error] [client 46.74.14.143] PHP Warning:  realpath(): SAFE MODE Restriction in effect.  The script whose uid is 30 is not allowed to access /srv/www/vhosts/default/htdocs owned by uid 0 in /srv/www/vhosts/default/htdocs/owncloud/lib/base.php on line 129, referer: http://s402370683.online.de/owncloud/index.php
[Fri Feb 10 09:26:14 2012] [error] [client 46.74.14.143] PHP Warning:  tempnam(): SAFE MODE Restriction in effect.  The script whose uid is 30 is not allowed to access /tmp owned by uid 0 in /srv/www/vhosts/default/htdocs/owncloud/lib/db.php on line 319, referer: http://s402370683.online.de/owncloud/index.php
[Fri Feb 10 09:26:14 2012] [error] [client 46.74.14.143] PHP Warning:  file_put_contents(): Filename cannot be empty in /srv/www/vhosts/default/htdocs/owncloud/lib/db.php on line 325, referer: http://s402370683.online.de/owncloud/index.php
[Fri Feb 10 09:26:14 2012] [error] [client 46.74.14.143] PHP Warning:  fopen(): Filename cannot be empty in /srv/www/vhosts/default/htdocs/owncloud/3rdparty/XML/Parser.php on line 364, referer: http://s402370683.online.de/owncloud/index.php
[Fri Feb 10 09:26:14 2012] [error] [client 46.74.14.143] PHP Strict Standards:  Non-static method MDB2_Schema::raiseError() should not be called statically, assuming $this from incompatible context in /srv/www/vhosts/default/htdocs/owncloud/3rdparty/MDB2/Schema/Parser.php on line 526, referer: http://s402370683.online.de/owncloud/index.php
[Fri Feb 10 09:26:14 2012] [error] [client 46.74.14.143] PHP Strict Standards:  Non-static method MDB2_Schema::errorMessage() should not be called statically, assuming $this from incompatible context in /srv/www/vhosts/default/htdocs/owncloud/3rdparty/MDB2/Schema.php on line 2759, referer: http://s402370683.online.de/owncloud/index.php
[Fri Feb 10 09:26:14 2012] [error] [client 46.74.14.143] PHP Strict Standards:  Only variables should be assigned by reference in /srv/www/vhosts/default/htdocs/owncloud/3rdparty/MDB2/Schema/Parser.php on line 526, referer: http://s402370683.online.de/owncloud/index.php

有人建议吗?我试了几个小时......

1 个答案:

答案 0 :(得分:1)

你可以看看BitNami OwnCloud installer。它是免费的,可以帮助您设置OwnCloud和所有依赖项(免责声明:我是BitNami开发人员)