[0] ThrowableError in list_xiangguan.htm line 19

致命错误: Call to undefined function cpu_idarr_to_cpulistarray()

  1. $cachename = 'viewcpujglist_c4_'.$jiagoumd5;
  2. $idarray = Cache::get($cachename);
  3. if(!$idarray){
  4. $idarray = Db::name('cack_cpu')->where($where)->order($order)->limit(100)->column('id');
  5. $cachetime = 300;
  6. Cache::set($cachename,$idarray,$cachetime);
  7. //$listarray = Cache::get($cachename);
  8. //echo 'cache';
  9. }
  10. $listarray = cpu_idarr_to_cpulistarray($idarray);
  11. ?>
  12. <div class="cpu_index_a3 zuijinremenchuliqi xinyue_yczk yczk_txlclq" style="height: 330px;">
  13. <h2>同系列处理器<i class="bz alert-text" text="网友投稿。"></i>
  14. <a href="/cpu/jg_<?=$cpuval['hxjg']?>/" target="_blank" router router-href="https://www.xincanshu.com/p/search.html" router-data='{"keyword":"<?=$cpuval['hxjg']?>"}' class="yclj">查看全部(<?php echo @count($listarray);?>款)</a>
  15. </h2>
  16. <ul class="cl">

Call Stack

  1. in list_xiangguan.htm line 19
  2. at include() in 868c91edbf16866db00a3e2a2718208b.php line 365
  3. at include('/www/wwwroot/www.xin...') in File.php line 53
  4. at File->read('/www/wwwroot/www.xin...', ['user' => null, 'site' => ['name' => '芯参数', 'beian' => '津ICP备19007594号...', 'cdnurl' => 'https://c1.xincanshu...', ...], 'config' => ['site' => ['name' => '芯参数', 'cdnurl' => 'https://c1.xincanshu...', 'version' => 1711663071, ...], 'upload' => ['cdnurl' => 'https://c1.xincanshu...', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...]]) in Template.php line 188
  5. at Template->fetch('/www/wwwroot/www.xin...', ['user' => null, 'site' => ['name' => '芯参数', 'beian' => '津ICP备19007594号...', 'cdnurl' => 'https://c1.xincanshu...', ...], 'config' => ['site' => ['name' => '芯参数', 'cdnurl' => 'https://c1.xincanshu...', 'version' => 1711663071, ...], 'upload' => ['cdnurl' => 'https://c1.xincanshu...', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...]], []) in Think.php line 86
  6. at Think->fetch('/www/wwwroot/www.xin...', ['user' => null, 'site' => ['name' => '芯参数', 'beian' => '津ICP备19007594号...', 'cdnurl' => 'https://c1.xincanshu...', ...], 'config' => ['site' => ['name' => '芯参数', 'cdnurl' => 'https://c1.xincanshu...', 'version' => 1711663071, ...], 'upload' => ['cdnurl' => 'https://c1.xincanshu...', 'uploadurl' => 'ajax/upload', 'bucket' => 'local', ...], 'modulename' => 'index', ...]], []) in View.php line 163
  7. at View->fetch('/m/zhidao') in M.php line 50
  8. at M->zhidao()
  9. at ReflectionMethod->invokeArgs(object(M), []) in App.php line 343
  10. at App::invokeMethod([object(M), 'zhidao'], []) in App.php line 611
  11. at App::module(['index', 'm', 'zhidao'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  12. at App::exec(['type' => 'module', 'module' => ['index', 'm', 'zhidao']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  13. at App::run() in start.php line 19
  14. at require('/www/wwwroot/www.xin...') in index.php line 24

Environment Variables

GET Data

id
49837
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_OHC_UPSTREAM_ID
1e11672a5374ad79,65f56806407ebc4e
HTTP_BAIDU_CDN_TTL
2
HTTP_X_REAL_IP
3.81.222.152
HTTP_X_FORWARDED_HOST
www.xincanshu.com
HTTP_X_FORWARDED_PROTO
https
HTTP_X_FORWARDED_FOR
3.81.222.152,36.99.225.60
HTTP_OHC_SSL_VERSION
2
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_BAIDU_CDN_REQUEST_ID
1711663071386-129355937-36.99.225.63-2
HTTP_VIA
Baidu-CDN-Node1,Baidu-CDN-Node3
HTTP_X_VIA
Baidu-CDN-Node1,Baidu-CDN-Node3
HTTP_CONNECTION
keep-alive
HTTP_RANGE
bytes=0-1048575
HTTP_HOST
www.xincanshu.com
PATH_INFO
/index/m/zhidao.html
REDIRECT_STATUS
200
SERVER_NAME
www.xincanshu.com
SERVER_PORT
443
SERVER_ADDR
10.0.16.12
REMOTE_PORT
15287
REMOTE_ADDR
113.240.118.106
SERVER_SOFTWARE
nginx/1.20.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.xincanshu.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/zhidao/49837.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/m/zhidao.html&id=49837
SCRIPT_FILENAME
/www/wwwroot/www.xincanshu.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711663071.5559
REQUEST_TIME
1711663071
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.xincanshu.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1711663071.556
THINK_START_MEM
398760
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.xincanshu.com/thinkphp/
LIB_PATH
/www/wwwroot/www.xincanshu.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.xincanshu.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.xincanshu.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.xincanshu.com/
EXTEND_PATH
/www/wwwroot/www.xincanshu.com/extend/
VENDOR_PATH
/www/wwwroot/www.xincanshu.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.xincanshu.com/runtime/
LOG_PATH
/www/wwwroot/www.xincanshu.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.xincanshu.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.xincanshu.com/runtime/temp/
CONF_PATH
/www/wwwroot/www.xincanshu.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
HTMLPURIFIER_PREFIX
/www/wwwroot/www.xincanshu.com/vendor/ezyang/htmlpurifier/library
ADDON_PATH
/www/wwwroot/www.xincanshu.com/addons/
PINYIN_DEFAULT
4096
PINYIN_TONE
2
PINYIN_NO_TONE
4
PINYIN_ASCII_TONE
8
PINYIN_NAME
16
PINYIN_KEEP_NUMBER
32
PINYIN_KEEP_ENGLISH
64
PINYIN_UMLAUT_V
128
PINYIN_KEEP_PUNCTUATION
256
QINIU_FUNCTIONS_VERSION
7.12.0
XS_APP_ROOT
/www/wwwroot/www.xincanshu.com/addons/xunsearch/data