获取扩展程序无效 - 如何解决?

问题描述 投票:2回答:2

我的TYPO3后端未加载可用的扩展程序。

我无法在谷歌的任何地方找到解决方案:刚刚看到一些关于在Installtool中将一些curlUrl参数设置为1的内容但是没有用。

我还读到了一些关于它可能与“Time since last update: unknown”有关但我没有看到解决方案的东西,似乎已经在我的TYPO3版本中已经修复了。 我怎么能再次使这个工作?

更新扩展名列表

parsererror(SyntaxError:UngültigesZeichen):致命错误:在/var/www/typo3_src/typo3_src-6.2.25/typo3/sysext/extensionmanager/Classes/Utility/Repository/中的非对象上调用成员函数getUid()第248行的Helper.php

Get Extensions Fail

typo3 typo3-6.2.x
2个回答
2
投票

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');

0
投票

对明确问题没有答案,但也许我可以帮助某人安全一段时间!

我不得不清理tx_extensionmanager_domain_model_extension数据以使扩展管理器再次工作。

Install> Clean up> Clear Tables> tx_extensionmanager_domain_model_extension

© www.soinside.com 2019 - 2024. All rights reserved.