Windows系统上的ckeditor问题

发布于 2024-08-27 18:20:25 字数 293 浏览 4 评论 0原文

我遇到了麻烦,我想在我的项目中使用 Ckeditor,我有安装了 Zend Server 的 Windows(apache2、php 5.2、mysql5),编码是 utf-8。当我初始化 ckeditor 或另一个 elRTE 编辑器时,出现错误:语法错误 [中断此错误] \n 所有 html 都是有效的,如果我删除 doctype 行,脚本会在另一行中显示错误:XML 不能是整个程序... jQuery 工作正常,我认为问题出在 apache 或 php 的配置中,有人可以帮忙吗!非常感谢!

i'v got a trouble, i want to use Ckeditor with my project, i have Windows with Zend Server installed (apache2, php 5.2, mysql5), encoding is utf-8. When i initialize ckeditor or another elRTE editor i have error: syntax error
[Break on this error] \n

all html is valid, if i delete doctype line, script says that error in another line: XML cannot be the whole program...
jQuery work's fine, i think that problem is in the config of apache or php, can somebody help! Thx a lot!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

自找没趣 2024-09-03 18:20:25

您不需要写整个路径!忽略第一个 / 就足够了。表示 ck/ckeditor.js 而不是 /ck/ckeditor.js

You don't need to write the whole path! It's enough to leave the first / out. Means ck/ckeditor.js instead of /ck/ckeditor.js

难忘№最初的完美 2024-09-03 18:20:25

我发现一个问题!我包含带有短路径的 js lib,例如 - /ck/ckeditor.js ,这是错误的方式。当我将其更改为完整路径 http://site/ck/ckeditor.js 时,问题就消失了! :)

i found a problem! i include js lib with short path like - /ck/ckeditor.js , it was the wrong way. When i change it to full path http://site/ck/ckeditor.js, trouble was gone! :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文