[0] ThrowableError in Index.php line 220

语法解析错误: syntax error, unexpected '}'

  1. if($res){
  2. return json_encode(array('code'=>1,'msg'=>'成功'));
  3. }else{
  4. return json_encode(array('code'=>0,'msg'=>'失败'));
  5. }
  6. }
  7. public function
  8. }

Call Stack

  1. in Index.php line 220
  2. at think\__include_file() in Loader.php line 85
  3. at Loader::autoload()
  4. at spl_autoload_call()
  5. at class_exists() in Loader.php line 478
  6. at Loader::controller() in App.php line 580
  7. at App::module() in App.php line 456
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data

content
Lego Horizon Adventures: How To Unlock All Characters
to
zh-cn
POST Data
empty
Files
empty

Cookies

myip
65.21.47.162
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_COOKIE
myip=65.21.47.162
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_title
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
45536
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_title?content=Lego+Horizon+Adventures%3A+How+To+Unlock+All+Characters&to=zh-cn
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
GET
QUERY_STRING
s=/api/index/fanyi_article_title&content=Lego+Horizon+Adventures%3A+How+To+Unlock+All+Characters&to=zh-cn
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732316521.2275
REQUEST_TIME
1732316521
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1732316521.2282
THINK_START_MEM
410160
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/
-手游攻略-PHP中文网 "} } ] } ]

首页  >  文章  >  手游教程  >  System Error

[0] ThrowableError in Index.php line 220

语法解析错误: syntax error, unexpected '}'

  1. if($res){
  2. return json_encode(array('code'=>1,'msg'=>'成功'));
  3. }else{
  4. return json_encode(array('code'=>0,'msg'=>'失败'));
  5. }
  6. }
  7. public function
  8. }

Call Stack

  1. in Index.php line 220
  2. at think\__include_file() in Loader.php line 85
  3. at Loader::autoload()
  4. at spl_autoload_call()
  5. at class_exists() in Loader.php line 478
  6. at Loader::controller() in App.php line 580
  7. at App::module() in App.php line 456
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data

content
Lego Horizon Adventures: How To Unlock All Characters
to
zh-cn
POST Data
empty
Files
empty

Cookies

myip
65.21.47.162
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_COOKIE
myip=65.21.47.162
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_title
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
45536
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_title?content=Lego+Horizon+Adventures%3A+How+To+Unlock+All+Characters&to=zh-cn
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
GET
QUERY_STRING
s=/api/index/fanyi_article_title&content=Lego+Horizon+Adventures%3A+How+To+Unlock+All+Characters&to=zh-cn
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732316521.2275
REQUEST_TIME
1732316521
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1732316521.2282
THINK_START_MEM
410160
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/

System Error

[0] ThrowableError in Index.php line 220

语法解析错误: syntax error, unexpected '}'

  1. if($res){
  2. return json_encode(array('code'=>1,'msg'=>'成功'));
  3. }else{
  4. return json_encode(array('code'=>0,'msg'=>'失败'));
  5. }
  6. }
  7. public function
  8. }

Call Stack

  1. in Index.php line 220
  2. at think\__include_file() in Loader.php line 85
  3. at Loader::autoload()
  4. at spl_autoload_call()
  5. at class_exists() in Loader.php line 478
  6. at Loader::controller() in App.php line 580
  7. at App::module() in App.php line 456
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data

content
Lego Horizon Adventures: How To Unlock All Characters
to
zh-cn
POST Data
empty
Files
empty

Cookies

myip
65.21.47.162
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_COOKIE
myip=65.21.47.162
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_title
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
45536
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_title?content=Lego+Horizon+Adventures%3A+How+To+Unlock+All+Characters&to=zh-cn
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
GET
QUERY_STRING
s=/api/index/fanyi_article_title&content=Lego+Horizon+Adventures%3A+How+To+Unlock+All+Characters&to=zh-cn
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732316521.2275
REQUEST_TIME
1732316521
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1732316521.2282
THINK_START_MEM
410160
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/

William Shakespeare
William Shakespeare原创
2024-11-23 07:01:13832浏览

[0] ThrowableError in Index.php line 220

语法解析错误: syntax error, unexpected '}'

<ol start="211"><li class="line-211"><code>        if($res){
</code></li><li class="line-212"><code>            return json_encode(array('code'=>1,'msg'=>'成功'));
</code></li><li class="line-213"><code>        }else{
</code></li><li class="line-214"><code>            return json_encode(array('code'=>0,'msg'=>'失败'));
</code></li><li class="line-215"><code>        }
</code></li><li class="line-216"><code>    }
</code></li><li class="line-217"><code>
</code></li><li class="line-218"><code>    public function 
</code></li><li class="line-219"><code>
</code></li><li class="line-220"><code>}
</code></li></ol>

