[8] ErrorException in Ddh.php line 162

未定义数组索引: sitemap.xml

  1. "notices"=>"通知公告",
  2. "said"=>"代表声音",
  3. "media"=>"媒体报道",
  4. "partybuilding"=>"基层党组织风采",
  5. "evolution"=>"砥砺奋进的五年",
  6. "knowledge"=>"知识加油站",
  7. "tszs"=>"他山之石",
  8. "search"=>"搜索",
  9. );
  10. $this->assign("font",$fonts[$action]);
  11. //分类id
  12. $ids=array(
  13. "focus"=>123,
  14. "notices"=>125,
  15. "said"=>128,
  16. "media"=>130,
  17. "partybuilding"=>126,
  18. "evolution"=>127,

Call Stack

  1. in Ddh.php line 162
  2. at Error::appError(8, 'Undefined index: sit...', '/home/wwwroot/newshu...', 162, ['action' => 'sitemap.xml', 'num' => 8, 'fonts' => ['focus' => '大会聚焦', 'notices' => '通知公告', 'said' => '代表声音', ...]]) in Ddh.php line 162
  3. at ddh->lists()
  4. at ReflectionMethod->invokeArgs(object(ddh), []) in App.php line 343
  5. at App::invokeMethod([object(ddh), 'lists'], []) in App.php line 611
  6. at App::module(['Index', 'ddh', 'lists'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  7. at App::exec(['type' => 'module', 'module' => ['Index', 'ddh', 'lists'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  8. at App::run() in start.php line 19
  9. at require('/home/wwwroot/newshu...') in index.php line 25

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/home/wwwroot/newshub.sustc.edu.cn/zh/index.php
QUERY_STRING
s=ddh/sitemap.xml
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/ddh/sitemap.xml
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/home/wwwroot/newshub.sustc.edu.cn/zh
SERVER_PROTOCOL
HTTP/1.0
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.12.1
REMOTE_ADDR
172.18.1.123
REMOTE_PORT
60256
SERVER_ADDR
172.18.1.216
SERVER_PORT
80
SERVER_NAME
newshub.sustech.edu.cn
REDIRECT_STATUS
200
PHP_ADMIN_VALUE
open_basedir=/home/wwwroot/newshub.sustc.edu.cn/zh/:/tmp/:/proc/
HTTP_HOST
newshub.sustech.edu.cn
HTTP_X_FORWARDED_FOR
172.18.24.104
HTTP_CONNECTION
close
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
*/*
HTTP_REFERER
https://www.sustech.edu.cn/
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1766260514.1774
REQUEST_TIME
1766260514
PATH_INFO
ddh/sitemap.xml
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/home/wwwroot/newshub.sustc.edu.cn/zh/app/
BIND_MODULE
index
THINK_VERSION
5.0.24
THINK_START_TIME
1766260514.1779
THINK_START_MEM
263984
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/newshub.sustc.edu.cn/zh/thinkphp/
LIB_PATH
/home/wwwroot/newshub.sustc.edu.cn/zh/thinkphp/library/
CORE_PATH
/home/wwwroot/newshub.sustc.edu.cn/zh/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/newshub.sustc.edu.cn/zh/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/newshub.sustc.edu.cn/zh/
EXTEND_PATH
/home/wwwroot/newshub.sustc.edu.cn/zh/extend/
VENDOR_PATH
/home/wwwroot/newshub.sustc.edu.cn/zh/vendor/
RUNTIME_PATH
/home/wwwroot/newshub.sustc.edu.cn/zh/runtime/
LOG_PATH
/home/wwwroot/newshub.sustc.edu.cn/zh/runtime/log/
CACHE_PATH
/home/wwwroot/newshub.sustc.edu.cn/zh/runtime/cache/
TEMP_PATH
/home/wwwroot/newshub.sustc.edu.cn/zh/runtime/temp/
CONF_PATH
/home/wwwroot/newshub.sustc.edu.cn/zh/app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false