我在我的网络服务器上安装了基本的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
我做了一些研究,我不确定是什么导致这个或如何解决这个问题,我已经尝试更改有问题的文件的权限和容纳它的目录,但仍然没有解决。< / p>
错误日志说明:
[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配置问题,但我不知道如何调试它。
答案 0 :(得分:2)
我曾经有类似的东西,并禁用了TinyMCE的gzip用法。把它放在 /mysite/_config/config.yml (或那里的任何其他yml)中:
HtmlEditorField:
use_gzip: false
虽然它没有修复该错误,但您可以再次使用。
另见: https://github.com/silverstripe/silverstripe-framework/issues/3891
答案 1 :(得分:1)
之前我遇到过tiny_mce_gzip.php的问题。它是由我的php.ini中启用 zlib.output_compression 引起的。