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

推荐订阅源

T
Troy Hunt's Blog
Blog — PlanetScale
Blog — PlanetScale
Engineering at Meta
Engineering at Meta
F
Full Disclosure
Recorded Future
Recorded Future
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
GbyAI
GbyAI
博客园_首页
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Hacker News: Front Page
人人都是产品经理
人人都是产品经理
The Cloudflare Blog
博客园 - 司徒正美
Webroot Blog
Webroot Blog
Google DeepMind News
Google DeepMind News
Help Net Security
Help Net Security
Cloudbric
Cloudbric
PCI Perspectives
PCI Perspectives
有赞技术团队
有赞技术团队
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
TaoSecurity Blog
TaoSecurity Blog
L
Lohrmann on Cybersecurity
量子位
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Tailwind CSS Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
B
Blog RSS Feed
Apple Machine Learning Research
Apple Machine Learning Research
大猫的无限游戏
大猫的无限游戏
P
Proofpoint News Feed
N
News and Events Feed by Topic
罗磊的独立博客
T
Threat Research - Cisco Blogs
Schneier on Security
Schneier on Security
T
Tor Project blog
IT之家
IT之家
M
MIT News - Artificial intelligence
S
Security @ Cisco Blogs
O
OpenAI News
AI
AI
S
Securelist
Simon Willison's Weblog
Simon Willison's Weblog
The Last Watchdog
The Last Watchdog
月光博客
月光博客
Security Archives - TechRepublic
Security Archives - TechRepublic
L
LINUX DO - 热门话题

阿豪运维笔记

如何通过Navicat for MySQL导出Mysql数据库为SQL格式备份文件 如何通过Navicat for MySQL导入SQL备份文件 Win11系统如何通过CMD命令行窗口批量关闭相同进程 Win10系统如何通过CMD命令行窗口批量关闭相同进程 Win7系统如何通过CMD命令行窗口批量关闭相同进程 Win10系统中Windows 资源管理器是什么进程为啥重启下这个进程界面就正常了 Win7系统中explorer.exe是什么进程为啥重启下这个进程桌面显示就正常了 解决普通用户使用su命令切换root用户时提示su Authentication failure图文教程 轻松搞定Windows系统自定义安装日期图文教程 Windows2025系统如何设置指定时间定时自动重启系统图文教程 Windows2022系统如何设置指定时间定时自动重启系统图文教程 Windows2019系统如何设置指定时间定时自动重启系统图文教程 Windows2016系统如何设置指定时间定时自动重启系统图文教程 Windows2012系统如何设置指定时间定时自动重启系统图文教程 OpenSUSE 16如何安装Linux Web可视化管理工具Cockpit Fedora 41如何安装Linux Web可视化管理工具Cockpit Fedora 40如何安装Linux Web可视化管理工具Cockpit Debian13如何安装Linux Web可视化管理工具Cockpit Debian12如何安装Linux Web可视化管理工具Cockpit Ubuntu24如何安装Linux Web可视化管理工具Cockpit Ubuntu22如何安装Linux Web可视化管理工具Cockpit Alibaba Cloud Linux 4如何安装Linux Web可视化管理工具Cockpit Alibaba Cloud Linux 3如何安装Linux Web可视化管理工具Cockpit Rocky Linux 10如何安装Linux Web可视化管理工具Cockpit
DedeCMS后台部分功能打开空白如何排查修复
阿豪运维笔记 · 2026-07-03 · via 阿豪运维笔记

DedeCMS后台出现空白页是很多站长常遇到的问题,通常由PHP版本不兼容、磁盘空间满了、文件权限错误异常等原因引起,最近临时测试网站也遇到后台部分功能打开空白。写个教程记录下DEDECMS后台部分功能遇到打开空白如何排查修复,同时也给有需要的同学提供一丢丢帮助。

image.png

解决办法

1、检查PHP版本是否使用PHP7以上版本,DedeCMS后台容易出现空白,建议切换到PHP5.4以下版本

2、检查网站磁盘空间是否满了

3、开启详细错误

找到网站根目录下的 include/common.inc.php 文件

查找相关代码 error_reporting(E_ALL || ~E_NOTICE);

if ( DEDE_ENVIRONMENT == 'production' )
{
    error_reporting(E_ALL || ~E_NOTICE);
} else {
    error_reporting(E_ALL);
}
替换成如下
if ( DEDE_ENVIRONMENT == 'production' )
{
//    error_reporting(E_ALL || ~E_NOTICE);
//} else {
    error_reporting(E_ALL);
}

保存后刷新空白的页面出现如下报错

image.png

提示failed to open stream: Permission denied,经排查是因为站点设置只读权限导致,重新赋予/data/tplcache目录读写权限后问题解决

image.png

总结

以上是DEDECMS建站程序空白页面排查思路,问题解决完后记得将代码改回原样。