Parse error: syntax error, unexpected ',' (T_STRING), expecting ']' in /home/ruidongoriu2ind7ouneg/wwwroot/application/config.php on line 188

[4] ErrorException in config.php line 188

syntax error, unexpected ',' (T_STRING), expecting ']'

  1. 'log' => [
  2. // 日志记录方式,内置 file socket 支持扩展
  3. 'type' => 'File',
  4. // 日志保存目录
  5. 'path' => LOG_PATH,
  6. // 日志记录级别
  7. 'level' => [],
  8. // 日志文件数量,超出则自动清理
  9. 'max_files' => 10,
  10. ],
  11. // +----------------------------------------------------------------------
  12. // | Trace设置 开启 app_trace 后 有效
  13. // +----------------------------------------------------------------------
  14. 'trace' => [
  15. // 内置Html Console 支持扩展
  16. 'type' => 'Html',
  17. ],

Call Stack

  1. in config.php line 188
  2. at Error::appShutdown()

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

REDIRECT_REDIRECT_UNIQUE_ID
XQUKt4XyjhCpYjpZoQDAOgAAAAA
REDIRECT_REDIRECT_PHPRC
/home/ruidongoriu2ind7ouneg/others
REDIRECT_REDIRECT_STATUS
200
REDIRECT_UNIQUE_ID
XQUKt4XyjhCpYjpZoQDAOgAAAAA
REDIRECT_PHPRC
/home/ruidongoriu2ind7ouneg/others
REDIRECT_HANDLER
php-cgi
REDIRECT_STATUS
200
UNIQUE_ID
XQUKt4XyjhCpYjpZoQDAOgAAAAA
PHPRC
/home/ruidongoriu2ind7ouneg/others
HTTP_X_FORWARDED_FOR
154.81.65.165
HTTP_X_REAL_IP
154.81.65.165
HTTP_HOST
www.ruidong-hospital.com
HTTP_CONNECTION
close
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PATH
/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
<address>Apache Server at www.ruidong-hospital.com Port 80</address>
SERVER_SOFTWARE
Apache
SERVER_NAME
www.ruidong-hospital.com
SERVER_ADDR
127.0.0.1
SERVER_PORT
80
REMOTE_ADDR
154.81.65.165
DOCUMENT_ROOT
/home/ruidongoriu2ind7ouneg/wwwroot
REQUEST_SCHEME
http
CONTEXT_PREFIX
/php-run-as-cgi
CONTEXT_DOCUMENT_ROOT
/usr/php5.6/bin
SERVER_ADMIN
webmaster@ruidong
SCRIPT_FILENAME
/home/ruidongoriu2ind7ouneg/wwwroot/index.php
REMOTE_PORT
43694
REDIRECT_URL
/index.php/krb/
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/krb/
SCRIPT_NAME
/index.php
PATH_INFO
/krb/
PATH_TRANSLATED
/home/ruidongoriu2ind7ouneg/wwwroot/krb/
ORIG_PATH_INFO
/index.php/krb/
ORIG_SCRIPT_NAME
/php-run-as-cgi/php-cgi
ORIG_SCRIPT_FILENAME
/usr/php5.6/bin/php-cgi
ORIG_PATH_TRANSLATED
/home/ruidongoriu2ind7ouneg/wwwroot/index.php/krb/
PHP_SELF
/index.php/krb/
REQUEST_TIME_FLOAT
1560611511.8375
REQUEST_TIME
1560611511
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/ruidongoriu2ind7ouneg/wwwroot/application/
THINK_VERSION
5.0.24
THINK_START_TIME
1560611511.839
THINK_START_MEM
231680
EXT
.php
DS
/
THINK_PATH
/home/ruidongoriu2ind7ouneg/wwwroot/thinkphp/
LIB_PATH
/home/ruidongoriu2ind7ouneg/wwwroot/thinkphp/library/
CORE_PATH
/home/ruidongoriu2ind7ouneg/wwwroot/thinkphp/library/think/
TRAIT_PATH
/home/ruidongoriu2ind7ouneg/wwwroot/thinkphp/library/traits/
ROOT_PATH
/home/ruidongoriu2ind7ouneg/wwwroot/
EXTEND_PATH
/home/ruidongoriu2ind7ouneg/wwwroot/extend/
VENDOR_PATH
/home/ruidongoriu2ind7ouneg/wwwroot/vendor/
RUNTIME_PATH
/home/ruidongoriu2ind7ouneg/wwwroot/runtime/
LOG_PATH
/home/ruidongoriu2ind7ouneg/wwwroot/runtime/log/
CACHE_PATH
/home/ruidongoriu2ind7ouneg/wwwroot/runtime/cache/
TEMP_PATH
/home/ruidongoriu2ind7ouneg/wwwroot/runtime/temp/
CONF_PATH
/home/ruidongoriu2ind7ouneg/wwwroot/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false