[2] errorexception in

system error-买球官网平台

  1. class cron
  2. {
  3. protected $options = array(
  4. 'cron_max_time' => 60,
  5. );
  6. public function run(&$params)
  7. {
  8. $this->options['cron_max_time']=config('cron_max_time')?:60;
  9. $lockfile = runtime_path.'cron.lock';
  10. if(is_writable($lockfile) && filemtime($lockfile) > $_server['request_time'] - $this->options['cron_max_time']) {
  11. return ;
  12. } else {
  13. touch($lockfile);
  14. }
  15. @set_time_limit(1000);
  16. @ignore_user_abort(true);
  17. if(is_file(runtime_path.'~crons.php')) {
  18. $crons = include runtime_path.'~crons.php';
  19. }elseif(is_file(root_path.'app/crons.php')){

call stack

  1. in
  2. at error::apperror(2, '', '', 22, ['params' => object(response), 'lockfile' => ''])
  3. at filemtime('') in
  4. at cron->run(object(response), null) in
  5. at hook::exec('', 'app_end', object(response), null) in
  6. at hook::listen('app_end', object(response)) in
  7. at app::run() in
  8. at require('') in

exception datas

error context
params {}
lockfile /www/wwwroot/bms_wc/data/runtime/cron.lock

environment variables

get data

pid
134
m
pc
bs
baidu
qianzhui
0837
yid
feydb
post data
empty
files
empty
cookies
empty
session
empty

server/request data

user
www
home
/home/www
http_referer
_referer_
http_accept
*/*
http_host
172.31.119.243:13679
http_user_agent
_useragent_
path_info
/home/xmt/index
redirect_status
200
server_name
139.129.88.21
server_port
13679
server_addr
172.31.119.243
remote_port
56275
remote_addr
172.31.119.247
server_software
nginx/1.15.10
gateway_interface
cgi/1.1
request_scheme
http
server_protocol
http/1.1
document_root
/www/wwwroot/bms_wc
document_uri
/index.php
request_uri
/home/xmt/index?pid=134&m=pc&bs=baidu&qianzhui=0837&yid=feydb
script_name
/index.php
content_length
content_type
request_method
get
query_string
s=/home/xmt/index&pid=134&m=pc&bs=baidu&qianzhui=0837&yid=feydb
script_filename
/www/wwwroot/bms_wc/index.php
fcgi_role
responder
php_self
/index.php
request_time_float
1667574941.045
request_time
1667574941
environment variables
empty

thinkphp constants

app_path
/www/wwwroot/bms_wc/app/
runtime_path
/www/wwwroot/bms_wc/data/runtime/
think_version
5.0.10
think_start_time
1667574941.0454
think_start_mem
375720
ext
.php
ds
/
think_path
/www/wwwroot/bms_wc/thinkphp/
lib_path
/www/wwwroot/bms_wc/thinkphp/library/
core_path
/www/wwwroot/bms_wc/thinkphp/library/think/
trait_path
/www/wwwroot/bms_wc/thinkphp/library/traits/
root_path
/www/wwwroot/bms_wc/
extend_path
/www/wwwroot/bms_wc/extend/
vendor_path
/www/wwwroot/bms_wc/vendor/
log_path
/www/wwwroot/bms_wc/data/runtime/log/
cache_path
/www/wwwroot/bms_wc/data/runtime/cache/
temp_path
/www/wwwroot/bms_wc/data/runtime/temp/
conf_path
/www/wwwroot/bms_wc/app/
conf_ext
.php
env_prefix
php_
is_cli
false
is_win
false
qiniu_functions_version
7.2.0
addon_path
/www/wwwroot/bms_wc/addons/
__root__
module_name
home
controller_name
xmt
action_name
index