环境: Apache/2.4.39 (Win64) OpenSSL/1.1.1b PHP/7.1.31 /mysql 8.0.15
clt版本: 6.0 ( 这个帖子的链接下载的: https://www.cltphp.com/detail-251.html )
声明: 1,源码没有做任何修改,只是将static中所有子文件的.htaccess文件的内容注释掉,因为不注释,静态文件引入失败,报500错误,
2.数据库修改中的sql文件都没运行,
问题:
1.后台测试:栏目管理-> 单页编辑:报错(SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'title' cannot be null)
请求头的地址我没在源码中找到,Request URL:http://127.0.0.1/index.php/admin/page/edit.html (没有找到page类)
2.然后我想截图发帖求助:但是富文本编辑器不能上传图片,弹窗提示 文件上传超时,图片格式png
下一篇:CLTPAY-支付宝支付插件升级
问题 有点多呀,编辑栏目修改不能用,单页编辑新增也不能用,报数据库连接过多,但是其他模块能修改,此文本编辑器不能上传图片 只能描述了
try {
if (empty($config['dsn'])) {
$config['dsn'] = $this->parseDsn($config);
}
if ($config['debug']) {
$startTime = microtime(true);
}
$this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params);
if ($config['debug']) {
// 记录数据库连接信息
$this->log('[ DB ] CONNECT:[ UseTime:' . number_format(microtime(true) - $startTime, 6) . 's ] ' . $config['dsn']);
}
return $this->links[$linkNum];
} catch (\PDOException $e) {
if ($autoConnection) {
id | 2 |
moduleid | 1 |
pid | |
catname | 关于我们11111 |
catdir | about |
image | |
file | |
title | 关于我们 |
keywords | CLTPHP内容管理系统,微信公众平台、APP移动应用设计、HTML5网站API定制开发。大型企业网站、个人博客论坛、手机网站定制开发。更高效、更快捷的进行定制开发。 |
description | CLTPHP内容管理系统,微信公众平台、APP移动应用设计、HTML5网站API定制开发。大型企业网站、个人博客论坛、手机网站定制开发。更高效、更快捷的进行定制开发。 |
ismenu | 1 |
is_show | 0 |
readgroup | { "1": "1" } |
pagesize | 0 |
template_list | |
template_show |
skin | 0 |
PHPSESSID | 474dogjnokhtc7diefgokbslho |
think | { "username": "admin", "aid": 1, "avatar": "\/uploads\/20190827\/9b0566928a05627da7b6205749117ef5.jpg" } |
HTTP_HOST | 127.0.0.1 |
HTTP_CONNECTION | keep-alive |
CONTENT_LENGTH | 1463 |
HTTP_PRAGMA | no-cache |
HTTP_CACHE_CONTROL | no-cache |
HTTP_ACCEPT | */* |
HTTP_X_REQUESTED_WITH | XMLHttpRequest |
HTTP_USER_AGENT | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36 |
HTTP_SEC_FETCH_MODE | cors |
CONTENT_TYPE | application/x-www-form-urlencoded; charset=UTF-8 |
HTTP_ORIGIN | http://127.0.0.1 |
HTTP_SEC_FETCH_SITE | same-origin |
HTTP_REFERER | http://127.0.0.1/index.php/admin/category/edit/id/2.html |
HTTP_ACCEPT_ENCODING | gzip, deflate, br |
HTTP_ACCEPT_LANGUAGE | zh-CN,zh;q=0.9,en;q=0.8,und;q=0.7,fr;q=0.6 |
HTTP_COOKIE | skin=0; PHPSESSID=474dogjnokhtc7diefgokbslho |
PATH | C:\Program Files\Java\jdk-12.0.1\bin;C:\Program Files\Java\jdk-12.0.1\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;F:\Apache24\bin;F:\mysql-8.0.15\bin;C:\WINDOWS\System32\OpenSSH\;F:\php-7.1.31;C:\composer;C:\Program Files\TortoiseSVN\bin;F:\putty\;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps |
SystemRoot | C:\WINDOWS |
COMSPEC | C:\WINDOWS\system32\cmd.exe |
PATHEXT | .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC |
WINDIR | C:\WINDOWS |
SERVER_SIGNATURE | |
SERVER_SOFTWARE | Apache/2.4.39 (Win64) OpenSSL/1.1.1b PHP/7.1.31 |
SERVER_NAME | 127.0.0.1 |
SERVER_ADDR | 127.0.0.1 |
SERVER_PORT | 80 |
REMOTE_ADDR | 127.0.0.1 |
DOCUMENT_ROOT | G:/www/cltphp/public |
REQUEST_SCHEME | http |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | G:/www/cltphp/public |
SERVER_ADMIN | admin@example.com |
SCRIPT_FILENAME | G:/www/cltphp/public/index.php |
REMOTE_PORT | 61675 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | POST |
QUERY_STRING | |
REQUEST_URI | /index.php/admin/category/catupdate.html |
SCRIPT_NAME | /index.php |
PATH_INFO | /admin/category/catupdate.html |
PATH_TRANSLATED | redirect:\index.php\category\catupdate.html |
PHP_SELF | /index.php/admin/category/catupdate.html |
REQUEST_TIME_FLOAT | 1566894744.362 |
REQUEST_TIME | 1566894744 |
MAX_MENU_LENGTH | 3 |
MAX_SUB_MENU_LENGTH | 5 |
MODULE_NAME | category |
ACTION_NAME | catupdate |