惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - 雪莉06

antd vue 树形表格 vue2 jeecgBoot keepalive 解决方案 vue中实现页面全屏和指定元素全屏 screenfull全屏组件的基本使用 网页导出EXCEL格式数据,长数字变为科学计数法的解决方法 dedecms织梦自定义表单导出到excel的方法 织梦dede:arclist按最新修改排序orderby=pubdate无效的解决方法 vue-router报错:Uncaught (in promise) NavigationDuplicated {_name: ‘NavigationDuplicated‘, name: ‘Navig nvm的安装和使用(转) elementUI 的 input无法输入bug解决 vue数字翻牌效果 j-modal的 slot="footer" 失效 v-if判断页脚按钮 ES6两个数组进行比较 element ui form表单 表格下嵌套动态表格,新增行,删除行 vue 父子组件传值报错:this.$emit is not a function 解决 dede列表页调用二三级导航栏(转载) a-table 鼠标滑过显示小手,当前行可点击(转载) echarts折线图使用dataZoom,切换数据时渲染异常,出现竖线bug vue里面修改title样式
帝国CMS后台登录空白怎么办?如何修改成https
雪莉06 · 2024-09-03 · via 博客园 - 雪莉06

今天总结一下帝国CMS 后台登录空白常见问题已经解决方案!

1、帝国cms修改成https后后台登陆空白的解决办法

以下方法适用帝国cms7.5版本:

7.5版本已经有了http和https自动识别,但是因为一些疑难杂症的原因,自动识别判断的不准,后台登录也是空白,

我们可以打开e/config.php查找'httptype'=>0改为'httptype'=>2即可

'httptype'=>0, 代表自动

'httptype'=>1,代表全站http

'httptype'=>2,代表全站https

'httptype'=>3,代表后台https,前台http

'httptype'=>,代表后台http,前台https

以下方法适用帝国cms7.2和以下的版本:

方法一、

打开/e/class/connect.php文件,ctrl+h

查找

1return 'http://'.$domain;

替换为

1return ($_SERVER['HTTPS'] ? 'https':'http').'://'.$domain;

方法二、

步骤一:找到/e/class/connect.php文件中如下代码:

123456789function eReturnDomain(){ $domain=RepPostStr($_SERVER['HTTP_HOST'],1); if(empty($domain)) { return''; } return 'http://'.$domain; }

替换成:

12345678910111213$domain=RepPostStr($_SERVER['HTTP_HOST'],1); if(empty($domain)) { return ''; } return ($_SERVER['HTTPS'] ? 'https':'http').'://'.$domain; }

步骤二:

找到

123456789101112131415function FWeReturnDomain(){ $domain=RepPostStr($_SERVER['HTTP_HOST'],1); if(empty($domain)) { return ''; } return 'http://'.$domain; }

替换为:

12345678910111213$domain=RepPostStr($_SERVER['HTTP_HOST'],1); if(empty($domain)) { return ''; } return ($_SERVER['HTTPS'] ? 'https':'http').'://'.$domain; }

以上是关于帝国cms修改成https后后台登陆空白的解决办法!

2、刚刚安装好的程序登陆后台空白

查看PHP版本,不要超过5.6!

还有一些就是验证问题,导致登陆出现空白页面,请耐心排查!