Wordpress错误:需要数据库更新 [英] Wordpress Error: Database Update Required
问题描述
我目前正在与一个客户端工作,点击更新WordPress上的插件。他不知道插件是什么,他更新,因为他点击更新过去的其他插件,他们只是更新,所以他很少注意他是什么点击。
他的网站仍然是,但是当我尝试进入后端使用/ wp-admin我被打了一个消息,说明:
需要更新数据库
在我们送您之前,我们必须将您的数据库更新到最新版本。
更新过程可能需要一段时间,
更新Wordpress数据库
当我点击更新WordPress数据库的按钮,它什么也不做。浏览器旋转,然后显示一个空白的白页,顶部有Wordpress。我失去了,因为我甚至不能登录,它不给我选项。
对发生什么想法?非常感谢您提供协助。
这是由于您所使用的数据库版本之间的不匹配
请按照以下步骤操作:
- 前往
/ wp-include /
文件夹并打开version.php
。 - c $>
$ wp_db_version
,然后写下。 - 现在,打开您的数据库, wp_options
-
查找
db_version
值:
SELECT option_value FROM yourdatabase.wp_options WHERE option_name ='db_version';
-
两个值必须相同。在
version.php
文件中更改它,而不是数据库。
资料来源: http://wpquestions.com / problem / showChrono / id / 4151
I'm currently working with a client right now that clicked to update a plugin on WordPress. He's unaware of what plugin it was that he updated because he's clicked update in the past for other plugins and they just updated, so he paid little attention to what it was he clicked.
His site is still up, but when I try to get into the back end using /wp-admin I'm hit with a message that states:
Database Update Required
WordPress has been updated! Before we send you on your way, we have to update your database to the newest version.
The update process may take a little while, so please be patient.
Update Wordpress Database
When I click on the button that says "Update WordPress Database" it does nothing. The browser spins and then shows me a blank white page with Wordpress at the top. I'm at a loss because I can't even login, it doesn't give me the option.
Any thoughts on what is happening? Thanks a bunch in advance for the assistance.
This is due to a missmatch between the databases versions you said you are using in the settings.
Please follow this steps:
- Go to
/wp-include/
folder and open theversion.php
. - Find the value for
$wp_db_version
, and write it down. - Now, open your database, check in the table called
wp_options
Find the
db_version
value:SELECT option_value FROM yourdatabase.wp_options WHERE option_name = 'db_version';
Those two values must be the same. Change it in the
version.php
file, not the database.
Source: http://wpquestions.com/question/showChrono/id/4151
这篇关于Wordpress错误:需要数据库更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!