我的 TYPO3 后端未加载可用的扩展。
我在 google 上找不到此问题的解决方案:刚刚看到有关在 Installtool 中将某些 curlUrl 参数设置为 1 的内容,但这不起作用。
我还读到了一些内容,它可能与“自上次更新以来的时间:未知
”有关,但我没有看到解决方案,似乎这已经在我的中修复了TYPO3版本。
我怎样才能让它再次工作?
Update Extension List
parsererror(SyntaxError: Ungültiges Zeichen): Fatal error: Call to a member function getUid() on a non-object in /var/www/typo3_src/typo3_src-6.2.25/typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php on line 248
最佳答案
Line 248 in Helper.php
显示以下内容 if ($this->extensionRepository->countByRepository($this->repository->getUid()) <= 0) {
.
因此,您的数据库表 tx_extensionmanager_domain_model_repository
的内容似乎是这样的不完整或无效。
使用安装工具修复
要解决此问题,请在 TYPO3 CMS 6.2 下执行以下步骤:
- 清除表格
tx_extensionmanager_domain_model_repository
,例如使用 SQL 命令TRUNCATE tx_extensionmanager_domain_model_repository;
例如PhpMyAdmin 或任何 MySQL 客户端 - 打开 TYPO3 的安装工具,选择升级向导,然后选择下面的执行按钮添加默认的 Extension Manager 数据库表
- 之后表
tx_extensionmanager_domain_model_repository
中应该至少有一个条目指向“TYPO3.org 主存储库”
直接使用 SQL 修复
如果这没有帮助,您可以执行以下 SQL 注释,在您喜欢的 SQL 客户端(控制台或 PhpMyAdmin)中添加存储库 URL:
INSERT INTO tx_extensionmanager_domain_model_repository VALUES ('1', '0', 'TYPO3.org Main Repository', 'Main repository on typo3.org. This repository has some mirrors configured which are available with the mirror url.', 'http://typo3.org/wsdl/tx_ter_wsdl.php', 'http://repositories.typo3.org/mirrors.xml.gz', '1346191200', '0');
关于typo3 - 获取扩展不起作用 - 如何修复它?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44461067/