V4.0 后台网址分类出现如下错误
BUG反馈
3 3104
function edit($data)
{
$result = $this->isUpdate(true)->allowField(true)->save($data);
if ($result) {
return true;
} else {
return false;
}
}
public function catetree($sn)
{
$tptc = $this->where(array('sn'=>$sn))->order('sort desc')->select();
return $this->sort($tptc);
}
public function sort($data, $tid = 0, $level = 0)
{
static $arr = array();
foreach ($data as $k => $v) {
if ($v['tid'] == $tid) {
Call Stack
- in Category.php line 31
- at Category->catetree() in Category.php line 18
- at Category->index()
- at ReflectionMethod->invokeArgs(object(Category), []) in App.php line 343
- at App::invokeMethod([object(Category), 'index'], []) in App.php line 611
- at App::module(['admin', 'category', 'index'], ['app_host' => '', 'app_debug' => 'true', 'app_trace' => false, ...], true) in App.php line 456
- at App::exec(['type' => 'module', 'module' => ['admin', 'category', 'index']], ['app_host' => '', 'app_debug' => 'true', 'app_trace' => false, ...]) in App.php line 139
- at App::run() in start.php line 19
- at require('/www/users/HK488891/...') in admin.php line 17
Environment Variables
GET Data
empty
POST Data
empty
Files
empty
Cookies
__guid
27590970.2214645867347443500.1602388242983.3318
PHPSESSID
f5gfe7mcd3s01jdo5ie1av75lf
tpl
index_index.html
monitor_count
128
Session
refresh_times
3
last_time
1605325728
think
{ "userhead": "\/public\/img\/touxiang.jpg", "username": "admin", "userid": 1, "point": 1, "usermail": "admin@admin.com", "kouling": "admin" }
checkkey
3577
Server/Request Data
REDIRECT_UNIQUE_ID
X69TwX8AAAEAAHmamH4AAAAi
REDIRECT_HANDLER
application/x-httpd-php7
REDIRECT_STATUS
200
UNIQUE_ID
X69TwX8AAAEAAHmamH4AAAAi
HTTP_HOST
www.jilihr.com
HTTP_CONNECTION
keep-alive
HTTP_UPGRADE_INSECURE_REQUESTS
1
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
HTTP_REFERER
http://www.jilihr.com/admin.php/index/index.html
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_ACCEPT_LANGUAGE
zh-CN,zh;q=0.9
HTTP_COOKIE
__guid=27590970.2214645867347443500.1602388242983.3318; PHPSESSID=f5gfe7mcd3s01jdo5ie1av75lf; tpl=index_index.html; monitor_count=128
PATH
/usr/local/jdk/bin:/sbin:/usr/sbin:/bin:/usr/bin:/bin
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SERVER_NAME
www.jilihr.com
SERVER_ADDR
129.227.60.87
SERVER_PORT
80
REMOTE_ADDR
61.140.193.178
DOCUMENT_ROOT
/www/users/HK488891/WEB
SERVER_ADMIN
vhost@zzidc.com
SCRIPT_FILENAME
/www/users/HK488891/WEB/admin.php
REMOTE_PORT
9700
REDIRECT_URL
/admin.php/category/index.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/admin.php/category/index.html
SCRIPT_NAME
/admin.php
PATH_INFO
/category/index.html
PATH_TRANSLATED
/www/users/HK488891/WEB/category/index.html
ORIG_PATH_INFO
/admin.php/category/index.html
ORIG_SCRIPT_NAME
/php71-cgi
ORIG_SCRIPT_FILENAME
/usr/local/zend/php7.1/bin/php-cgi
ORIG_PATH_TRANSLATED
/www/users/HK488891/WEB/admin.php/category/index.html
PHP_SELF
/admin.php/category/index.html
REQUEST_TIME_FLOAT
1605325761.223
REQUEST_TIME
1605325761
Environment Variables
empty
ThinkPHP Constants
WEB_URL
APP_PATH
./application/
BIND_MODULE
admin
THINK_VERSION
5.0.24
THINK_START_TIME
1605325761.2243
THINK_START_MEM
359176
EXT
.php
DS
/
THINK_PATH
/www/users/HK488891/WEB/thinkphp/
LIB_PATH
/www/users/HK488891/WEB/thinkphp/library/
CORE_PATH
/www/users/HK488891/WEB/thinkphp/library/think/
TRAIT_PATH
/www/users/HK488891/WEB/thinkphp/library/traits/
ROOT_PATH
/www/users/HK488891/WEB/
EXTEND_PATH
/www/users/HK488891/WEB/extend/
VENDOR_PATH
/www/users/HK488891/WEB/vendor/
RUNTIME_PATH
/www/users/HK488891/WEB/runtime/
LOG_PATH
/www/users/HK488891/WEB/runtime/log/
CACHE_PATH
/www/users/HK488891/WEB/runtime/cache/
TEMP_PATH
/www/users/HK488891/WEB/runtime/temp/
CONF_PATH
./application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
最新会员
- 精选帖子
- 新版4.2授权码的填写方式 6842
- 国际导航30多款模板进行免费 8660
- 国际导航采集扩展 13335
- api接口使用教程【v3.1.3】 9148
- 使用本系统搭建违法,触犯,站点公告 9936
- 虚拟主机安装出现数据连接失败解决方案 21498
- 国际网址导航新版标签大全 19328
- 关于2.4之前版本想转3.0新版教程 10254
- GUOJIZ国际网址导航系统全新V5.8(2022-04-26) 78206
- 热门帖子
- 素材系统预计月底发布 9986
- 使用本系统搭建违法,触犯,站点公告 9936
- MyuCMS社区+商城内容管理系统V2.0正式版 9651
- 广告添加万能调用方法 9645
- api接口使用教程【v3.1.3】 9148
- Guojiz导航系统手机模板【xin】 9137
- 国际导航30多款模板进行免费 8660
- Guojiz导航系统升级到2.3.6丁【20191015】 8602
- 关于安装后登录后台账号密码 8112