drupal php:托管一个新的drupal网站的问题

agb*_*agb 2 php hosting drupal

我是drupal的新手.我尝试在免费托管(德语)kilue.de上托管它.(apache,mysql5.0)为了测试我在本地做了什么,在网站上:1-我使用phpmyadmin创建数据库2 -I复制了我拥有的内容在/ var/ww下使用FTP

一旦我使用给定的uurl启动我的网站,我有这样的消息:

* warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/data/multiserv/users/395147/projects/730411:/var/tmp/multiserv/users/395147/projects/730411:/data/apache/users/kilu.de/agbsite) in /data/multiserv/users/395147/projects/730411/www/includes/file.inc on line 190.
* warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/data/multiserv/users/395147/projects/730411:/var/tmp/multiserv/users/395147/projects/730411:/data/apache/users/kilu.de/agbsite) in /data/multiserv/users/395147/projects/730411/www/includes/file.inc on line 787.
* warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/data/multiserv/users/395147/projects/730411:/var/tmp/multiserv/users/395147/projects/730411:/data/apache/users/kilu.de/agbsite) in /data/multiserv/users/395147/projects/730411/www/includes/file.inc on line 787.
* warning: fopen() [function.fopen]: Filename cannot be empty in /data/multiserv/users/395147/projects/730411/www/includes/file.inc on line 788.
* The file could not be created.
* warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/data/multiserv/users/395147/projects/730411:/var/tmp/multiserv/users/395147/projects/730411:/data/apache/users/kilu.de/agbsite) in /data/multiserv/users/395147/projects/730411/www/includes/file.inc on line 190.
* warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/data/multiserv/users/395147/projects/730411:/var/tmp/multiserv/users/395147/projects/730411:/data/apache/users/kilu.de/agbsite) in /data/multiserv/users/395147/projects/730411/www/includes/file.inc on line 190.
* warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/data/multiserv/users/395147/projects/730411:/var/tmp/multiserv/users/395147/projects/730411:/data/apache/users/kilu.de/agbsite) in /data/multiserv/users/395147/projects/730411/www/includes/file.inc on line 787.
* warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/data/multiserv/users/395147/projects/730411:/var/tmp/multiserv/users/395147/projects/730411:/data/apache/users/kilu.de/agbsite) in /data/multiserv/users/395147/projects/730411/www/includes/file.inc on line 787.
* warning: fopen() [function.fopen]: Filename cannot be empty in /data/multiserv/users/395147/projects/730411/www/includes/file.inc on line 788.
* The file could not be created.
* warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/data/multiserv/users/395147/projects/730411:/var/tmp/multiserv/users/395147/projects/730411:/data/apache/users/kilu.de/agbsite) in /data/multiserv/users/395147/projects/730411/www/includes/file.inc on line 190.
Run Code Online (Sandbox Code Playgroud)

任何人都可以帮我找出问题所在?

cee*_*yoz 6

您的Web主机不允许您访问默认的Drupal临时文件位置/tmp.

您可以转到admin/settings/file-system并将临时文件位置更改为您有权访问的内容.我将创建一个tmp在您的用户目录中调用的文件夹,并将其定位到该位置.您可能需要通过CHMOD设置权限,以便Web服务器可以写入它.

在您的特定情况下尝试将其设置为

 /var/tmp/multiserv/users/395147/projects/730411. 
Run Code Online (Sandbox Code Playgroud)

它必须是open_basedir设置允许的文件夹.