Call Stack

  1. in Index.php line 220
  2. at think\__include_file() in Loader.php line 85
  3. at Loader::autoload()
  4. at spl_autoload_call()
  5. at class_exists() in Loader.php line 478
  6. at Loader::controller() in App.php line 580
  7. at App::module() in App.php line 456
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data
empty

POST Data

content
%3Cp%3EUnlike+the+mainline+Horizon+games%2C+you+don%27t+only+play+as+Aloy+in+%3Cstrong%3ELego+Horizon+Adventures%3C%2Fstrong%3E.+Whether+you%27re+playing+on+your+own+or+with+friends+in+co-op%2C+you+can+choose+between+four+different+characters.+If+you%27ve+played+the+first+Horizon+game%2C+you%27ll+know+who+these+characters+are+and+what+role+they+play+in+the+story.%3C%2Fp%3E++++++++++++%0A++++%0A++++++++++++++++++++%0A++++++++++++++++++++++++%0A++++++++++++++++%0A++++%0A++++++++++++++++++++++++++++++++++++++++%0A++++%0A++++++++%0A++++%0A++++++++%0A++++++++++++++++%0A++++++++%0A++++%0A++++++++%0A++++++++++++++++++++%09++++++++++++++++%0A%09%09%0A%09%09%0A%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%09%0A++++++++++++++++%0A++++%0A++++%0A++++%0A++++++++++++++++%0A++++%0A++++++++++++++++%0A++++++++%0A++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++++++++++++++%0A++++%0A++++%0A++++%0A%0A++++++++++++%0A%0A%0A%0A%0A%3Cp%3E%3Cimg+src%3D%22https%3A%2F%2Fimg.php.cn%2Fupload%2Farticle%2F000%2F000%2F000%2F173231648948321.jpg%22+alt%3D%22Lego+Horizon+Adventures%3A+How+To+Unlock+All+Characters%22+%2F%3E%3C%2Fp%3E%0A%0A%0A++++++++%0A++++++++++++%0A%0A%09%09%09%09%09%09%09%09%09%09%09%09%09%0A%09%09%0A%09%0A%0A%09%09%0A%09%0A++++++++%0A++++++++++++++++++++%0A%09%09%09%0A%09%09%09%09%09%0A%0A%09%0A%0A%0A++++++++++++++++%0A%0A++++++++++++++++%0A++++++++++++++++%0A++++++++++++++++%0A++++++++++++%0A++++++++++++++++%0A++++++++%0A++++++++%0A++++++++%0A++++++++++++%0A%0A%3Cp%3EHowever%2C+you+don%27t+get+access+to+these+characters+from+the+start+of+the+game.+You+have+to+do+specific+things+to+unlock+them+before+you+can+switch+to+them+for+levels.+Thankfully%2C+what+you+need+to+do+to+unlock+these+characters+is+quite+simple.+You+don%27t+need+to+worry+too+much+about+how+you%27re+playing+through+the+game.%3C%2Fp%3E++++%3Ch2%3E%0A++++++++++++++++++++++++How+To+Unlock+All+Characters%0A+++++++++++++++%3C%2Fh2%3E%0A++++++++++++++++%0A++++%0A++++%0A++++%0A++++++++++++++++%0A++++%0A++++++++++++++++%0A++++++++%0A++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%0A++++++++++++++++++++++++++++++++++++++++%0A++++%0A++++%0A++++%0A%0A++++++++++++%0A%0A%0A%0A%0A%3Cp%3E%3Cimg+src%3D%22https%3A%2F%2Fimg.php.cn%2Fupload%2Farticle%2F000%2F000%2F000%2F173231649463318.jpg%22+alt%3D%22Lego+Horizon+Adventures%3A+How+To+Unlock+All+Characters%22+%2F%3E%3C%2Fp%3E%0A%0A%0A++++++++%0A++++++++++++++++++++++++++++++++%0A%0A%3Cp%3EWhile+Aloy+is+available+right+from+the+start+of+the+game%2C+%3Cstrong%3Ethe+three+other+characters+%28Varl%2C+Teersa%2C+and+Erend%29+are+all+unlocked+by+progressing+through+the+main+story+missions%3C%2Fstrong%3E.+There+are+four+main+chapters+in+the+game%2C+in+addition+to+the+prologue+and+epilogue%2C+but+%3Cstrong%3Eyou+don%27t+need+to+play+all+of+them%3C%2Fstrong%3E.%3C%2Fp%3E++++%0A%3Cp%3EYou%27ll+find+details+on+exactly+what+you+need+to+do+to+unlock+each+character+below.%3C%2Fp%3E++++%0A++++++++%3Ctable+border%3D%221%22+cellpadding%3D%221%22+cellspacing%3D%221%22%3E%0A++++++++++++++++++++%0A%3Cthead+%3E%0A++++%0A%0A%3Ctr++%3E%0A++++++++++++%0A++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++%0A++++%3Cth++scope%3Dcol%3E%0A%0A%0A++++++++%0A%3Cp%3ECharacter%3C%2Fp%3E
to
zh-cn
Files
empty
Cookies
empty
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_LENGTH
7020
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_ACCEPT
*/*
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_content
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
45510
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_content
SCRIPT_NAME
/index.php
CONTENT_LENGTH
7020
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
POST
QUERY_STRING
s=/api/index/fanyi_article_content
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732316520.4427
REQUEST_TIME
1732316520
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1732316520.4434
THINK_START_MEM
426872
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/
<script> var LINE = 220; function $(selector, node){ var elements; node = node || document; if(document.querySelectorAll){ elements = node.querySelectorAll(selector); } else { switch(selector.substr(0, 1)){ case '#': elements = [node.getElementById(selector.substr(1))]; break; case '.': if(document.getElementsByClassName){ elements = node.getElementsByClassName(selector.substr(1)); } else { elements = get_elements_by_class(selector.substr(1), node); } break; default: elements = node.getElementsByTagName(); } } return elements; function get_elements_by_class(search_class, node, tag) { var elements = [], eles, pattern = new RegExp('(^|\\s)' + search_class + '(\\s|$)'); node = node || document; tag = tag || '*'; eles = node.getElementsByTagName(tag); for(var i = 0; i < eles.length; i++) { if(pattern.test(eles[i].className)) { elements.push(eles[i]) } } return elements; } } $.getScript = function(src, func){ var script = document.createElement('script'); script.async = 'async'; script.src = src; script.onload = func || function(){}; $('head')[0].appendChild(script); } ;(function(){ var files = $('.toggle'); var ol = $('ol', $('.prettyprint')[0]); var li = $('li', ol[0]); // 短路径和长路径变换 for(var i = 0; i < files.length; i++){ files[i].ondblclick = function(){ var title = this.title; this.title = this.innerHTML; this.innerHTML = title; } } // 设置出错行 var err_line = $('.line-' + LINE, ol[0])[0]; err_line.className = err_line.className + ' line-error'; $.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){ prettyPrint(); // 解决Firefox浏览器一个很诡异的问题 // 当代码高亮后,ol的行号莫名其妙的错位 // 但是只要刷新li里面的html重新渲染就没有问题了 if(window.navigator.userAgent.indexOf('Firefox') >= 0){ ol[0].innerHTML = ol[0].innerHTML; } }); })(); </script>

以上是 System Error

[0] ThrowableError in Index.php line 220

语法解析错误: syntax error, unexpected '}'

  1. if($res){
  2. return json_encode(array('code'=>1,'msg'=>'成功'));
  3. }else{
  4. return json_encode(array('code'=>0,'msg'=>'失败'));
  5. }
  6. }
  7. public function
  8. }

Call Stack

  1. in Index.php line 220
  2. at think\__include_file() in Loader.php line 85
  3. at Loader::autoload()
  4. at spl_autoload_call()
  5. at class_exists() in Loader.php line 478
  6. at Loader::controller() in App.php line 580
  7. at App::module() in App.php line 456
  8. at App::exec() in App.php line 139
  9. at App::run() in start.php line 19
  10. at require('/data/wwwroot/td.880...') in index.php line 23

Environment Variables

GET Data

content
Lego Horizon Adventures: How To Unlock All Characters
to
zh-cn
POST Data
empty
Files
empty

Cookies

myip
65.21.47.162
Session
empty

Server/Request Data

TEMP
/tmp
TMPDIR
/tmp
TMP
/tmp
PATH
/usr/local/bin:/usr/bin:/bin
USER
www
HOME
/home/www
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
HTTP_COOKIE
myip=65.21.47.162
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 6.0.1; OPPO A57 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/10.13 baiduboxapp/10.13.0.10 (Baidu; P1 6.0.1)
HTTP_HOST
td.880772.xyz
PATH_INFO
/api/index/fanyi_article_title
REDIRECT_STATUS
200
SERVER_NAME
td.880772.xyz
SERVER_PORT
443
SERVER_ADDR
188.165.242.95
REMOTE_PORT
45536
REMOTE_ADDR
65.21.47.162
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
DOCUMENT_URI
/index.php
REQUEST_URI
/api/index/fanyi_article_title?content=Lego+Horizon+Adventures%3A+How+To+Unlock+All+Characters&to=zh-cn
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
REQUEST_METHOD
GET
QUERY_STRING
s=/api/index/fanyi_article_title&content=Lego+Horizon+Adventures%3A+How+To+Unlock+All+Characters&to=zh-cn
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1732316521.2275
REQUEST_TIME
1732316521
Environment Variables
empty

ThinkPHP Constants

PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1732316521.2282
THINK_START_MEM
410160
EXT
.php
DS
/
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/
的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn