上传类型:默认
![https://pan.baidu.com/s/1wx91KgBvHXDmhM4X_EKlhg](https://)
![https://pan.baidu.com/s/1azvR7kON980zSazIkXWL2A](https://)
start parse
VM7614:1 -------createCandidate() tag: DIV className/id: /container
VM7614:1 getContentScore: 0
VM7614:1 classWeight:1
VM7614:1 -------createCandidate() tag: DIV className/id: col-md-10 max_height/
VM7614:1 getContentScore: 0
VM7614:1 classWeight:1
VM7614:1 -------createCandidate() tag: DIV className/id: file-main ng-scope/
VM7614:1 getContentScore: 0
VM7614:1 classWeight:1.4
VM7614:1 -------createCandidate() tag: DIV className/id: container-fluid max_height_set/
VM7614:1 getContentScore: 0
VM7614:1 classWeight:1.4
VM7614:1 -------createCandidate() tag: DIV className/id: row/
VM7614:1 getContentScore: 0
VM7614:1 classWeight:1.4
VM7614:1 -------createCandidate() tag: DIV className/id: main/
VM7614:1 getContentScore: 0
VM7614:1 classWeight:1.7999999999999998
VM7614:1 -------createCandidate() tag: DIV className/id: main-navigation clearfix ng-scope/
VM7614:1 getContentScore: 0
VM7614:1 classWeight:2.1999999999999997
VM7614:1 -------createCandidate() tag: DIV className/id: iconset noselect ng-scope/
VM7614:1 getContentScore: 49.00361821529471
VM7614:1 classWeight:2.1999999999999997
VM7614:1 getCandidateList 8
VM7614:1 candidate tag: DIV score:107.80796007364835 className/id: iconset noselect ng-scope/
VM7614:1 candition1: 2.284457604025926 score: 107.80796007364835 contentArea: 123878.8125 textsArea: 123878.8125 averageFontsize: 14 encodingType: 3
VM7614:1 candidate tag: DIV score:0 className/id: /container
VM7614:1 candidate tag: DIV score:0 className/id: col-md-10 max_height/
VM7614:1 candidate tag: DIV score:0 className/id: file-main ng-scope/
VM7614:1 candidate tag: DIV score:0 className/id: container-fluid max_height_set/
VM7614:1 candidate tag: DIV score:0 className/id: row/
VM7614:1 candidate tag: DIV score:0 className/id: main/
VM7614:1 candidate tag: DIV score:0 className/id: main-navigation clearfix ng-scope/
VM7614:1 results length:0
请问是不是超过4G都无法生成正常文件?
同时也怀疑是不是有地方限制了文件大小,因为我访问网站根目录/upload路径直接爆出来好多错误如图
[1] ErrorException in UploadHandler.php line 220
Call to a member function getInfo() on a non-object
return $fileName;
}
public function fileReceive($file,$info){
$allowedExt = self::getAllowedExt(json_decode($this->policyContent["filetype"],true));
$filter = array('size'=>(int)$this->policyContent["max_size"]);
if(!empty($allowedExt)){
$filter = array_merge($filter,array("ext" => $allowedExt));
}
if(!FileManage::sotrageCheck($this->userId,$file->getInfo('size'))){
$this->setError("空间容量不足",false);
}
if($this->policyContent['autoname']){
$fileName = $this->getObjName($this->policyContent['namerule'],"local",$file->getInfo('name'));
}else{
$fileName = $file->getInfo('name');
}
$generatePath = $this->getDirName($this->policyContent['dirrule']);
$savePath = ROOT_PATH . 'public/uploads/'.$generatePath;
Call Stack
in UploadHandler.php line 220
at Error::appShutdown()
Environment Variables
GET Data
/Upload
POST Dataempty
Filesempty
Cookies
Hm_lvt_ea4269d8a00e95fdb9ee61e3041a8f98 1538621417
user_id 1
login_status ok
login_key 63377629f7be0fbd799713309734ea8f
path
wdcpsessionID 1a2c03ec745653c5523b25d4d4a676d5
path_tmp
Sessionempty
Server/Request Data
REDIRECT_HTTP_AUTHORIZATION
REDIRECT_STATUS 200
HTTP_AUTHORIZATION
HTTP_HOST 135.128.0.60
HTTP_COOKIE Hm_lvt_ea4269d8a00e95fdb9ee61e3041a8f98=1538621417; user_id=1; login_status=ok; login_key=63377629f7be0fbd799713309734ea8f; path=; wdcpsessionID=1a2c03ec745653c5523b25d4d4a676d5; path_tmp=
HTTP_X_REAL_IP 135.128.0.63
HTTP_CONNECTION close
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36 Maxthon/5.1.3.2000
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
HTTP_DNT 1
HTTP_ACCEPT_LANGUAGE zh-CN
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME 135.128.0.60
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 135.128.0.63
DOCUMENT_ROOT /www/web/yun_hdw
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /www/web/yun_hm/public_html
SERVER_ADMIN you@example.com
SCRIPT_FILENAME /www/web/yun_hdm/public_html/index.php
REMOTE_PORT 38762
REDIRECT_URL /Upload
REDIRECT_QUERY_STRING /Upload
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING /Upload
REQUEST_URI /Upload
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1539247839.461
REQUEST_TIME 1539247839
PATH_INFO /Upload
Environment Variablesempty
ThinkPHP Constants
APP_PATH /www/web/yun_hd/public_html/application/
BIND_MODULE index
THINK_VERSION 5.0.9
THINK_START_TIME 1539247839.4617
THINK_START_MEM 236672
EXT .php
DS /
THINK_PATH /www/web/yun_hdm/public_html/thinkphp/
LIB_PATH /www/web/yun_hd/public_html/thinkphp/library/
CORE_PATH /www/web/yun_hdpublic_html/thinkphp/library/think/
TRAIT_PATH /www/web/yun_hd_html/thinkphp/library/traits/
ROOT_PATH /www/web/yun_hd/public_html/
EXTEND_PATH /www/web/yun_hd/public_html/extend/
VENDOR_PATH /www/web/yun_hdom/public_html/vendor/
RUNTIME_PATH /www/web/yun_hd_com/public_html/runtime/
LOG_PATH /www/web/yun_hdd_com/public_html/runtime/log/
CACHE_PATH /www/web/yun_hdd_com/public_html/runtime/cache/
TEMP_PATH /www/web/yun_hd_com/public_html/runtime/temp/
CONF_PATH /www/web/yun_h_com/public_html/application/
CONF_EXT .php
ENV_PREFIX PHP_
IS_CLI false
IS_WIN false
QINIU_FUNCTIONS_VERSION 7.1.3
Cloudreve