银河·集团(国际)官方网站-Best App Store下载

[404] Exception in Index.php line 164

内容不存在或未审核!

  1. $info = $this->Cms_Model->getContent($modelid, "customurl='{$customurl}'", true, '*', '', $ifcache);
  2. } else {
  3. $info = $this->Cms_Model->getContent($modelid, "id={$id}", true, '*', '', $ifcache);
  4. }
  5. $id = $info['id'];
  6. //更新点击量
  7. Db::name($modelInfo['tablename'])->where('id', $id)->setInc('hits');
  8. // $info = $this->Cms_Model->getContent($modelid, "id={$id}", true, '*', '', $ifcache);
  9. if (!$info || ($info['status'] !== 1 && !\app\admin\service\User::instance()->isLogin())) {
  10. throw new \think\Exception('内容不存在或未审核!', 404);
  11. }
  12. //内容分页
  13. $paginator = strpos($info['content'], '[page]');
  14. if ($paginator !== false) {
  15. $contents = array_filter(explode('[page]', $info['content']));
  16. $total = count($contents);
  17. $pages = \app\cms\paginator\Page::make([], 1, $page, $total, false, ['path' => $this->request->baseUrl()]);
  18. //判断[page]出现的位置是否在第一位
  19. if ($paginator < 7) {

Call Stack

  1. in Index.php line 164
  2. at Index->shows()
  3. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 395
  4. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), ['catdir' => 'hangyedongtai', 'customurl' => 'about', 'convert' => false]) in Module.php line 135
  5. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  6. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  7. at Middleware->think\{closure}(object(Request))
  8. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  9. at Middleware->dispatch(object(Request), 'controller') in Module.php line 140
  10. at Module->exec() in Dispatch.php line 168
  11. at Dispatch->run() in App.php line 432
  12. at App->think\{closure}(object(Request), object(Closure), null)
  13. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  14. at Middleware->think\{closure}(object(Request))
  15. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  16. at Middleware->dispatch(object(Request)) in App.php line 435
  17. at App->run() in index.php line 31

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID vkl6vjec1g9e0manm8aeb34tki
Sessionempty
Server/Request Data
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
BT_PANEL D:\BtSoft\panel
BT_PYTHON C:\Program Files\python
BT_SETUP D:\BtSoft
CommonProgramFiles C:\Program Files\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME ECS-6D5A
ComSpec C:\Windows\system32\cmd.exe
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 4
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\python;C:\Program Files\python\Scripts;C:\Program Files\python;C:\Program Files\python\Scripts;D:\BtSoft\panel\script;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PHP_FCGI_MAX_REQUESTS 3000
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 85 Stepping 7, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 5507
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
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\Intel\Wired Networking\
PUBLIC C:\Users\Public
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
UNRAR_LIB_PATH C:\Program Files\python\Lib\site-packages\unrar\UnRAR.dll
USERDOMAIN WORKGROUP
USERNAME ECS-6D5A$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
HTTP_COOKIE PHPSESSID=vkl6vjec1g9e0manm8aeb34tki
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.credholding.com
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
REDIRECT_STATUS 200
SERVER_NAME www.credholding.com
SERVER_PORT 80
SERVER_ADDR 192.168.0.84
REMOTE_PORT 34276
REMOTE_ADDR 107.158.194.106
SERVER_SOFTWARE nginx/1.22.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT d:/wwwroot/zf.j
DOCUMENT_URI /index.php
REQUEST_URI /hangyedongtai/about
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/hangyedongtai/about
PATH_INFO
SCRIPT_FILENAME d:/wwwroot/zf.j/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1712977046.658
REQUEST_TIME 1712977046
Environment Variablesempty
ThinkPHP Constants
ADMIN_URL @growthman1688
ROOT_PATH D:\wwwroot\zf.j\
APP_PATH D:\wwwroot\zf.j\application\
DS \
ADDON_PATH D:\wwwroot\zf.j\addons\
ROOT_URL /
TEMPLATE_PATH D:\wwwroot\zf.j\templates\
FILTER_VALIDATE_BOOL 258
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
XML 地图