简体   繁体   English

如何在TYPO3 V9中通过composer安装typo3 / cms-workspaces扩展

[英]How to install typo3/cms-workspaces extension via composer in TYPO3 V9

I have a TYPO3 V9 LTS installed via composer (as recommended in the tutorial), which working fine so far. 我有一个通过composer安装的TYPO3 V9 LTS(按照本教程中的建议),到目前为止运行良好。 Now I want to install the "workspaces" extension. 现在,我要安装“工作区”扩展。 This must be done via composer, too. 这也必须通过作曲家完成。

$ composer require typo3/cms-workspaces

All console lines are green, no errors occured, seems fine. 所有控制台行均为绿色,未发生任何错误,看起来不错。 But after login to the TYPO3 backend, the following error message appeared: 但是登录到TYPO3后端后,出现以下错误消息:

Doctrine\\DBAL\\Exception\\TableNotFoundException 学说\\ DBAL \\异常\\ TableNotFoundException

An exception occurred while executing 'SELECT uid , title , adminusers , members FROM sys_workspace WHERE ( sys_workspace . deleted = 0) AND ( sys_workspace . pid = 0) ORDER BY title ASC': Table 'typo3_v9_testserver.sys_workspace' doesn't exist 在执行'SELECT发生了异常uidtitleadminusersmembers FROM sys_workspace WHERE( sys_workspacedeleted = 0)AND( sys_workspacepid = 0)ORDER BY title表'typo3_v9_testserver.sys_workspace'不存在:ASC'

I assume that composer didn't the same way to install an extension as the conventional TYPO3 backend would do (especial here create or extense DB tables). 我认为作曲家安装扩展的方式与传统TYPO3后端的方式不同(尤其是在此处创建或扩展数据库表)。 How to install the "workspaces" extension via composer? 如何通过作曲家安装“工作区”扩展?

Solution: Go to install tool (thanks to Aristeidis Karavas for comment above) 解决方案:转到安装工具(感谢Aristeidis Karavas的意见)

https://mytypo.com/typo3/install.php

Go to Maintenance -> "Analyse Database Structure". 转到维护->“分析数据库结构”。
There are a lot of CREATE TABLE statements. 有很多CREATE TABLE语句。
Click on "Apply selected changes". 单击“应用选定的更改”。

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

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