4118ccm云顶集团-云顶4118官网

[8] ErrorException in News.php line 43

未定义数组索引: Prev

  1. }
  2. public function pinfo(){
  3. $mid = input('id');
  4. $gid = unlock_url($mid);
  5. $about=new Pro();
  6. $info = $about->proinfo($gid);
  7. if ($info['display']!=0) {
  8. $page=$about->pageid($gid,N_Lang,5,2);$cid=true;
  9. $this->assign(['data' => $info,'tid'=>$info['cid'],'cid'=>$cid,'pre'=>$about->page($page["Prev"]),'nex'=>$about->page($page["Next"])]);
  10. }else{
  11. $this->error("该条信息不存在") ;
  12. }
  13. return $this->fetch('info');
  14. }
  15. }

Call Stack

  1. in News.php line 43
  2. at Error::appError(8, 'Undefined index: Pre...', 'C:\dcnet\WWW\3A\appl...', 43, ['mid' => 'SEcNt', 'gid' => '165', 'about' => object(Product), ...]) in News.php line 43
  3. at News->pinfo()
  4. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 343
  5. at App::invokeMethod([object(News), 'pinfo'], []) in App.php line 611
  6. at App::module(['index', 'news', 'pinfo'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  7. at App::exec(['type' => 'module', 'module' => ['index', 'news', 'pinfo']], ['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('C:\dcnet\WWW\3A\thin...') in index.php line 17

Environment Variables

GET Data

/index/news/pinfo/id/SEcNt_html
POST Data
empty
Files
empty

Cookies

PHPSESSID
cepmj08lucrgn4qv97321bh1k1
lang_val
zh-cn
Session
empty

Server/Request Data

PATH
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\dcnet\Extensions\php\php7.0.9nts
SYSTEMROOT
C:\Windows
COMSPEC
C:\Windows\system32\cmd.exe
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR
C:\Windows
PHPRC
C:/dcnet/Extensions/php/php7.0.9nts
_FCGI_SHUTDOWN_EVENT_
10312
HTTP_CONNECTION
close
SCRIPT_NAME
/index.php
REQUEST_URI
/index/news/pinfo/id/SEcNt.html
QUERY_STRING
/index/news/pinfo/id/SEcNt.html
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
/index/news/pinfo/id/SEcNt.html
REDIRECT_URL
/index/news/pinfo/id/SEcNt.html
REMOTE_PORT
51862
SCRIPT_FILENAME
C:/dcnet/WWW/3A/wwwroot/index.php
SERVER_ADMIN
admin@example.com
CONTEXT_DOCUMENT_ROOT
C:/dcnet/WWW/3A/wwwroot
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
C:/dcnet/WWW/3A/wwwroot
REMOTE_ADDR
173.232.241.122
SERVER_PORT
80
SERVER_ADDR
172.16.205.7
SERVER_NAME
www.3asprings.com
SERVER_SOFTWARE
Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02
SERVER_SIGNATURE
SystemRoot
C:\Windows
HTTP_COOKIE
PHPSESSID=cepmj08lucrgn4qv97321bh1k1; lang_val=zh-cn
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.3asprings.com
HTTP_USER_AGENT
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
REDIRECT_STATUS
200
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1725428228.561
REQUEST_TIME
1725428228
PATH_INFO
/index/news/pinfo/id/SEcNt.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
C:\dcnet\WWW\3A\wwwroot/../application/
THINK_VERSION
5.0.21
THINK_START_TIME
1725428228.5617
THINK_START_MEM
384496
EXT
.php
DS
\
THINK_PATH
C:\dcnet\WWW\3A\thinkphp\
LIB_PATH
C:\dcnet\WWW\3A\thinkphp\library\
CORE_PATH
C:\dcnet\WWW\3A\thinkphp\library\think\
TRAIT_PATH
C:\dcnet\WWW\3A\thinkphp\library\traits\
ROOT_PATH
C:\dcnet\WWW\3A\
EXTEND_PATH
C:\dcnet\WWW\3A\extend\
VENDOR_PATH
C:\dcnet\WWW\3A\vendor\
RUNTIME_PATH
C:\dcnet\WWW\3A\runtime\
LOG_PATH
C:\dcnet\WWW\3A\runtime\log\
CACHE_PATH
C:\dcnet\WWW\3A\runtime\cache\
TEMP_PATH
C:\dcnet\WWW\3A\runtime\temp\
CONF_PATH
C:\dcnet\WWW\3A\wwwroot/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
N_Lang
1
Baidu
sogou