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

时间:2017-06-09 15:02:57

标签: typo3 typo3-6.2.x

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

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

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

  

更新扩展名列表

     

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

Get Extensions Fail

2 个答案:

答案 0 :(得分: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');

答案 1 :(得分:0)

没有回答明确的问题,但是也许我可以帮助某人安全一些!

我必须清理sys.modules数据才能使扩展管理器再次工作。

tx_extensionmanager_domain_model_extension> Install> Clean up> Clear Tables