原本用得好好的FCKeditor,忽然间用不了了.我做了一下测试,发现如果直接在硬盘里双击打开FCKeditor的演示文件sample01.html,比如用这个网址
file:///E:/APMServ5.2.6/www/htdocs/fckeditor/_samples/html/sample01.html能够正常显示FCKeditor的编辑界面.如下图所示
但是,当我使用以下网址打开该页面的时候,
http://localhost/fckeditor/_samples/html/sample01.htmlFCKeditor的编辑界面的编辑界面就显示不出来了,遨游左下角提示有脚步错误,如下图所示
file:///E:/APMServ5.2.6/www/htdocs/fckeditor/_samples/html/sample01.html能够正常显示FCKeditor的编辑界面.如下图所示
但是,当我使用以下网址打开该页面的时候,
http://localhost/fckeditor/_samples/html/sample01.htmlFCKeditor的编辑界面的编辑界面就显示不出来了,遨游左下角提示有脚步错误,如下图所示
我的情况相反哦.我用http://localhost/...这样的打开的话就是js错误,无法显示FCKeditor的编辑界面用文件的具体地址的话就正常.具体可以看我帖子的截图
时间戳: Wed, 4 Nov 2009 16:31:25 UTC
消息: 缺少 '}'
行: 200
字符: 3649
代码: 0
URI: http://localhost/fckeditor/editor/js/fckeditorcode_ie.js
消息: 'FCKConfig' 未定义
行: 27
字符: 1
代码: 0
URI: http://localhost/fckeditor/fckconfig.js
消息: 'FCKBrowserInfo' 未定义
行: 125
字符: 1
代码: 0
URI: http://localhost/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
消息: 缺少对象
行: 164
字符: 1
代码: 0
URI: http://localhost/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
消息: 'FCKTools' 未定义
行: 176
字符: 1
代码: 0
URI: http://localhost/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
消息: 缺少对象
行: 195
字符: 1
代码: 0
URI: http://localhost/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
消息: 'FCKLang' 未定义
行: 203
字符: 1
代码: 0
URI: http://localhost/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
消息: 'FCKBrowserInfo' 未定义
行: 270
字符: 1
代码: 0
URI: http://localhost/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
消息: 缺少对象
行: 210
字符: 2
代码: 0
URI: http://localhost/fckeditor/editor/fckeditor.html?InstanceName=FCKeditor1&Toolbar=Default
那么奇怪, 我直接打开出现和你这样的问题, 用http://localhost/...打开是正常的出现这种情况, 好明显是配置错误了, 就是fck要引用的文件没有正确配置
文件的地址是
E:\APMServ5.2.6\www\htdocs\fckeditor\_samples\php\sample01.php里面的引用是
include("../../fckeditor.php") ;