使用responsivefilemanager上传失败

问题描述 投票:0回答:1

我正在尝试使用 http://www.responsivefilemanager.com 进行上传。但我收到这个错误

<br />
<b>Warning</b>:  mime_content_type(): open_basedir restriction in effect. File(/var/www/html/tes_loecari_com/tmp/phpat0AZf) is not within the allowed path(s): (/var/www/html/trial:/var/tmp/) in <b>/var/www/html/trial/assets/filemanager/upload.php</b> on line <b>95</b><br />
<br />
<b>Warning</b>:  mime_content_type(/var/www/html/tes_loecari_com/tmp/phpat0AZf): failed to open stream: Operation not permitted in <b>/var/www/html/trial/assets/filemanager/upload.php</b> on line <b>95</b><br />
<br />
<b>Warning</b>:  filesize(): open_basedir restriction in effect. File(/var/www/html/tes_loecari_com/tmp/phpat0AZf) is not within the allowed path(s): (/var/www/html/trial:/var/tmp/) in <b>/var/www/html/trial/assets/filemanager/UploadHandler.php</b> on line <b>296</b><br />
{"files":[{"name":"test.jpeg","size":141268,"type":"image\/jpeg","error":"File is too small"}]}

当我在本地主机中尝试时。没关系。但是当我将其上传到mmy托管时,发生了这种情况,我有点困惑,我的网站文件夹是“试用”,但为什么有

tes_loecari_com
错误?

这是错误(在)

SyntaxError: Unexpected token < in JSON at position 0
php codeigniter-3 responsive-filemanager
1个回答
0
投票

我将responsivefilemanager与codeigniter一起使用,但我将其放在应用程序文件夹之外。

-响应式文件管理器
-申请
-系统
-*****

© www.soinside.com 2019 - 2024. All rights reserved.