问题描述
我用在我的网站的任何文件管理器。我选择乐声FILEMAN,因为它与CKEditor的,这是我的主要文本编辑器兼容。问题是,一切正常,当我测试它在我的本地,但它发布在服务器上后,我收到错误消息:无法显示页面,因为发生内部服务器错误。没有更多的信息...有你们的任何想法,我应该怎么办呢?
I have to use any file manager on my website. I chose Roxy Fileman, because it is compatible with CKEditor, which is my main text editor. The problem is, everything works when i test it on my localhost, but after publishing it on server I get error message: "The page cannot be displayed because an internal server error has occurred." There's no more info... Have you guys any idea what I should do?
推荐答案
我有同样的确切问题和大量的研究和诊断后,这为我工作。
I had the same exact problem and after much research and diagnosing, this worked for me.
在FILEMAN目录中,有一个web.config文件。在文本编辑器打开它,你会看到以下行:
In the fileman directory, there is a web.config file. Open it in your text editor and you will see the following line:
<staticContent>
<mimeMap fileExtension=".json" mimeType="application/json"/>
</staticContent>
从web.config中删除并保存。它是与在此配置已被设定的活的服务器上的东西发生冲突。我希望这可以帮助任何人。
Delete it from the web.config and save. It is conflicting with something on the live server where this configuration is already being set. I hope this helps anyone.
这篇关于乐声FILEMAN与CKEditor的上传到服务器后不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!