typo3 - 获取扩展不起作用 - 如何修复它?

标签 typo3 typo3-6.2.x

我的 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

Get Extensions Fail

最佳答案

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/

相关文章:

caching - 用 locallang.xlf 翻译 Extbase 扩展,但没有任何反应?

typo3 - 在 Contentelement 中使用 v :content. 渲染

typo3 - Flux Form 内的富文本编辑器

typo3 - 引用TYPO3中原语言的媒体字段

typo3-6.2.x - 无法连接到 Windows 7 上的 Typo3 V6.2.1 后端

ajax - Extbase Ajaxdispatcher 给出错误 "The default controller can not be determined"

php - 如何在TYPO3后端写入日志?

php - TYPO3 流体 xml 渲染

typo3 - 如何部分设置 VHS 的 AllowViewHelper 中的 FrontendUserGroup?

windows - 如何使用 XAMPP 在 Windows 10 中安装 Typo3?