刚刚想写文章,进入dashboard发现有固件需要升级,在确定后执行了升级,无奈网络不畅,导致WP卡死,出于本能反应按下了f5,然后。。wp瞬间爆炸。。
这种提示是更新提示信息,当更新主题或者插件时,可能会触发这个提示。也是WP为了稳定而做的一种很友好的设计(界面很不友好!!!!~~~~)
解决方案:
进入网站根目录,删除 .maintenance文件即可。(Linux下此文件为隐藏文件,简单的ls看不到。)
引用:
When you go to update a plugin, WordPress puts itself in a temporary maintenance mode state. When you see the “Briefly unavailable…” message, that’s a WordPress-generated notification that alerts any visitors about what’s happening with your site.
Let’s say you’re updating your plugins and someone happens to visit your site during the process. They’d see that notification message, say “okay” to themselves, and hopefully refresh the page in a minute.
This message is normal behavior.
What’s not normal is when your server has a slow response time or for some reason the update script is interrupted (or times out). In that case, the friendly notification morphs into a moment of dread and panic.
Comments | NOTHING