CMS程序
-
WordPress程序访问遇到 “此站点遇到了致命错误。” 怎么解决
找到网站根目录下的wp-config.php文件, 打开后找到 define( 'WP_DEBUG', false ); 改成 // 开启WP_DEBUG模式 define( 'WP_DEBUG', true); // 开启DEBUG日志,产生的日志文件在: /wp-content/debug.log ,排查完成后 一定要记得关闭这个日志功能并清理这个日志文件, define( 'WP_DEBUG_LOG', true); // 显示errors and…… -
帝国CMS开启https,打开后台空白的解决办法。
1、7.5及以上版本 7.5版本 http和https 可以自动识别,但有时候自动识别判断的不准,后台登录也是空白, 可以打开 e/config/config.php 查找 ’httptype’=>0 改为’httptype’=>2 即可 说明: 'httptype'=>0, 代表自动 'httptype'=>1,代表全站http 'httptype'=>2,代表全站https 'httptype'=>3,代…… -
关于Thinkphp程序报 Class ‘think\Image’ not found 问题解决方法
解决方法如下: 一、 把 ./vendor/topthink/think-image/src下的文件 全部全部复制到 (包括image.php和image文件夹) ./thinkphp/library/think 目录下 ,在登录后台 就可以正常上传了。(也可能是 /core/library/think 目录) 二、 在报错的文件中 直接引用image.php文件 require(ROOT_PATH.'/tp5/vendor/topthink/thi…… -
The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection.
The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection. 原因是使用apache 由于启用HTTP2,浏览器默认在同证书、同IP的情况下会采取连接复用 ,如果配置两个站点的配置不通 或根证书不一致,会导致服务器拒绝浏览…… -
Thinkphp修复XSS跨站脚本攻击
网站收到漏洞整改通知,参考教程https://blog.csdn.net/qq15577969/article/details/130633666 设置后还是不行 , 最后找了很多教程,在.htaccess文件中添加 Header set Content-Security-Policy "default-src 'self';" 完整的配置如图 <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / …… -
dedecms织梦程序IIS7/iis8/iis10下web.config伪静态规则
dedecms织梦程序IIS7/iis8/iis10下web.config伪静态规则 <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Imported Rule 1"> <match url="list-([0-9]+)\.html" ignoreCase="false" /> <action type="Rewrite" …… -
PHPCMS V9伪静态规则
PHPCMS程序中已经默认包含了 apache 伪静态规则,但是如果您使用IIS则需要自己转换一次。 apache 规则 将规则放在根目录.htaccess文件中 RewriteEngineon RewriteRule ^content-([0-9]+)-([0-9]+)-([0-9]+).html index.php?m=content&c=index&a=show&catid=$1&id=$2&page=$3 RewriteRule ^show-([0-9…… -
帝国CMS系统,提示 “您的用户名、密码或安全答案有误,也可能您的帐号已被禁用,请重输”
如图,帝国CMS出现此提示“您的用户名、密码或安全答案有误,也可能您的帐号已被禁用,请重输” 可能是密码错误, 可以试试重置密码。