joomla从v3.1.1升级到3.1.5的数据库错误

46scxncf  于 2021-06-18  发布在  Mysql
关注(0)|答案(2)|浏览(320)

我已经在本地将joomla从3.1.1升级到3.1.5站点。但是前端和后端都坏了。fronend url正在重定向到www.mywebsite.com/index.php?option=com_content&view=article&id=1799. sql升级未通过。我尝试应用数据库修复选项,但在我的情况下,即使这样也无法使其工作。实际上,我需要把joomla升级到最新版本。查看了joomla论坛,但无法解决此问题。
选中扩展>数据库选项时出现以下错误。

Database schema version (3.1.1) does not match CMS version (3.1.5).
Database update version (3.2.7) does not match CMS version (3.1.5).
Table 'j25_associations' does not have column 'id' with type 'INT(11)'. (From file 3.0.3.sql.)
Table 'j25_contentitem_tag_map' does not exist. (From file 3.1.0.sql.)
Table 'j25_tags' does not exist. (From file 3.1.0.sql.)
Table 'j25_ucm_base' does not exist. (From file 3.1.0.sql.)
Table 'j25_ucm_content' does not exist. (From file 3.1.0.sql.)
Table 'j25_modules' does not have column 'asset_id'. (From file 3.2.0.sql.)
Table 'j25_postinstall_messages' does not exist. (From file 3.2.0.sql.)
Table 'j25_ucm_history' does not exist. (From file 3.2.0.sql.)
Table 'j25_users' does not have column 'otpKey'. (From file 3.2.0.sql.)
Table 'j25_users' does not have column 'otep'. (From file 3.2.0.sql.)
Table 'j25_user_keys' does not exist. (From file 3.2.0.sql.)
Table 'j25_update_sites' does not have column 'extra_query'. (From file 3.2.2-2013-12-22.sql.)
Table 'j25_updates' does not have column 'extra_query'. (From file 3.2.2-2013-12-22.sql.)
Table 'j25_updates' does not have column 'version' with type 'varchar(32)'. (From file 3.2.2-2014-01-18.sql.)

单击“修复”按钮时出现以下错误:

Fatal error: Call to undefined method InstallerControllerDatabase::checkToken() in /home/myserver/public_html/checker/administrator/components/com_installer/controllers/database.php on line 28

我怎么能修好我的破table?任何帮助都将不胜感激。坐了一个星期,仍然无法解决这个问题。
版本:php 5.6.38-3+ubuntu16.04.1+deb.sury.org+1(cli)mysql ver 15.1 distrib 10.0.36-mariadb,用于使用readline 5.2的debian linux gnu(x86_64)
在本地我使用mariadb,在live我使用mysql。mysql版本15.1发行版10.0.36-mariadb,适用于使用readline 5.2的debian linux gnu(x86_64)
这会引起问题吗?

ulydmbyx

ulydmbyx1#

几个月前遇到了同样的问题。由于没有发现新组件,因此出现数据库错误。请执行以下操作并发现组件。
请还原joomla版本(3.1.1)
进入管理区>扩展>管理>发现。
单击“发现”按钮。
在那里你会看到新发现的物品。单击并安装这些项目。
清除缓存后,单击数据库选项并尝试修复按钮。
之后再升级。
希望这能解决你的问题。

r1zhe5dt

r1zhe5dt2#

您的更新可能不完整。直接在你的根目录上更新这个文件,并用以前的joomla替换它!要将更新文件从3.1.1版下载到3.1.5版,请转到下面的链接并以zip格式下载更新文件。
https://downloads.joomla.org/cms/joomla3/3-1-5
请下载“joomla!3.1.x到3.1.5修补程序包(.zip)”

相关问题