在用了Dreamhost的主机后,在使用dedecms时遇到了这样一个问题:Dedecms 内容发布界面的文章内容编辑器提示Service Temporarily Unavailable ,无法发布和编辑内容,找了很多文章解决不了,偶尔发现了一个强人的博客上有解决办法,哈,搞定了。解决办法发出来:
Dedecms 内容发布界面的文章内容编辑器提示Service Temporarily Unavailable 的解决办法:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
原因:都是百分号惹得祸。
问题出在最后面那个%上。部分空间(像我现在用的空间就是这样)会出现这种问题。
解决思路:只要把100%进行urlencode,就不会存在这样的问题了。
解决方法:将include/htmledit/dede_editor.php文件第43行中的
$Link = “{$this->BasePath}{$File}?modetype=”.$this->ToolbarSet.”&InstanceName={$this->InstanceName}&height=”.$this->Height.”&width=”.$this->Width ;
改为:
$Link = “{$this->BasePath}{$File}?modetype=”.$this->ToolbarSet.”&InstanceName={$this->InstanceName}&height=”.$this->Height.”&width=”.urlencode($this->Width) ;
即加了一个urlencode函数。
问题解决。
1 条评论了已经
发表评论
字体为 粗体 是必填项目,邮箱地址 永远不会 公布。
允许部分 HTML 代码:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
URLs(网站链接)必须完整有效 (比如: http://www.sunbo.name),所有标签都必须完整的关闭。
超出部分系统将会自动分段及换行。
请保证评论内容是与日志或 Blog 内容相关的,灌水、攻击性或不恰当的评论 可能 会被编辑或删除。


我也出现了这个问题,但是这样改根本就改不了,向你求助一下
[回复此条评论]