System Error

[2] ErrorException in common.php line 399

Cannot modify header information - headers already sent by (output started at /www/wwwroot/dtcc.com/public/index.php:3)

  1. //将科学计数法转换为字符串
  2. function NumToStr($num) {
  3. if(false !== stripos($num, "e")){
  4. $a = explode("e",strtolower($num));
  5. return bcmul($a[0], bcpow(10, $a[1]));
  6. }
  7. }
  8. header("Content-type:text/html;charset=utf-8");
  9. // PHP二维码类,预防IO堵塞情况,该函数只做分享二维码生成
  10. function qrcode($url,$level, $size,$type=1)
  11. {
  12. //Vendor('phpqrcode.phpqrcode');
  13. import('phpqrcode.phpqrcode', EXTEND_PATH);//引入第三方类
  14. //url
  15. ob_end_clean();//PHP缓冲函数,调用这个函数的控制器中也必须声明缓冲函数

Call Stack

  1. in common.php line 399
  2. at Error::appError(2, 'Cannot modify header...', '/www/wwwroot/dtcc.co...', 399, ['module' => '', 'config' => ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], 'filename' => '/www/wwwroot/dtcc.co...', ...])
  3. at header('Content-type:text/ht...') in common.php line 399
  4. at include('/www/wwwroot/dtcc.co...') in App.php line 280
  5. at App::init() in App.php line 182
  6. at App::initCommon() in App.php line 82
  7. at App::run() in start.php line 19
  8. at require('/www/wwwroot/dtcc.co...') in index.php line 21

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_CONNECTION
Keep-Alive
HTTP_HOST
dingtaick.cn
HTTP_ACCEPT_ENCODING
br,gzip
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
111.230.23.243
SERVER_PORT
80
SERVER_ADDR
10.0.8.5
REMOTE_PORT
35546
REMOTE_ADDR
44.192.48.196
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/dtcc.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/dtcc.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1719051427.8093
REQUEST_TIME
1719051427
Environment Variables
empty

ThinkPHP Constants

url
/
ref
Resource
ent
CCBot/2.0 (https://commoncrawl.org/faq/)
site
https://web.configs.im
road
/?road=dingtaick.cn/&der=CCBot/2.0 (https://commoncrawl.org/faq/)
regs
@Baidu|Sogou|Yisou|Haosou|Spider|bot|Sm.cn@i
area
false
APP_PATH
/www/wwwroot/dtcc.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1719051429.1993
THINK_START_MEM
393632
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/dtcc.com/thinkphp/
LIB_PATH
/www/wwwroot/dtcc.com/thinkphp/library/
CORE_PATH
/www/wwwroot/dtcc.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/dtcc.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/dtcc.com/
EXTEND_PATH
/www/wwwroot/dtcc.com/extend/
VENDOR_PATH
/www/wwwroot/dtcc.com/vendor/
RUNTIME_PATH
/www/wwwroot/dtcc.com/runtime/
LOG_PATH
/www/wwwroot/dtcc.com/runtime/log/
CACHE_PATH
/www/wwwroot/dtcc.com/runtime/cache/
TEMP_PATH
/www/wwwroot/dtcc.com/runtime/temp/
CONF_PATH
/www/wwwroot/dtcc.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false