[0] ThrowableError in common.php line 2240

Parse error: syntax error, unexpected 'rpos' (T_STRING)

  1. $url = url($model,['page'=>$param['page']]);
  2. }
  3. break;
  4. case 'actor/type':
  5. $replace_to = [$info['type_id'],$info['type_en'],$param['page'],
  6. $info['type_id'],$info['type']['type_en'],$info['type_1']['type_id'],$info['type_1']['type_en'],
  7. ];
  8. if($config['view']['actor_type'] == 2){
  9. $path = $config['path']['actor_type'];
  10. if(substr($path,strlen($path)-1,1)=='/'){
  11. $path .= 'index';
  12. }
  13. if(strpos($path,'{md5}')!==false){
  14. $replace_to[] = md5($info['type_id']);
  15. }
  16. if($param['page']!=''){
  17. $path .= $page_sp . $param['page'];
  18. }
  19. }

Call Stack

  1. in common.php line 2240
  2. at App::init() in App.php line 182
  3. at App::initCommon() in App.php line 82
  4. at App::run() in start.php line 19
  5. at require('/www/wwwroot/fan-mac...') in index.php line 40

Environment Variables

GET Data

s
/vodshow/3--score-访谈--S------2022
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_REFERER
https://168888xk.com/vodshow/3--score-%E8%AE%BF%E8%B0%88--S------2022
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
*/*
PATH_INFO
HTTP_HOST
www.168888xk.com
REDIRECT_STATUS
200
SERVER_NAME
huleibao.com
SERVER_PORT
443
SERVER_ADDR
38.12.43.139
REMOTE_PORT
18149
REMOTE_ADDR
3.145.36.157
SERVER_SOFTWARE
nginx/1.26.3
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/fan-maccms
DOCUMENT_URI
/index.php
REQUEST_URI
/vodshow/3--score-%E8%AE%BF%E8%B0%88--S------2022
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/vodshow/3--score-%E8%AE%BF%E8%B0%88--S------2022
SCRIPT_FILENAME
/www/wwwroot/fan-maccms/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1744018095.1168
REQUEST_TIME
1744018095
Environment Variables
empty

ThinkPHP Constants

ROOT_PATH
/www/wwwroot/fan-maccms/
APP_PATH
/www/wwwroot/fan-maccms/application/
MAC_COMM
/www/wwwroot/fan-maccms/application/common/common/
MAC_HOME_COMM
/www/wwwroot/fan-maccms/application/index/common/
MAC_ADMIN_COMM
/www/wwwroot/fan-maccms/application/admin/common/
MAC_START_TIME
1744018095.1297
BIND_MODULE
index
ENTRANCE
index
IN_FILE
/index.php
THINK_VERSION
5.0.24
THINK_START_TIME
1744018095.1691
THINK_START_MEM
429280
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/fan-maccms/thinkphp/
LIB_PATH
/www/wwwroot/fan-maccms/thinkphp/library/
CORE_PATH
/www/wwwroot/fan-maccms/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/fan-maccms/thinkphp/library/traits/
EXTEND_PATH
/www/wwwroot/fan-maccms/extend/
VENDOR_PATH
/www/wwwroot/fan-maccms/vendor/
RUNTIME_PATH
/www/wwwroot/fan-maccms/runtime/
LOG_PATH
/www/wwwroot/fan-maccms/runtime/log/
CACHE_PATH
/www/wwwroot/fan-maccms/runtime/cache/
TEMP_PATH
/www/wwwroot/fan-maccms/runtime/temp/
CONF_PATH
/www/wwwroot/fan-maccms/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/fan-maccms/addons/