Silverstripe 管理 tinyMCE 500 错误阻止所见即所得编辑器

Silverstripe administration tinyMCE 500 error prevents WYSIWYG editor

我在我的网络服务器上安装了一个基本的 Silverstripe CMS,但是当我登录到管理系统时,我收到此文件的 500 错误:

Request         URL:http://sitename.com/framework/thirdparty/tinymce/tiny_mce_gzip.php?m=1426832960&js=1&plugins=table,emotions,paste,media,fullscreen,inlinepopups,advimagescale&themes=advanced&languages=en&diskcache=true&src=false
Request Method: GET
Status Code:    500 Internal Server Error

我已经做了一些研究,我不确定是什么导致了这个问题或如何解决这个问题,我已经尝试更改相关文件的权限和存放它的目录,但仍然没有解决.

错误日志指出:

[Wed Sep 23 09:45:33 2015] [error] [client 000.00.000.000] SoftException in Application.cpp:256: File "/home/frontend/public_html/newss/framework/thirdparty/tinymce/tiny_mce_gzip.php" is writeable by group, referer: http://sitename.com/admin/pages

TL;DR

The file is writeable by group

然而,当我检查这个特定文件的权限时,我得到:

0755

我试过 0777 和 0555 得到了相同的结果。

此设置在本地有效,但我不确定其中的差异。

感谢任何帮助。我不知道为什么,但我觉得这是一个 PHP 配置问题,但我也不确定如何调试它。

我之前遇到过 tiny_mce_gzip.php 的问题。这是因为 zlib.output_compression 在我的 php.ini.

中没有启用

我曾经有过类似的事情,并禁用了 TinyMCE 的 gzip 使用。把它放在你的 /mysite/_config/config.yml (或那里的任何其他 yml)中:

HtmlEditorField:
  use_gzip: false

虽然它没有修复该错误,但您可以再次工作。

另请参阅: https://github.com/silverstripe/silverstripe-framework/issues/3891