2

我在下面的仪表板页面上有这个 OpenCart 错误...

Warning: fopen(): open_basedir restriction in effect. 
File(/var/www/vhosts/domainname.com/shop/download/test) is not within the allowed path(s):
(/var/www/vhosts/Cloud2.chrisames.co.uk/:/tmp/) in 
/var/www/vhosts/domainname.com/shop/admin/controller/common/home.php on line 99Warning:
fopen(/var/www/vhosts/domainname.com/shop/download/test): failed to open stream:
Operation not permitted in 
/var/www/vhosts/domainname.com/shop/admin/controller/common/home.php on line 99Warning:
fwrite() expects parameter 1 to be resource, boolean given in 
/var/www/vhosts/domainname.com/shop/admin/controller/common/home.php on line 
101Warning: fclose() expects parameter 1 to be resource, boolean given in 
/var/www/vhosts/domainname.com/shop/admin/controller/common/home.php on line 
103Warning: file_exists(): open_basedir restriction in effect. 
File(/var/www/vhosts/domainname.com/shop/download/test) is not within the allowed 
path(s): (/var/www/vhosts/Cloud2.chrisames.co.uk/:/tmp/) in 
/var/www/vhosts/domainname.com/shop/admin/controller/common/home.php on line 
105Warning: sprintf(): Too few arguments in 
/var/www/vhosts/domainname.com/shop/admin/controller/common/home.php on line 106

任何帮助最受赞赏:)

4

1 回答 1

-2

使用 FileZilla 客户端(免费软件,下载并安装它https://filezilla-project.org/download.php?type=client或从这里下载http://sourceforge.net/projects/filezilla/)...然后 Chmod目录和文件...设置目录 755,文件 644。(服务器有自己的权限规则,但现在很常见。)

这将为您解决

于 2013-10-21T19:45:50.210 回答