简体   繁体   English

Shopp数据库升级所需循环

[英]Shopp Database Upgrade Required loop

After updating the Shopp plugin to version 1.3.3 in wordpress version 3.9.1, I activated the plugin, and when trying to access the plugins admin page, I get a page that saying: 在Wordpress版本3.9.1中将Shopp插件更新为版本1.3.3之后,我激活了插件,并且在尝试访问插件管理页面时,得到一个页面,上面写着:

Shopp has been updated! Shopp已更新!

Before you can use the new version of Shopp, your database needs to be upgraded. 在使用新版本的Shopp之前,需要先升级数据库。

Your storefront has been switched to maintenance mode until the database upgrade is completed. 您的店面已切换到维护模式,直到数据库升级完成。

IMPORTANT: Be sure to backup your database to prevent a loss of data! 重要信息:确保备份数据库,以防止数据丢失! How do I backup? 我该如何备份? To upgrade, you simply need to reactivate Shopp: 要升级,您只需要重新激活Shopp:

Click the Continue… button below to deactivate Shopp 单击下面的继续...按钮以停用Shopp

In the WordPress Plugins manager, click the Activate link for Shopp to reactivate and upgrade the Shopp database 在WordPress插件管理器中,单击Shopp的激活链接以重新激活和升级Shopp数据库

I am running on Mamp 3.0 我在Mamp 3.0上运行

I follow the instructions, deactivate and activate the plugin, and I still recieve the same update required page. 我按照说明进行操作,停用并激活了插件,但我仍然收到相同的更新要求页面。

I have verified that the db_version in my options database table matches the $wp_db_version in wp-includes/version.php . 我已经验证了我的选择数据库表中的db_version$ wp_db_version匹配WP-包括/ version.php。 Ideas? 有想法吗?

There was a problem where WP would use mysqli automatically when available. 有一个问题,WP将在可用时自动使用mysqli。 Adding this command to wp-config.php made it work again. 将此命令添加到wp-config.php使其再次工作。

define('WP_USE_EXT_MYSQL',true);

RST is almost correct. RST几乎是正确的。

He said WP-config.sys but you really want to add it to wp-config.php 他说WP-config.sys,但您确实想将其添加到wp-config.php

Add define('WP_USE_EXT_MYSQL',true); 添加define('WP_USE_EXT_MYSQL',true); to your wp-config.php file in the root of you WordPress install. 到WordPress安装根目录中的wp-config.php文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM