• [0] HttpException in App.php line 556

    控制器不存在:javascript:void(0)

    1. App::$modulePath = APP_PATH . ($module ? $module . DS : '');
    2. // 是否自动转换控制器和操作名
    3. $convert = is_bool($convert) ? $convert : $config['url_convert'];
    4. // 获取控制器名
    5. $controller = strip_tags($result[1] ?: $config['default_controller']);
    6. if (!preg_match('/^[A-Za-z](\w|\.)*$/', $controller)) {
    7. throw new HttpException(404, 'controller not exists:' . $controller);
    8. }
    9. $controller = $convert ? strtolower($controller) : $controller;
    10. // 获取操作名
    11. $actionName = strip_tags($result[2] ?: $config['default_action']);
    12. if (!empty($config['action_convert'])) {
    13. $actionName = Loader::parseName($actionName, 1);
    14. } else {

    Call Stack

    1. in App.php line 556
    2. at App::module(['index', 'javascript:void(0)', null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
    3. at App::exec(['type' => 'module', 'module' => ['index', 'javascript:void(0)', null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
    4. at App::run() in start.php line 19
    5. at require('/home/zhirong/thinkp...') in index.php line 18

    Environment Variables

    GET Data
    empty
    POST Data
    empty
    Files
    empty
    Cookies
    empty
    Session
    empty

    Server/Request Data

    REDIRECT_UNIQUE_ID
    ZqI7kCBkJkQYKDVzLQAXfwAAAAw
    REDIRECT_STATUS
    200
    UNIQUE_ID
    ZqI7kCBkJkQYKDVzLQAXfwAAAAw
    HTTP_HOST
    hanfuhuaxia.com
    HTTP_REFERER
    https://www.baidu.com/search/spider.htm
    HTTP_X_APPLE_TZ
    0
    HTTP_X_APPLE_STORE_FRONT
    143444,12
    HTTP_ACCEPT
    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_ACCEPT_ENCODING
    gzip, deflate
    HTTP_ACCEPT_LANGUAGE
    en-US,en;q=0.5
    HTTP_CACHE_CONTROL
    no-cache
    CONTENT_TYPE
    application/x-www-form-urlencoded; charset=utf-8
    HTTP_USER_AGENT
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2)
    HTTP_X_MICROSOFTAJAX
    Delta=true
    PATH
    /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
    SERVER_SIGNATURE
    SERVER_SOFTWARE
    Apache/2.4.6 (CentOS) PHP/7.0.33
    SERVER_NAME
    hanfuhuaxia.com
    SERVER_ADDR
    172.21.92.186
    SERVER_PORT
    80
    REMOTE_ADDR
    45.42.87.130
    DOCUMENT_ROOT
    /home/zhirong/public
    REQUEST_SCHEME
    http
    CONTEXT_PREFIX
    CONTEXT_DOCUMENT_ROOT
    /home/zhirong/public
    SERVER_ADMIN
    root@localhost
    SCRIPT_FILENAME
    /home/zhirong/public/index.php
    REMOTE_PORT
    55908
    REDIRECT_QUERY_STRING
    s=javascript:void(0)
    REDIRECT_URL
    /javascript:void(0)
    GATEWAY_INTERFACE
    CGI/1.1
    SERVER_PROTOCOL
    HTTP/1.1
    REQUEST_METHOD
    GET
    QUERY_STRING
    s=javascript:void(0)
    REQUEST_URI
    /javascript:void(0)
    SCRIPT_NAME
    /index.php
    PHP_SELF
    /index.php
    REQUEST_TIME_FLOAT
    1721908112.631
    REQUEST_TIME
    1721908112
    PATH_INFO
    javascript:void(0)
    Environment Variables
    empty

    ThinkPHP Constants

    APP_PATH
    /home/zhirong/public/../application/
    BIND_MODULE
    index
    THINK_VERSION
    5.0.24
    THINK_START_TIME
    1721908112.6323
    THINK_START_MEM
    383840
    EXT
    .php
    DS
    /
    THINK_PATH
    /home/zhirong/thinkphp/
    LIB_PATH
    /home/zhirong/thinkphp/library/
    CORE_PATH
    /home/zhirong/thinkphp/library/think/
    TRAIT_PATH
    /home/zhirong/thinkphp/library/traits/
    ROOT_PATH
    /home/zhirong/
    EXTEND_PATH
    /home/zhirong/extend/
    VENDOR_PATH
    /home/zhirong/vendor/
    RUNTIME_PATH
    /home/zhirong/runtime/
    LOG_PATH
    /home/zhirong/runtime/log/
    CACHE_PATH
    /home/zhirong/runtime/cache/
    TEMP_PATH
    /home/zhirong/runtime/temp/
    CONF_PATH
    /home/zhirong/public/../application/
    CONF_EXT
    .php
    ENV_PREFIX
    PHP_
    IS_CLI
    false
    IS_WIN
    false
    网站地图