使用responsivefilemanager

时间:2017-10-23 07:07:49

标签: php codeigniter-3 responsive-filemanager

我尝试使用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"}]}

当我在localhost中尝试它时。没关系。但是当我将它上传到mmy主机时,发生这种情况并且我有点混淆,我的网站文件夹是&#39; trial&#39;但为什么tes_loecari_com出错?

这里是错误(in)

SyntaxError: Unexpected token < in JSON at position 0

0 个答案:

没有答案