简体   繁体   English

TYPO3 7.2后端中的空pagetree

[英]Empty pagetree in TYPO3 7.2 backend

I am setting up a web portal using TYPO3 version 7.2. 我正在使用TYPO3版本7.2设置Web门户。 I successfully installed TYPO3 following this article on a Red Hat 4.8.2-16 machine. 我已在Red Hat 4.8.2-16计算机上成功安装了以下文章之后的 TYPO3。 Everything worked fine and I created some pages until for some reason the pagetree didn't show any content any more. 一切正常,我创建了一些页面,直到由于某种原因页面树不再显示任何内容。 So now the backend looks like this http://goo.gl/3p0uQn 所以现在后端看起来像这样http://goo.gl/3p0uQn

My browsers debug console only returns this error: 我的浏览器调试控制台仅返回以下错误:

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

but I have no idea if this is related to the empty pagetree. 但是我不知道这是否与空的pagetree有关。 This occurs on Firefox, Chrome and IE, so I guess it has nothing to do with the browser. 这是在Firefox,Chrome和IE上发生的,因此我想它与浏览器无关。 Also, I am logged in as an admin so it should not be due to wrong access rights. 另外,我以管理员身份登录,因此不应归因于错误的访问权限。

Does anybody know what's going on there? 有人知道那里发生了什么吗?

UPDATE: The TYPO3 Log gives me some PHP Warnings 更新: 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

UPDATE 2 Meanwhile I installed 7.2 completely fresh (even with a new database) and I still get an empty pagetree. 更新2同时,我完全全新安装了7.2(即使使用了新数据库),但仍然得到一个空的pagetree。 I also tried 6.2 LTS, but also here, no pagetree. 我也尝试了6.2 LTS,但在这里也没有pagetree。 I'm beginning to think that there is a problem with my PHP settings. 我开始认为我的PHP设置有问题。 Im using PHP 5.6.9 and MariaDB 10.0.19. 我正在使用PHP 5.6.9和MariaDB 10.0.19。

Try tu put that on your php.ini : 尝试把它放在您的php.ini上:

always_populate_raw_post_data = -1 always_populate_raw_post_data = -1

It worked for me. 它为我工作。 Have a nice day. 祝你今天愉快。

Raf 拉夫

You have a PHP error somewhere. 您在某处出现PHP错误。 Please check your webserver log or php log for error messages. 请检查您的网络服务器日志或php日志以获取错误消息。 You can also show the error messages by choosing the development preset in the Install Tool or by setting the context environment variable to Development . 您还可以通过在安装工具中选择开发预设或将上下文环境变量设置为Development来显示错误消息。

Make sure to clear the cache via Install Tool at least once (Important Actions). 确保至少通过安装工具清除一次缓存(重要操作)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM