【问题标题】:Empty pagetree in TYPO3 7.2 backendTYPO3 7.2 后端中的空页面树
【发布时间】:2015-06-11 07:43:55
【问题描述】:

我正在使用 TYPO3 7.2 版设置一个门户网站。我在 Red Hat 4.8.2-16 机器上成功安装了 this article 之后的 TYPO3。一切正常,我创建了一些页面,直到由于某种原因页面树不再显示任何内容。所以现在后端看起来像这样http://goo.gl/3p0uQn

我的浏览器调试控制台只返回这个错误:

TypeError: TYPO3ViewportInstance.DebugConsole is null   backend.php:79:5

但我不知道这是否与空页面树有关。 这发生在 Firefox、Chrome 和 IE 上,所以我猜它与浏览器无关。 另外,我是以管理员身份登录的,所以这不应该是由于访问权限错误。

有人知道那里发生了什么吗?

更新: TYPO3 日志给了我一些 PHP 警告

Core: Error handler (BE): PHP Warning: Cannot modify header information - headers already sent in /var/www/typo3_src-7.2.0/typo3/sysext/core/Classes/Http/AjaxRequestHandler.php line 255   
Core: Error handler (BE): PHP Warning: Cannot modify header information - headers already sent in /var/www/typo3_src-7.2.0/typo3/sysext/core/Classes/Http/AjaxRequestHandler.php line 250   
Core: Error handler (BE): PHP Warning: Cannot modify header information - headers already sent in /var/www/typo3_src-7.2.0/typo3/sysext/core/Classes/Core/Bootstrap.php line 1193
Core: Error handler (BE): PHP Warning: Cannot modify header information - headers already sent in /var/www/typo3_src-7.2.0/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php line 439     
Core: Error handler (BE): PHP Warning: Cannot modify header information - headers already sent in /var/www/typo3_src-7.2.0/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php line 438     
Core: Error handler (BE): PHP Warning: Cannot modify header information - headers already sent in /var/www/typo3_src-7.2.0/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php line 425     
Core: Error handler (BE): PHP Warning: Cannot modify header information - headers already sent in /var/www/typo3_src-7.2.0/typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php line 424

更新 2 同时,我全新安装了 7.2(即使使用了新数据库),但仍然得到一个空的页面树。我也试过 6.2 LTS,但也在这里,没有 pagetree。我开始认为我的 PHP 设置有问题。我正在使用 PHP 5.6.9 和 MariaDB 10.0.19。

【问题讨论】:

    标签: typo3


    【解决方案1】:

    试着把它放在你的 php.ini 中:

    always_populate_raw_post_data = -1

    它对我有用。 祝你有美好的一天。

    拉夫

    【讨论】:

      【解决方案2】:

      您在某处遇到了 PHP 错误。请检查您的网络服务器日志或 php 日志以获取错误消息。您还可以通过在安装工具中选择开发预设或将上下文环境变量设置为 Development 来显示错误消息。

      确保通过安装工具至少清除一次缓存(重要操作)。

      【讨论】:

      • 日志给了我很多这样的 PHP 警告...PHP Warning: Cannot modify header information - headers already sent in /var/www/typo3_src-7.2.0/typo3/sysext/core/Classes/Http/AjaxRequestHandler.php line 255 PHP Warning: Cannot modify header information - headers already sent in /var/www/typo3_src-7.2.0/typo3/sysext/core/Classes/Http/AjaxRequestHandler.php line 250
      • 那么您之前有一个 PHP 错误,或者您的一个 PHP 文件在开始 <?php 标记之前包含空格。这些消息意味着您的输出已经开始,这在 TYPO3 中不应该发生。
      • 感谢您的提示,但同时我重新安装了 7.2,即使我没有更改任何设置或创建任何内容,我也会收到相同的错误。然后我安装了 6.2 LTS,我得到了相同的结果——没有页面树。难道是我的PHP设置有问题?
      • 您检查安装工具中的环境设置了吗?您很可能遇到了 PHP 错误。
      • 是的,我做到了,它没有显示任何错误,数据库检查也很好。我在报告工具中得到的唯一错误是这个:It seems that this TYPO3 version has never been released. Thus no update information exists.
      猜你喜欢
      • 2019-10-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-06
      • 2017-06-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多