[0] ThrowableError in common.php line 689

致命错误: Class 'org\Storage' not found

  1. function thumb($img,$w=100,$h=100,$default=''){
  2. $imgurl = parse_url($img);
  3. $host = isset($imgurl['host']) ? 'http://'.$imgurl['host'] : '';
  4. $img = $imgurl['path'];
  5. $default = $default ? $default : '/static/images/nopic.jpg';
  6. try{
  7. if(empty($img) || !file_exists(ltrim($img,'/'))){
  8. if($host)
  9. {
  10. return \org\Storage::thumb($host.$img,$default,$w, $h);
  11. }else{
  12. return $default;
  13. }
  14. }
  15. $img = ltrim($img,'/');
  16. $picinfo = getimagesize($img);
  17. if(!$picinfo){
  18. return $default;
  19. }

Call Stack

  1. in common.php line 689
  2. at thumb('/upload/pics/38524/b...', 200, 150) in c18b09669e1a2328550faa0c2a19beb1.php line 25
  3. at include('/newsite/2184/fangcm...') in File.php line 59
  4. at File->read('/newsite/2184/fangcm...', ['userInfo' => null, 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], 'menu' => ['head' => [['id' => 1, 'url' => '/', 'name' => '首页', ...], ['id' => 2, 'url' => '/xinfang/', 'name' => '新房', ...], ['id' => 3, 'url' => '/esf/', 'name' => '二手房', ...], ...], 'foot' => [['id' => 25, 'url' => '/single/agreement.ht...', 'name' => '用户协议', ...], ['id' => 26, 'url' => '/single/job.html', 'name' => '人才招聘', ...], ['id' => 9, 'url' => '/single/aboutus.html', 'name' => '关于我们', ...], ...]], ...]) in Template.php line 226
  5. at Template->fetch('/newsite/2184/fangcm...', ['userInfo' => null, 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], 'menu' => ['head' => [['id' => 1, 'url' => '/', 'name' => '首页', ...], ['id' => 2, 'url' => '/xinfang/', 'name' => '新房', ...], ['id' => 3, 'url' => '/esf/', 'name' => '二手房', ...], ...], 'foot' => [['id' => 25, 'url' => '/single/agreement.ht...', 'name' => '用户协议', ...], ['id' => 26, 'url' => '/single/job.html', 'name' => '人才招聘', ...], ['id' => 9, 'url' => '/single/aboutus.html', 'name' => '关于我们', ...], ...]], ...], []) in Think.php line 93
  6. at Think->fetch('/newsite/2184/fangcm...', ['userInfo' => null, 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], 'menu' => ['head' => [['id' => 1, 'url' => '/', 'name' => '首页', ...], ['id' => 2, 'url' => '/xinfang/', 'name' => '新房', ...], ['id' => 3, 'url' => '/esf/', 'name' => '二手房', ...], ...], 'foot' => [['id' => 25, 'url' => '/single/agreement.ht...', 'name' => '用户协议', ...], ['id' => 26, 'url' => '/single/job.html', 'name' => '人才招聘', ...], ['id' => 9, 'url' => '/single/aboutus.html', 'name' => '关于我们', ...], ...]], ...], []) in View.php line 189
  7. at View->fetch('module/index/12', ['userInfo' => null, 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], 'menu' => ['head' => [['id' => 1, 'url' => '/', 'name' => '首页', ...], ['id' => 2, 'url' => '/xinfang/', 'name' => '新房', ...], ['id' => 3, 'url' => '/esf/', 'name' => '二手房', ...], ...], 'foot' => [['id' => 25, 'url' => '/single/agreement.ht...', 'name' => '用户协议', ...], ['id' => 26, 'url' => '/single/job.html', 'name' => '人才招聘', ...], ['id' => 9, 'url' => '/single/aboutus.html', 'name' => '关于我们', ...], ...]], ...], []) in Controller.php line 161
  8. at Controller->fetch('module/index/12') in Module.php line 17
  9. at Module->index('module/index/12')
  10. at ReflectionMethod->invokeArgs(object(Module), ['module/index/12']) in Container.php line 373
  11. at Container->invokeMethod([object(Module), 'index'], ['tpl' => 'module/index/12']) in App.php line 792
  12. at App->action('Module/index', ['tpl' => 'module/index/12'], 'controller', false) in helper.php line 63
  13. at action('Module/index', ['tpl' => 'module/index/12']) in 8f7d735bdefa888f1dde5a44e205d7c2.php line 74
  14. at include('/newsite/2184/fangcm...') in File.php line 59
  15. at File->read('/newsite/2184/fangcm...', ['userInfo' => null, 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], 'menu' => ['head' => [['id' => 1, 'url' => '/', 'name' => '首页', ...], ['id' => 2, 'url' => '/xinfang/', 'name' => '新房', ...], ['id' => 3, 'url' => '/esf/', 'name' => '二手房', ...], ...], 'foot' => [['id' => 25, 'url' => '/single/agreement.ht...', 'name' => '用户协议', ...], ['id' => 26, 'url' => '/single/job.html', 'name' => '人才招聘', ...], ['id' => 9, 'url' => '/single/aboutus.html', 'name' => '关于我们', ...], ...]], ...]) in Template.php line 226
  16. at Template->fetch('/newsite/2184/fangcm...', ['userInfo' => null, 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], 'menu' => ['head' => [['id' => 1, 'url' => '/', 'name' => '首页', ...], ['id' => 2, 'url' => '/xinfang/', 'name' => '新房', ...], ['id' => 3, 'url' => '/esf/', 'name' => '二手房', ...], ...], 'foot' => [['id' => 25, 'url' => '/single/agreement.ht...', 'name' => '用户协议', ...], ['id' => 26, 'url' => '/single/job.html', 'name' => '人才招聘', ...], ['id' => 9, 'url' => '/single/aboutus.html', 'name' => '关于我们', ...], ...]], ...], []) in Think.php line 93
  17. at Think->fetch('/newsite/2184/fangcm...', ['userInfo' => null, 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], 'menu' => ['head' => [['id' => 1, 'url' => '/', 'name' => '首页', ...], ['id' => 2, 'url' => '/xinfang/', 'name' => '新房', ...], ['id' => 3, 'url' => '/esf/', 'name' => '二手房', ...], ...], 'foot' => [['id' => 25, 'url' => '/single/agreement.ht...', 'name' => '用户协议', ...], ['id' => 26, 'url' => '/single/job.html', 'name' => '人才招聘', ...], ['id' => 9, 'url' => '/single/aboutus.html', 'name' => '关于我们', ...], ...]], ...], []) in View.php line 189
  18. at View->fetch('', ['userInfo' => null, 'seo' => ['title' => '...', 'keys' => '...', 'desc' => ''], 'menu' => ['head' => [['id' => 1, 'url' => '/', 'name' => '首页', ...], ['id' => 2, 'url' => '/xinfang/', 'name' => '新房', ...], ['id' => 3, 'url' => '/esf/', 'name' => '二手房', ...], ...], 'foot' => [['id' => 25, 'url' => '/single/agreement.ht...', 'name' => '用户协议', ...], ['id' => 26, 'url' => '/single/job.html', 'name' => '人才招聘', ...], ['id' => 9, 'url' => '/single/aboutus.html', 'name' => '关于我们', ...], ...]], ...], []) in Controller.php line 161
  19. at Controller->fetch() in Index.php line 33
  20. at Index->index()
  21. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 395
  22. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), ['convert' => false]) in Module.php line 132
  23. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  24. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  25. at Middleware->think\{closure}(object(Request))
  26. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  27. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  28. at Module->exec() in Dispatch.php line 168
  29. at Dispatch->run() in App.php line 432
  30. at App->think\{closure}(object(Request), object(Closure), null)
  31. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  32. at Middleware->think\{closure}(object(Request))
  33. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  34. at Middleware->dispatch(object(Request)) in App.php line 435
  35. at App->run() in index.php line 11

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
city_info { "id": 1327, "province_id": 17, "name": "\u5f00\u5c01\u53bf", "alias": "kaifeng", "pid": 0, "spid": null, "ordid": 880, "status": 1, "seo_title": "", "seo_keys": "", "seo_desc": "", "img": null, "domain": "kaifeng", "is_hot": 0, "is_default": 0, "is_index": 0, "lat": "114.44155", "lng": "34.761598", "data": { "phone": "", "address": "", "online_consulting": "", "pc_js": "", "mobile_js": "" }, "city_code": null, "hits": 0, "old_parentid": 0 }
city_id 1327
city_ids think:["1327"]
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST kaifeng.615.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
PHP_ADMIN_VALUE open_basedir=/newsite/2184/fangcms/615.cn/public/:/tmp/:/proc/:/newsite/
REDIRECT_STATUS 200
SERVER_NAME 615.cn
SERVER_PORT 80
SERVER_ADDR 43.250.189.248
REMOTE_PORT 45578
REMOTE_ADDR 54.224.52.210
SERVER_SOFTWARE nginx/1.20.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /newsite/2184/fangcms/615.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /newsite/2184/fangcms/615.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF
REQUEST_TIME_FLOAT 1710479894.9343
REQUEST_TIME 1710479894
Environment Variablesempty
ThinkPHP Constants
QINIU_FUNCTIONS_VERSION 7.2.7
X56408F5116314C3988FFEF4FD747383D /newsite/2184/fangcms/615.cn/extend/org/Storage.php
0.290681s