• [404] Exception in Index.php line 306

    内容不存在或未审核!

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

    Call Stack

    1. in Index.php line 306
    2. at Index->shows()
    3. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 395
    4. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), ['catdir' => 'AIzhinengti', 'id' => '97', 'convert' => false]) in Module.php line 136
    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 141
    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 23

    Environment Variables

    GET Dataempty
    POST Dataempty
    Filesempty
    Cookiesempty
    Session
    think_ { "reading": "must" }
    must { "reading": "VFc1NE9BPT18fDIwMjYwNQ==" }
    Server/Request Data
    ALLUSERSPROFILE C:\ProgramData
    APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
    BT_PANEL C:\BtSoft\panel
    BT_PYTHON C:\Program Files\python
    BT_SETUP C:\BtSoft
    CommonProgramFiles C:\Program Files\Common Files
    CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
    CommonProgramW6432 C:\Program Files\Common Files
    COMPUTERNAME iZa3g1zehnvg28Z
    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 C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\dll;C:\Program Files\python;C:\Program Files\python\Scripts;C:\BtSoft\panel\script
    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 79 Stepping 1, GenuineIntel
    PROCESSOR_LEVEL 6
    PROCESSOR_REVISION 4f01
    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
    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 iZa3g1zehnvg28Z$
    USERPROFILE C:\Windows\system32\config\systemprofile
    windir C:\Windows
    windows_tracing_flags 3
    windows_tracing_logfile C:\BVTBin\Tests\installpackage\csilogfile.log
    HTTP_X_MICROSOFTAJAX Delta=true
    HTTP_USER_AGENT Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
    HTTP_CONTENT_TYPE application/x-www-form-urlencoded; charset=utf-8
    HTTP_CACHE_CONTROL no-cache
    HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
    HTTP_ACCEPT_ENCODING gzip, deflate
    HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_X_APPLE_STORE_FRONT 143444,12
    HTTP_X_APPLE_TZ 0
    HTTP_REFERER https://www.baidu.com/search/spider.htm
    HTTP_HOST www.renrenws.com
    REDIRECT_STATUS 200
    SERVER_NAME renrenws.com
    SERVER_PORT 443
    SERVER_ADDR 172.16.0.241
    REMOTE_PORT 58438
    REMOTE_ADDR 156.254.184.162
    SERVER_SOFTWARE nginx/1.22.0
    GATEWAY_INTERFACE CGI/1.1
    HTTPS on
    REQUEST_SCHEME https
    SERVER_PROTOCOL HTTP/1.1
    DOCUMENT_ROOT c:/wwwroot/renrenws.com
    DOCUMENT_URI /index.php
    REQUEST_URI //AIzhinengti/97.html
    SCRIPT_NAME /index.php
    CONTENT_LENGTH
    CONTENT_TYPE application/x-www-form-urlencoded; charset=utf-8
    REQUEST_METHOD GET
    QUERY_STRING s=/AIzhinengti/97.html
    PATH_INFO
    SCRIPT_FILENAME c:/wwwroot/renrenws.com/index.php
    FCGI_ROLE RESPONDER
    PHP_SELF /index.php
    REQUEST_TIME_FLOAT 1777669110.6323
    REQUEST_TIME 1777669110
    Environment Variablesempty
    ThinkPHP Constants
    UX_ADMIN_URL @growthman1688
    ROOT_PATH C:\wwwroot\renrenws.com\
    APP_PATH C:\wwwroot\renrenws.com\application\
    DS \
    ADDON_PATH C:\wwwroot\renrenws.com\addons\
    ROOT_URL /
    TEMPLATE_PATH C:\wwwroot\renrenws.com\templates\
    WEBSCAN_U_KEY fe6f9a5a18ffc667373f461bc9379d2c
    WEBSCAN_API_LOG https://safe.webscan.360.cn/papi/log/?key=fe6f9a5a18ffc667373f461bc9379d2c
    WEBSCAN_UPDATE_FILE https://safe.webscan.360.cn/papi/update/?key=fe6f9a5a18ffc667373f461bc9379d2c
    WEBSCAN_VERSION 0.1.2.6
    WEBSCAN_MD5 9e5c307374031bfabf49d7ab7e4737c7
    FILTER_VALIDATE_BOOL 258
    HTMLPURIFIER_PREFIX C:\wwwroot\renrenws.com\vendor\ezyang\htmlpurifier\library
    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
    站点地图