当前位置:首页 > 服务器技术 > apache

ckeditor放在apache目录里,报错ckeditor未定义【求助】

ckeditor放在放在服务器目录里,用localhost的方式打开,调用不了,
后面试用UEditor,KindEditor,都是同要样的问题,报错 ** is undefine

但是用NicEditor,是好的,不知道为什么?


回复讨论(解决方案)

路径问题。。。

路径问题。。。


谢谢你的回答,但是应该不是路径问题,因为直接点击打开是可以的,只是放在localhost里面,用apache的方式访问就出问题。

描述得糊里糊涂的,“用apache的方式访问” 是指什么? url地址是什么?

另外,贴出完整的错误信息以供分析。

http://localhost/ckeditor/samples/replacebycode.html

用这个地址打开有问题,google浏览器下出现错误信息如下:
Uncaught SyntaxError: Unexpected token ; ckeditor.js:156
Uncaught ReferenceError: CKEDITOR is not defined

描述得糊里糊涂的,“用apache的方式访问” 是指什么? url地址是什么?

另外,贴出完整的错误信息以供分析。

http://localhost/ckeditor/samples/replacebycode.html

用这个地址打开有问题,google浏览器下出现错误信息如下:
Uncaught SyntaxError: Unexpected token ; ckeditor.js:156
Uncaught ReferenceError: CKEDITOR is not defined

这是有问题的,地址栏是:http://localhost/ckeditor/samples/replacebycode.html

这是没问题的,地址栏是:E:wampwwwckeditorsamplesreplacebycode.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!