分享

写回答

发帖

[提问] dede后台问题,编辑器不加载

GoDaddy GoDaddy 2560 人阅读 | 3 人回复

发表于 2010-12-9 10:19:35 | 显示全部楼层 |阅读模式

用dedecms,安装好网站后发现后台添加文章的编辑器出现错误。如下图:
23456.jpg

提示信息为:
The page you tried to access does not exist on this server. This page may not exist due to the following reasons:

You are the owner of this web site and you have not uploaded (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, click here for FTP Upload Information.

The URL that you have entered in your browser is incorrect. Please re-enter the URL and try again.

The Link that you clicked on incorrectly points to this page. Please contact the owner of this web site to inform them of this situation.



正常状态应该如下图所示:

123456.jpg


系统安装在二级域名下的子目录中。


请问各位大侠,这个是什么问题啊,该怎么解决?





.

回答|共 3 个

add.c

发表于 2010-12-9 10:43:24 | 显示全部楼层

用袋里试试呢?
RAKSmart

semz

发表于 2010-12-9 11:55:50 | 显示全部楼层

回复 2# 的帖子

网站能够正常访问,ip正常没有被墙

但是编辑器用不了

semz

发表于 2010-12-9 14:21:34 | 显示全部楼层

我自己解决了。主要是因为安装在二级域名子目录下,并且添加文章的代码引用编辑器的路径是相对路径。只要更改了路径就能够正常显示。
方法如下:
1. 打开后台管理文件夹,默认(dede),找到templets文件夹,更改article_add.htm文件
2. 找到article_add.htm中的
<?php
        GetEditor("body",$body,450);

             ?>

去掉这段代码,加入下面的代码:
<INPUT type="hidden" name="body" id="body" value="">
      <iframe scrolling="no" width="100%" height="450" frameborder="0" src="http://aaa.abc.com/def/dede/include/FCKeditor/editor/fckeditor.html?InstanceName=body&amp;Toolbar=Basic" id="body___Frame"></iframe>

加红色的部分为绝对地址。

改好后就可以了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则