太阳成tyc7111cc(集团)股份有限公司 - 搜狗百科

[8] ErrorException in News.php line 22

Undefined index: Prev

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

Call Stack

  1. in News.php line 22
  2. at Error::appError(8, 'Undefined index: Pre...', 'D:\wwwroot\dlsb\appl...', 22, ['gid' => '68', 'about' => object(Content), 'info' => object(Content), ...]) in News.php line 22
  3. at News->info()
  4. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 343
  5. at App::invokeMethod([object(News), 'info'], []) in App.php line 611
  6. at App::module(['index', 'news', 'info'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  7. at App::exec(['type' => 'module', 'module' => ['index', 'news', 'info']], ['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('D:\wwwroot\dlsb\thin...') in index.php line 17

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
q6f9miemjgtoqib5juq9o1ali5
lang_val
en-us
Session
empty

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-5e72fa50-199a-4a15-a822-7a8d43d5c819
PHPRC
D:\SOFT_PHP_PACKAGE\php5.6
PHP_FCGI_MAX_REQUESTS
10000
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\dlsb\dlsb.config
APP_POOL_ID
dlsb
CommonProgramFiles
C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
EBS-107992
ComSpec
C:\Windows\system32\cmd.exe
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
4
OS
Windows_NT
Path
D:\SOFT_PHP_PACKAGE\mysql5.6\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0";C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
x86
PROCESSOR_ARCHITEW6432
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 85 Stepping 7, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
5507
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files (x86)
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules\
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
USERNAME
EBS-107992$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
ORIG_PATH_INFO
/index.php/index/news/info/id/68.html
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/10.0
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.sx-electric.com.cn
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
d:\wwwroot\dlsb\wwwroot\index.php
REQUEST_URI
/index/news/info/id/68.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
61139
REMOTE_HOST
127.0.0.1
REMOTE_ADDR
127.0.0.1
QUERY_STRING
PATH_TRANSLATED
d:\wwwroot\dlsb\wwwroot\index.php\index\news\info\id\68.html
PATH_INFO
/index/news/info/id/68.html
LOGON_USER
LOCAL_ADDR
127.0.0.1
INSTANCE_META_PATH
/LM/W3SVC/10346
INSTANCE_NAME
DLSB
INSTANCE_ID
10346
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
d:\wwwroot\dlsb\wwwroot
CONTENT_TYPE
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
d:\wwwroot\dlsb\wwwroot\
APPL_MD_PATH
/LM/W3SVC/10346/ROOT
IIS_UrlRewriteModule
7,1,1993,2336
WEBSOCKET_VERSION
13
UNENCODED_URL
//index/news/info/id/68.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/index/news/info/id/68.html
HTTP_X_REAL_IP
173.44.233.18
HTTP_X_FORWARDED_FOR
173.44.233.18
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_HOST
www.sx-electric.com.cn
HTTP_COOKIE
PHPSESSID=q6f9miemjgtoqib5juq9o1ali5; lang_val=en-us
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
HTTP_CONNECTION
close
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/index/news/info/id/68.html
REQUEST_TIME_FLOAT
1713020476.7489
REQUEST_TIME
1713020476
Environment Variables
empty

ThinkPHP Constants

APP_PATH
D:\wwwroot\dlsb\wwwroot/../application/
THINK_VERSION
5.0.21
THINK_START_TIME
1713020476.7493
THINK_START_MEM
138440
EXT
.php
DS
\
THINK_PATH
D:\wwwroot\dlsb\thinkphp\
LIB_PATH
D:\wwwroot\dlsb\thinkphp\library\
CORE_PATH
D:\wwwroot\dlsb\thinkphp\library\think\
TRAIT_PATH
D:\wwwroot\dlsb\thinkphp\library\traits\
ROOT_PATH
D:\wwwroot\dlsb\
EXTEND_PATH
D:\wwwroot\dlsb\extend\
VENDOR_PATH
D:\wwwroot\dlsb\vendor\
RUNTIME_PATH
D:\wwwroot\dlsb\runtime\
LOG_PATH
D:\wwwroot\dlsb\runtime\log\
CACHE_PATH
D:\wwwroot\dlsb\runtime\cache\
TEMP_PATH
D:\wwwroot\dlsb\runtime\temp\
CONF_PATH
D:\wwwroot\dlsb\wwwroot/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
N_Lang
2