gpt4 book ai didi

mysql - 命令不同步;您现在无法运行此命令 - EXT :indexed_search 的 TYPO3 后端模块上出现错误

转载 作者:行者123 更新时间:2023-11-29 16:38:51 24 4
gpt4 key购买 nike

在我的 TYPO3 8.7 安装的生产环境中,当我尝试打开 TYPO3 后端模块“Indexing”时,我收到此错误消息:

Commands out of sync; you can't run this command now 

Doctrine\DBAL\Driver\Mysqli\MysqliException thrown in file
/home/www/html-data/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php in line 280.

问题似乎出在函数 getRecordsNumbers() 中的供应商/typo3/cms/typo3/sysext/indexed_search/Classes/Domain/Repository/AdministrationRepository.php 的循环中

经过一些研究,似乎 closeCursor() 是必要的,但我无法集成它。

有趣的是,这个错误只发生在我的生产环境中。在开发机器上,一切正常!

那么这现在是 TYPO3 bug 还是我的生产机器的配置问题?

我的环境:

  • TYPO3 8.7.20
  • 生产:

    • PHP 7.2.8
    • MySQL 5.6.37
    • mysqlnd 5.0.12-dev
  • 开发:

    • PHP 7.2.7
    • MySQL 5.5.60
    • mysqlnd 5.0.12-dev

唯一的区别是开发环境中不存在 pdo_mysql。

enter image description here

最佳答案

原来是数据库表index_rel的索引坏了。

删除表并重建它解决了我的问题。

关于mysql - 命令不同步;您现在无法运行此命令 - EXT :indexed_search 的 TYPO3 后端模块上出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53448594/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com