1. }
  2. public function info(){
  3. $gid = input('id');
  4. $about=new Content();
  5. $info = $about->newsinfo($gid);
  6. if ($info['display']!=0) {
  7. $about->where(array('id'=>$gid))->setInc('hits',1);
  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 27
  2. at Error::appError(8, 'Undefined index: Pre...', 'D:\wwwroot\jiabao\ap...', 27, ['gid' => '70', 'about' => object(Content), 'info' => object(Content), ...]) in News.php line 27
  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\jiabao\th...') in index.php line 17

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
ft4pkvm8bm1p14qnil83mt8443
lang_val
en-us
Session
empty

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-3edf7510-3045-4261-bc17-982c4b8653bf
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\jiabao\jiabao.config
APP_POOL_ID
jiabao
CommonProgramFiles
C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
EBS-83268
ComSpec
C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK
NO
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\;D:\Program Files\Microsoft SQL Server\110\DTS\Binn\;D:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;D:\Program Files\Microsoft SQL Server\110\Tools\Binn\;D:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;D:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn";C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;d:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;
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:\Windows\system32\WindowsPowerShell\v1.0\Modules\;D:\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-83268$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
ORIG_PATH_INFO
/index.php/index/news/info/id/70.html
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/8.0
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
www.0575jb.com
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
d:\wwwroot\jiabao\wwwroot\index.php
REQUEST_URI
/index/news/info/id/70.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
58391
REMOTE_HOST
127.0.0.1
REMOTE_ADDR
127.0.0.1
QUERY_STRING
PATH_TRANSLATED
d:\wwwroot\jiabao\wwwroot\index.php\index\news\info\id\70.html
PATH_INFO
/index/news/info/id/70.html
LOGON_USER
LOCAL_ADDR
127.0.0.1
INSTANCE_META_PATH
/LM/W3SVC/10066
INSTANCE_NAME
JIABAO
INSTANCE_ID
10066
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
d:\wwwroot\jiabao\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\jiabao\wwwroot\
APPL_MD_PATH
/LM/W3SVC/10066/ROOT
IIS_UrlRewriteModule
7.1.0871.0
WEBSOCKET_VERSION
13
UNENCODED_URL
/index/news/info/id/70.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/index/news/info/id/70.html
HTTP_X_REAL_IP
50.2.184.162
HTTP_X_FORWARDED_FOR
50.2.184.162
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_HOST
www.0575jb.com
HTTP_COOKIE
PHPSESSID=ft4pkvm8bm1p14qnil83mt8443; lang_val=en-us
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
HTTP_CONNECTION
close
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/index/news/info/id/70.html
REQUEST_TIME_FLOAT
1730424630.4745
REQUEST_TIME
1730424630
Environment Variables
empty

ThinkPHP Constants

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