【发布时间】:2019-04-07 07:02:28
【问题描述】:
我已经在本地将 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
如何修复损坏的桌子?任何帮助将非常感激。坐了一个星期,还是没能解决这个问题。
版本: PHP 5.6.38-3+ubuntu16.04.1+deb.sury.org+1 (cli) mysql Ver 15.1 Distrib 10.0.36-MariaDB,用于 debian-linux-gnu (x86_64) 使用 readline 5.2
在本地我使用mariaDb,在现场我使用mysql。 mysql Ver 15.1 Distrib 10.0.36-MariaDB,用于 debian-linux-gnu (x86_64) 使用 readline 5.2
这会导致问题吗?
【问题讨论】:
标签: php mysql joomla joomla3.1