Wordpress 管理员无法发布帖子 [英] Wordpress admin cannot publish posts
问题描述
我在本地 wamp 平台上安装了 Wordpress.我用了一段时间没有任何问题.然而,今天没有任何异常变化,我无法再发布任何页面/帖子.我是 wordpress 中唯一拥有管理员权限的用户.
I have Wordpress installed on my local wamp platform. I used it for a while without any problem. However today without any unusual change I am not able to publish any pages/posts anymore. I am the only user in wordpress with admin rights.
我认为它可能已损坏,所以我安装了一个新的 Wordpress 实例.什么都没改,没有插件,直接去发帖,但是不在下拉列表中,我只能选择待审核"和草稿"'.
I thought it might be corrupted, so I installed a fresh Wordpress instance. Did not change anything, no plugins, just went directly to posts to publish, but it is not in the dropdown list, I can select only 'Pending Review' and 'Draft'.
更奇怪的是,这也发生在我的实时网站上.我在共享托管环境中,因此与我的本地主机完全不同的空间.(虽然代码是从本地主机复制到生产环境的.)
To be even more strange, same time this happened in my live site as well. I am on a shared hosting environment, so totally different space from my localhost. (Though code was copied from localhost to production.)
过去有没有人经历过类似的事情?
Has anybody experienced similar in the past?
推荐答案
这绝对与时间有关.在弄乱我的 php.ini 和 timezome 后,我遇到了同样的问题.我还安装了 NTPd 并更改了硬件时钟.
It's definitly time related. I have the same issue after messing with my php.ini's and timezome's. Also I installed NTPd and changed the hardware clock.
这篇关于Wordpress 管理员无法发布帖子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!