3

我正在尝试使用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
4

0 回答 0