我的 Web 服务器上安装了基本的 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;博士
The file is writeable by group
但是,当我检查这个特定文件的权限时,我得到:
0755
我尝试过 0777 和 0555 并得到相同的结果。
此设置无需任何更改即可在本地运行,我不确定其中的差异。
感谢任何帮助。我不知道为什么,但我觉得这是一个 PHP 配置问题,但我也不知道如何调试它。
最佳答案
我曾经遇到过类似的情况,并禁用了 TinyMCE 的 gzip 使用。将其放入您的 /mysite/_config/config.yml (或任何其他 yml)中:
HtmlEditorField:
use_gzip: false
虽然它没有修复该错误,但您可以再次工作。
另请参阅: https://github.com/silverstripe/silverstripe-framework/issues/3891
关于php - Silverstripe 管理tinyMCE 500 错误阻止所见即所得编辑器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32727647/